libiptc
Hello netfilter-devel,
How with the libiptc to work with ports? (i.e. source-port or dest-port)? If it is impossible, what to use?
Signature · 3 lines
Best regards, Alex
Quoted 2 lines · eremin
How with the libiptc to work with ports? (i.e. source-port or dest-port)? If it is impossible, what to use?
Use iptables / iptables-restore, not libiptc.
For details how libiptc works with ports see the source of the tcp/udp modules or any other match module working with ports. ports is not a primitive in iptables and is implemented via protocol dependent matches (extensions directory).
Regards
Henrik