networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Tue Apr 24, 2012 1:47 am 
Offline
Junior Member
Junior Member

Joined: Wed Dec 10, 2008 6:09 am
Posts: 85
HI All,

I need to allow traceroute traffic through ASA running version 8.0.2.
This traffic is natted.
what configuration is required on ASA to allow this natted traceroute traffic.
Traffic is coming from inside and going outside.
Also can we capture this traceroute traffic on asa using capture feature.

Thanx
harry


Top
 Profile  
 
PostPosted: Tue Apr 24, 2012 1:54 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12433
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
Traceroute protocols will depend on the application making the request. Windows sends ICMP ECHOs with low TTLs, and it expects ICMP Time Exceeded messages coming back, followed by an ICMP echo reply from the final destination.

Nix clients, including OSX, routers and the like will send UDP packets with a ephemeral source and destination port. They would expect ICMP Time Exceeded messages followed by an ICMP Port Unreachable message from the final destination.

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
PostPosted: Tue Apr 24, 2012 2:10 am 
Offline
Junior Member
Junior Member

Joined: Wed Dec 10, 2008 6:09 am
Posts: 85
Thanks for your instant reply.

so this way for windows machines,

I need to allow icmp echo reqest (8) traffic on inside interface of asa and icmp time exceed (11) and icmp echo reply (0) on outside interface.

Is this the only configuration required to allow tracert traffic for windows machines?

what capture i need to draft for capturing this traffic on asa?

Thanx.


Top
 Profile  
 
PostPosted: Tue Apr 24, 2012 2:21 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12433
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
No idea about the ASA unfortunately as I don't use them.

But yes your ports are correct. I would of course test to make sure.

It's generally not a good idea to block most of the ICMP messages anyway as it can break a number of things like mtu path discovery and the like.

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
PostPosted: Tue Apr 24, 2012 3:52 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Oct 14, 2010 4:39 am
Posts: 1003
Certs: CCNP (R&S, Security), ITILv3 Foundation
Capturing packets on the ASA:
http://www.cisco.com/en/US/products/ps6 ... edd6.shtml


Top
 Profile  
 
PostPosted: Tue Apr 24, 2012 6:32 am 
Offline
Senior Member
Senior Member
User avatar

Joined: Fri Sep 02, 2011 6:59 am
Posts: 362
Location: Birmingham, UK
Certs: CCNA, CCNP
mellowd wrote:
Nix clients, including OSX, routers and the like will send UDP packets with a ephemeral source and destination port. They would expect ICMP Time Exceeded messages followed by an ICMP Port Unreachable message from the final destination.
Ha. never knew that, always thought all traceroutes use low TTL.


Top
 Profile  
 
PostPosted: Tue Apr 24, 2012 7:42 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12433
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
Agent Zed wrote:
mellowd wrote:
Nix clients, including OSX, routers and the like will send UDP packets with a ephemeral source and destination port. They would expect ICMP Time Exceeded messages followed by an ICMP Port Unreachable message from the final destination.
Ha. never knew that, always thought all traceroutes use low TTL.


It'll still use low TTL's so it gets TIME Exceeded for each L3 device on the way. But yes they use UDP packets instead of ICMP ECHOs

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
PostPosted: Tue Apr 24, 2012 8:29 am 
Offline
Junior Member
Junior Member

Joined: Wed Dec 10, 2008 6:09 am
Posts: 85
I made capture for capturing tracert data on asa. for this I made test acls for both in & out cap for both the interfaces. these acl's allow both ip & icmp traffic from any to any.

After applying these captures on the asa interfaces I ran tracert command on window machine n checked for output wth show capture name. buth i have not received any out put.

when i ran ping command for same Ip I got output of echo request and echo reply.

Now I am not clear where i was wrong.
so what shoud be capture config for tracert data to get output.

Thankx


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 1:56 am 
Offline
Junior Member
Junior Member

Joined: Wed Dec 10, 2008 6:09 am
Posts: 85
HI,

please help me in creating right capture for capturing traceroute traffic of windows macnine on asa.

Thanx


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 7:52 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8298
Location: Frederick MD
Certs: Instanity
access-list inside_test permit icmp any any
capture capin access-list inside_test interface inside

do your testing

show capture capin
to see traffic results

to remove

no capture capin
no access-list inside_test

_________________
"If you're good at anticipating the human mind. It leaves nothing to chance."
-Jigsaw


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 1:35 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Mon Oct 06, 2008 8:01 am
Posts: 669
Certs: CCNA,CCNP
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a0080094e8a.shtml


Top
 Profile  
 
PostPosted: Wed Jul 18, 2012 3:48 pm 
Offline
New Member
New Member

Joined: Thu Apr 05, 2012 8:51 pm
Posts: 8
Certs: CCNA
enter
conf t
fixup protocol icmp


Top
 Profile  
 
PostPosted: Wed Jul 18, 2012 5:05 pm 
Offline
Senior Member
Senior Member
User avatar

Joined: Thu Nov 17, 2011 6:09 pm
Posts: 487
Location: Portland, OR
ronydc86 wrote:
enter
conf t
fixup protocol icmp


"fixup" is deprecated PIX code. The ASA uses inspection policies:

Code:
policy-map global_policy
 class inspection_default
  inspect icmp


You would still need to allow the ICMP traffic on your ACL's.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: carfret and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group