bugzilla-daemon at netfilter.org
2017-Aug-16 13:17 UTC
[Bug 1169] New: Bug in altering IP TTL field of a packet?
https://bugzilla.netfilter.org/show_bug.cgi?id=1169
Bug ID: 1169
Summary: Bug in altering IP TTL field of a packet?
Product: nftables
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
Reporter: berend at kubusje.nl
When I try to set the IP TTL field to a certain number with a rule it
doesn't
change the TTL field but it changes the PROTO field.
This is the rule:
oifname eno2 ip daddr 136.144.X.X ip ttl 1-63 ip ttl set 64 nftrace set 1 log
prefix "TTLTEST "
This is in the log file:
Aug 16 15:08:58 name kernel: TTLTEST IN= OUT=eno2 SRC=217.100.X.X
DST=136.144.X.X LEN=64 TOS=0x10 PREC=0x00 TTL=63 ID=32700 DF PROTO=64
So this seems like a bug to me.
Altering other IP/TCP fields like dport or sport as documented on the following
link works fine:
https://wiki.nftables.org/wiki-nftables/index.php/Mangle_packet_header_fields
Thanks in advance.
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170816/ebba3bcc/attachment.html>
bugzilla-daemon at netfilter.org
2017-Aug-16 14:10 UTC
[Bug 1169] Bug in altering IP TTL field of a packet?
https://bugzilla.netfilter.org/show_bug.cgi?id=1169
Florian Westphal <fw at strlen.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|pablo at netfilter.org |fw at strlen.de
Status|NEW |ASSIGNED
CC| |fw at strlen.de
Severity|enhancement |major
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170816/744b4da9/attachment.html>
bugzilla-daemon at netfilter.org
2017-Aug-16 16:59 UTC
[Bug 1169] Bug in altering IP TTL field of a packet?
https://bugzilla.netfilter.org/show_bug.cgi?id=1169 --- Comment #1 from Florian Westphal <fw at strlen.de> --- Created attachment 505 --> https://bugzilla.netfilter.org/attachment.cgi?id=505&action=edit proposed patch i will submit this to mailing list soon, it fixes the bug for me. -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170816/e7e8c645/attachment.html>
bugzilla-daemon at netfilter.org
2017-Aug-17 10:42 UTC
[Bug 1169] Bug in altering IP TTL field of a packet?
https://bugzilla.netfilter.org/show_bug.cgi?id=1169
Florian Westphal <fw at strlen.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170817/1a05b0ba/attachment.html>