by brant » Sat Aug 25, 2007 12:01 pm
You can set up rate-based firewall rules with iptables. Time-based access can be granted by other means (/etc/login.defs maybe). There is also an owner module for iptables, which matches connections to users. grsecurity's RBAC system is pretty static once it's in place. Application of RBAC would help to ensure that your privileged users only have access to what they specifically need, and can greatly tighten system security. This goes for all other running processes as well. Socket restrictions can deny any of the following, which is based upon groups you set up:
server sockets
client sockets
all sockets
It might be advisable to deny server sockets, but this will prevent things like `nslookup` from being run. Client socket denials will prevent users from connecting at all. ;)