Re: Combine ipv4 and ipv6 in a set

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

 



Dňa 30. januára 2024 15:17:32 UTC používateľ Kerin Millar <kfm@xxxxxxxxxxxxx> napísal:

>Granted, one cannot create a set that is typed in such a way that an element can be either an IPv4 or IPv6 address/interval. 

Nowadays IPv6 becomes more and more common. While allmost all
can stay on IP(v4) only host, not all can use IPv6 only host (yet, as many
services are still IPv4 only). In other words, many will have dual stack,
to can access (or be accessible for) all and they will need dual stack FW,
and IMO will need it for many years.

Having separate support for IPv4 and IPv6 was acceptable at time, when
ip6tables was born, but nowadays IMO firewall cannot be named modern,
if any of its part separates that. And any argument (memory, complexity,
etc) against it is pointles, as dual stacks are (and will be) here.

Nftables now has inet family, that is great step from iptables. But still
requires to maintain separate rules in it for anything with network layer
address, eg. mentioned sets (and for icmp/icmp6 too). I hope, that it
is temporary state only and will be improved soon.

regards


-- 
Slavko
https://www.slavino.sk/





[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