LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-27-2010, 03:20 AM   #1
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Missing UDP fragment


Howdy,

We've a huuuuuuuuuuuuuuuuuuuge problem in that a VPN we're trying to establish is failing the Phase 1 exchange apparently due to a consistently missing UDP fragment which is not being recieved by our firewall. It seems it's being lost in either our ISP or our Peer ISP's AS.

Any recommendations on wtf we can do to try and find the issue? I'd expect Backtrack would contain some decent tools to do a really fscking good UDP traceroute with a large payload between the two peer IP addresses. Any one know of the right tool for the job?
 
Old 03-27-2010, 05:09 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I don't know anything about TCP, but why the hell would it be using UDP for an exchange ?. Aren't lost packets "ho-hum" for UDP ?.
 
Old 03-27-2010, 06:42 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Does a 'tracepath' between endpoints show any PMTU problems? If you say "large payload" then anything over the MTU along the path will get DF set (even if some device along the path doesn't handle it correctly), right? You say "consistently". Do you have a (tcpdump/wireshark) fix on which fragment gets lost? Does the problem only occur with VPN data (as in IDS-like scrubbing)? If you use say 'nemesis' with UDP payload less than say 1300 (and have endpoints MTU 1300?) get frags assembled OK? And maybe a stupid question but since you're a paying customer, would your service provider be inclined to help?
 
Old 03-27-2010, 04:16 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
We can't see any problems at all other than this one fragment missing. Apparently our partner reduced their MTU to 1400 (which we can't prove, and possibly doubt) and we saw no change. We can routinely see a missing fragment every minute, exactly the same one, and we have also confirmed that the fragment is leaving out peer correctly. But quite how this woudl ever get tracked down is beyond me. nemesis does look to be a good bet and will try and persue that though, a committee of managers are currently preventing any useful progress though!
 
Old 03-27-2010, 05:50 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by acid_kewpie View Post
We can't see any problems at all other than this one fragment missing. Apparently our partner reduced their MTU to 1400 (which we can't prove, and possibly doubt) and we saw no change. We can routinely see a missing fragment every minute, exactly the same one, and we have also confirmed that the fragment is leaving out peer correctly. But quite how this would ever get tracked down is beyond me.
Crap. The reason why I asked if you knew if it was a specific packet in sequence every time was because if things get fragmented some routers have problems (as only earlier packets will have the headers) linking up the frag and consequently refuse to send it on. Stuff getting lost en route doesn't look like something you'd comfortably troubleshoot yourself. Maybe prod your provider to open a ticket with their provider slash carrier? I spose there's no client in same ASN space on an approximate route where things work OK, and all your other client tunnels work OK, right? BTW, what VPN solution are we talking about hardware or software?


Quote:
Originally Posted by acid_kewpie View Post
a committee of managers are currently preventing any useful progress though!
ROTFL. That's an original way of saying it's weekend...
 
Old 03-27-2010, 07:35 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Our carrier and the peers, which apparently have a direct interface on their respective AS's are being a little useful, more so than you'd expect based on the subtlety of the issue. We're on an ipsec VPN, which has been fine for a year. Now we have the very same ultra repeatable issue every minute...

And you know, it's not a weekend for us this weekend. Our partner (who we are massively closely connected to in terms of the whole point we both exist) shut up shop friday 6pm, despite them blatantly needing to stay involved. And the wife isn't happy with me.
 
Old 03-27-2010, 07:50 PM   #7
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
May I also ask, what OS on your client side?
 
Old 03-27-2010, 08:22 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well this is hardware firewalls, Juniper to PIX
 
Old 03-27-2010, 08:49 PM   #9
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Cisco with Juniper. They should like each other.
So, if it is really big problem and you or anyone really want to fix it quickly, I can suggest only one way.
You need to find another way to connect them. For example another ISP, or just bring one to other.
You need to exclude ISP.
If there was not changes in configuration on both of them, it can be ISP.
 
Old 03-27-2010, 09:04 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Oh they DO like each other, it's been fine for a year, and we know the traffic is going awol on the way. The irony here is that this was done as a vpn as it was cheaper than a leased circuit. Business impact means this is about 10000 times more expensive than a piddly kilostream circuit!
 
Old 03-27-2010, 09:24 PM   #11
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Other thing you can easily do is to connect two LINUX computer instead of this firewalls and ping each other to see if will be any data loss. It can give you idea about entire condition.
 
Old 03-28-2010, 10:22 AM   #12
bertiebassett
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
I may be going back to basics but....

Quote:
Originally Posted by acid_kewpie View Post
Well this is hardware firewalls, Juniper to PIX
Have you checked if the "evil" bit is set?

Last edited by bertiebassett; 03-28-2010 at 10:26 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does EXT2/# Fragment? sirclown82 General 6 03-13-2007 08:51 PM
UDP: Short Packets: and UDP bad checksum: entries in dmesg minutes2memories Linux - Networking 2 02-26-2006 07:28 PM
Any use for fragment shader HW under Linux? randomshinichi Linux - Software 0 09-28-2005 08:41 AM
How to receive UDP and ICMP packets, by one UDP socket(PMTUD) myself_rajat Linux - Networking 0 05-28-2004 05:43 AM
Suspect TCP fragment aimstr8 Linux - Networking 0 10-23-2002 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration