看板FB_security
标 题Re: IPFW and icmp
发信站NCTU CSIE FreeBSD Server (Fri Sep 3 00:58:58 2004)
转信站ptt!FreeBSD.csie.NCTU!not-for-mail
Dave wrote:
>I'm not a master of the internet RFCs, but I do believe icmp messages have
>different types.
>
>Now to enable traceroute for IPFW, I might put in a rule like this:
>
>ipfw add pass icmp from any to me
>
>However, how would I make a rule to limit icmp messages to just those used
>by traceroute? Can the messages be distinguished as such?
>
>
>
I use, thus far, "allow icmp from any to any icmptypes 0,3,4,8,11". That
include 'echo request', of course. Someone else may have a better idea.
>A dynamic rule that exists only for the duration of a traceroute execution
>would be even better. I take it 'setup' or 'check-state' would follow in
>that case?
>
>
>
Seems likely. *sigh* one more manpage to read.... ;-)
Kevin Kinsey
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"