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 02-02-2011, 06:54 AM   #1
vdx
Member
 
Registered: Aug 2007
Location: The Greate INDIA
Distribution: CentOS, RHEL, Fedora
Posts: 102

Rep: Reputation: 24
Unhappy UDP: bad checksum. From x.x.x.x:1234 to y.y.y.y:1234 ulen 100


Dear friends,

I am getting the following error sometimes while getting the RTP packets.

Code:
UDP: bad checksum. From <ip>:<port> to <ip>:<port> ulen 136
UDP: bad checksum. From <ip>:<port> to <ip>:<port> ulen 40
UDP: bad checksum. From <ip>:<port> to <ip>:<port> ulen 136
any idea ? (I am using centsOS-5.3, kernel-2.6.33.6)
 
Old 02-03-2011, 10:11 AM   #2
hogar.strashni
Member
 
Registered: Dec 2007
Distribution: cp6
Posts: 44

Rep: Reputation: 2
Hi,

I haven't been introduced to RTP(Real-time Transfer Protocol), so I searched wikipedia for the answer and this is what I found.
Quote:
The Transmission Control Protocol (TCP), although standardized for RTP use, is not normally used in RTP application because TCP favors reliability over timeliness. Instead the majority of the RTP implementations are built on the User Datagram Protocol (UDP)
According to this, I guess what's troubling you is why it uses UDP, and not TCP. Well, I just wrote you the answer - it is implemented so to favor timeliness over reliability. For further reading you may follow my way and ask wikipedia. I presume you'll find the chapter "OVERVIEW" most informative one.

If you're asking why are your packets experiencing problems, and having bad checksums, it could be for various reasons. What I'm going to say now relies on the fact that you said it happens SOMETIMES.
Those corrupted packets could be product of someone's bad intentions, but as well, could be just regular packets that were exposed to interference of any kind(trams/electrical trains passing by your home etc.). After all, that's what the checksums are for - to check if packets were corrupted during transport. At the and I would like to add, I think that, what you are experiencing is normal and I doubt it is anyone's malicious intention.

If it's happening all too often, and significantly reducing your throughput, you should contact your ISP to help you reduce the interference.

Last edited by hogar.strashni; 02-03-2011 at 10:45 AM.
 
Old 04-14-2011, 06:21 AM   #3
vdx
Member
 
Registered: Aug 2007
Location: The Greate INDIA
Distribution: CentOS, RHEL, Fedora
Posts: 102

Original Poster
Rep: Reputation: 24
thnx a lot hogar.strashni

My prob is resolved. It was caused by router itself.
anyways, thnx for the reply.
 
Old 11-30-2013, 03:43 AM   #4
duybangvt
LQ Newbie
 
Registered: Nov 2013
Posts: 1

Rep: Reputation: Disabled
bad checksum. From <ip>:<port> to <ip>:<port> ulen 856

Dear vdx,

Could you share me the cause of your router, and how to you fix it! Because i have a error same your error.

thanks,
 
  


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
UDP Checksum Algorithm mattd9 Linux - Networking 5 11-24-2010 05:02 AM
Enable UDP checksum rafismx Linux - Newbie 0 02-29-2008 06:44 PM
UDP checksum icortazar3 Linux - Networking 1 12-19-2007 02:13 AM
UDP: Short Packets: and UDP bad checksum: entries in dmesg minutes2memories Linux - Networking 2 02-26-2006 07:28 PM
subseven port 1234 firewall hits haknot Linux - Security 5 01-31-2002 09:16 AM

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

All times are GMT -5. The time now is 07:31 PM.

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