PIX 7.0 error 710005.

Feb 16, 2006 5 Replies

Hello guys,



sometimes the VPN between to PIXes (525e and 515e) goes down. What can I see is the following error message on 515



%PIX-7-710005: UDP request discarded from /4500 to outside:192.168.69.137/4500 %PIX-6-302016: Teardown UDP connection 1420099 for outside:/4500 to NP Identity Ifc:192.168.69.137/4500 duration 0:01:47 bytes 0 %PIX-6-609002: Teardown local-host outside: duration 0:01:47 %PIX-6-609001: Built local-host outside: %PIX-6-302015: Built inbound UDP connection 1420105 for outside:/4500 (/4500) to NP Identity Ifc:192.168.69.137/4500 (192.168.69.137/4500) %PIX-7-710005: UDP request discarded from /4500 to outside:192.168.69.137/4500 %PIX-6-302016: Teardown UDP connection 1420105 for outside:/4500 to NP Identity Ifc:192.168.69.137/4500 duration 0:00:00 bytes 0 %PIX-6-609002: Teardown local-host outside: duration 0:00:00 %PIX-6-609001: Built local-host outside: %PIX-6-302015: Built inbound UDP connection 1420106 for outside:/4500 (/4500) to NP Identity Ifc:192.168.69.137/4500 (192.168.69.137/4500) %PIX-7-710005: UDP request discarded from /4500 to outside:192.168.69.137/4500 %PIX-6-302016: Teardown UDP connection 1420106 for outside:/4500 to NP Identity Ifc:192.168.69.137/4500 duration 0:00:00 bytes 0



Cisco reports this explanation for 710005 error:



"This message appears when the firewall does not have a UDP server that services the UDP request"



Does it means that no UDP server is listening to on the 4500 port? Does it mean that the IPsec server has gone down? How can investigate more deeply?



The VPN works well and quickly when it is up. The 525 can establish the VPN towards 515 and the opposite as well. Each device is behind a route doing NAT but as I told you most of the time



One of the "router" is a Linux box and the outage varies from 1 hour to 3 hours before the VPN is re-established.



The same thing (even if not perfectly the same) happens with another linux box but this one terminates the tunnel. Any idea or suggestion?



Alex.



Trying enabling isakmp keepalives.

Since the PIX UDP default teardown time is 2 minutes, try setting keepalive to 60 seconds

isakmp keepalive 60

Thanks Merv.

so imagine the PIX525 initiates the VPN but after that there's not traffic. The teardown starts to count after the last packet received. If in 2 minutes no other traffic is received by PIX515E it closes the tunnel. It was expected to warn the other side (the 525) about the close of the connection.

How does effectively it work? Is there any link?

Thanks,

Alex.

Do not understand your question.

Do you want the tunnel to remain up when there is no VPN traffic between the two PIX's ?

That isn't how timeouts work in IPSec.

When you negotiate an IPSec tunnel, the isakmp phase 1 policy "lifetime" gives you the initial period that a tunnel will stay up. At the end of that period, the security gateway will look to see if there was *any* traffic over the tunnel during the previous interval. If there was *any* traffic, then the tunnel will be renewed (a new session key negotiated) for the same amount of time. At the end of that time (now twice the lifetime value), it looks to see if there was traffic, renews for the same interval if so, and lets the tunnel expire if there was no traffic.

The algorithm doesn't care how long ago the detected traffic was, just that there was *some* traffic during that session validity.

Because it always takes traffic in order to initiate a tunnel, the minimum time a tunnel will be up will be twice the isakmp lifetime.

Thus, your scenario of closing the tunnel after 2 minutes would only happen if your isakmp lifetime was set for 1 minute.

The isakmp keep-alive is there to solve a different problem.

isakmp uses UDP 500; UDP 4500 as well if you are using NAT-T. The security gateway itself will keep that UDP 500 and UDP 4500 open for the appropriate isakmp lifetime period: the normal 2 minute UDP lifetime is there for traffic *through* the PIX, not traffic the PIX is generating, since the PIX knows what the state of the IPSec connection is. So the keep-alive is not needed for plain tunnels.

But if you are going through another layer of security gateway between the two security endpoints, then -that- layer doesn't know that the UDP 500 and UDP 4500 need to be kept open, so the intermediate security gateway might time out it's idea of whether UDP 500 and UDP 4500 should be allowed through. You could get around that by adjusting the intermediate security gateway(s) to statically allow UDP 500/4500 traffic, but you might well not control those intermediate security gateways. In that case, what you need is an isakmp keep-alive pushing a trickle of traffic through the link so that those intermediate security gateways don't shut down your VPN's transit rights.

To repeat: isakmp keep-alive does not have to do with -you- (your PIX) keeping it's idea of the tunnel active: isakmp keep-alive has to do with making sure that filters in the middle that you don't control leave the session path open.

So, as the scenario is

525---cisco router-----------------Linux box----515E

and the 515E is discarding UDP 4500 packets I need to check out what are default NAT expirations for both the cisco router and the Linux box.

And however I need to lower the keepalive on the 525 not on the 515 so the UDP entries ("static NAT" with iptables) that the Linux box has don't expire.

Ok now,

which are the NAT timeouts for a cisco router (or how to see that?) and what about the same issue on the Linux boxes (iptables)?

Thaks a lot to everybody,

Alex.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required