Walter Roberson
Guest
|
Posted:
Wed Dec 15, 2004 10:23 pm Post subject:
Re: filtering icmp by code on access-lists |
|
|
In article <e4bd0b58.0412150603.302139b1@posting.google.com>,
fradeljuka <fradeljuka@yahoo.de> wrote:
:i have the assignment to filter icmp traffic from outside (companys
:wan) to inside (companys lan) an every cisco wan router in my companys
:locations.
:ping and traceroute MUST work any longer.
:in cause of this i will enhance the existing outgoing access-lists on
:the lan interface with the following commands.
outgoing access-lists do not affect any packet generated by
the router itself, unless you take special steps to ensure that it
does (which might not be available on all devices.)
:# this is how i want to filter icmp
:ip access-list 100 permit icmp any any echo
:ip access-list 100 permit icmp any any echo-reply
and you later indicate not wanting to receive icmp unreachable
messages. If that is your assignment, then you should object to
it, as it is bad networking practice! You are breaking
Path MTU Discovery (PMTUD) if you do not allow through
icmp unreachable fragmentation-needed.
NB: on many cisco devices, to get rid of icmp unreachable
messages, you would configure no icmp unreachables at the
interface level.
--
Entropy is the logarithm of probability -- Boltzmann |
|