<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:daniel@iogearbox.net" title="Daniel Borkmann <daniel@iogearbox.net>"> <span class="fn">Daniel Borkmann</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xt_bpf completely broken with kernel 4.3"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1048">bug 1048</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>daniel@iogearbox.net
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xt_bpf completely broken with kernel 4.3"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1048#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xt_bpf completely broken with kernel 4.3"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1048">bug 1048</a>
              from <span class="vcard"><a class="email" href="mailto:daniel@iogearbox.net" title="Daniel Borkmann <daniel@iogearbox.net>"> <span class="fn">Daniel Borkmann</span></a>
</span></b>
        <pre>(In reply to blaffablaffa from <a href="show_bug.cgi?id=1048#c0">comment #0</a>)
<span class="quote">> It appears that xt_bpf isn't functioning at all. For example:

> iptables -A INPUT -p udp -m bpf --bytecode "`tcpdump -i lo -ddd udp | tr
> '\n' ,`" -j LOG

> should log all UDP packets, but it logs none because -m bpf never matches.</span >

You may want to check out nfbpf_compile and bpf_asm:

  * nfbpf_compile:
<a href="http://git.netfilter.org/iptables/commit/?id=1ac30c97c339957b6e3c5cf571de7bc38c827730">http://git.netfilter.org/iptables/commit/?id=1ac30c97c339957b6e3c5cf571de7bc38c827730</a>

  * bpf_asm: kernel tree under tools/net/

On which interface is iptables running? Does RAW linktype work for you?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>