Joel E. Carlson wrote:
> On Thu, May 16, 2002 at 12:23:08PM -0700, Phil Dibowitz wrote:
>
>>See RFC 1191, it says that overzelous administrators blocking ICMP 3/4 are
>>*BREAKING THE INTERNET*
>>
>>Also see the MSS Initiative: http://home.earthlink.net/~jaymzh666/mss/
>>
>>Phil
>>
>>
> On my site, I use the following rules for icmp. From what I have read
> on your site, I should be okay in regards to MSS. Yes?
>
> block in log on interface proto icmp all
> pass in on interface proto icmp from \
> any to ip icmp-type echo
> pass in on interface proto icmp from \
> any to ip icmp-type echorep
Nope. Echo is 8, and Echoreply is 0. You need *either*
pass in on interface proto icmp from any to ip icmp-type 3 code 4
****NOTE: off hand I don't remember the syntax for imcp-codes in IPF, so
verify that syntax
*OR* you need (if you have a webserver)
pass in on interface proto tcp from any to ip port = 80 keep state
^^^ ^^^^^^^^^^^
Because keep state will allow the apropriate ICMP's back in. I don't
explicitly let any ICMP's in - but I implicitly let them in with keep state on
inbound ssh and www.
Phil
--
"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
-Benjamin Franklin, 1759