<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Bug in altering IP TTL field of a packet?"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1169">1169</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Bug in altering IP TTL field of a packet?
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>nft
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>berend@kubusje.nl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
<a href="https://wiki.nftables.org/wiki-nftables/index.php/Mangle_packet_header_fields">https://wiki.nftables.org/wiki-nftables/index.php/Mangle_packet_header_fields</a>

Thanks in advance.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>