Igalia / pflua

Packet filtering in Lua
Other
313 stars 39 forks source link

ip6 with a v4 address should emit a parse error #260

Open takikawa opened 7 years ago

takikawa commented 7 years ago

Here's an example showing the difference between tcpdump and pflua:

$ pflua-compile 'ip6 net 178.79.151.0'
return function(P,length)
   return false
end

$ tcpdump -d 'ip6 net 178.79.151.0'
tcpdump: 'ip6' modifier applied to ip host