Re: How to use concatenation ipv4_addr . inet_proto . inet_service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, when I wrote "It works" - it means "no error has been throwed".

Perhaps, it would be better to implement something like "... ip daddr . ip protocol . protocol dport @xyz ..."

As workaround we can use (in most cases it is the preferable way):
"... ip daddr . tcp dport @xyz_tcp ..."
"... ip daddr . udp dport @xyz_udp ..."

But because DNS has TCP extension for big answers - we should repeat same rules ("1.2.3.4 . 53") in both sets.

It is really funny: you can create a set with concatenated ip:proto:port, but you can not use it :)

Vladimir Khailenko





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux