Restricting ICMP
Mark
admin at asarian-host.net
Mon Aug 11 17:22:46 PDT 2003
Hello,
Is there a way I can use ipfw to disallow ICMP from anyone, but root?
(FreeBSD 4.7R) I tried this:
${fwcmd} -q add 4 allow icmp from any to any icmptype 0,3,8,11 in via
${outside}
${fwcmd} -q add 4 allow icmp from any to any uid root
${fwcmd} -q add 4 deny log icmp from any to any
But that, obviously, does not do what I want it to, as it keeps denying
everything going out. It may not even be possible to restrict ICMP that way,
but it never hurts to ask. :)
Thanks.
- Mark
More information about the freebsd-questions
mailing list