Hacker News new | past | comments | ask | show | jobs | submit login

For those who don't know about uid-owner. Here's how you would block any process running as the "mike" user from accessing anything on localhost:

iptables -A OUTPUT -m owner --uid-owner mike -d 127.0.0.0/8 -j REJECT

ip6tables -A OUTPUT -m owner --uid-owner mike -d ::1 -j REJECT




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: