For role_allow_ip, bind, connect, logging etc.
For example, I have in my policy following for some subject:
- Code: Select all
bind 0.0.0.0/32:0 dgram udp
connect 192.168.200.254/32:53 dgram udp
connect 192.168.200.254/32:53 stream tcp
and it works for IPv4 limiting access to just one DNS server. I've found out that in 2.2.1 I need
- Code: Select all
sock_allow_family inet6
in order to allow IPv6 to be used, but I don't know if it is possible to use /etc/grsec/policy to limit IPv6 access as it is possible for IPv4.
Since IPv6 is going to become more interesting now central IANA IPv4 pool is depleted (http://www.nro.net/news/ipv4-free-pool-depleted), and first RIRs may be running our of their pools already in 3-6 months, we'd like to set up IPv6 support in place. Which works fine, except we seem to lose ability for limiting IP access in grsec policy (which is pity).