LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 04-17-2020, 11:07 AM   #1
z_haseeb
Member
 
Registered: Jun 2008
Posts: 137

Rep: Reputation: 1
Tcp offloading --- incorrect checksum


I am able to telnet on a port at remote machine. However, I am unable to send packets on a connected socket. I run the command (ethtool -k rx off tx off) and then I am able to send packets on same connected socket and then application working accurately.

My Query is, why I need to off rx and tx ?

Last edited by z_haseeb; 04-17-2020 at 11:19 AM.
 
Old 04-18-2020, 04:28 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
There's not enough information.

Disabling checksums is the answer for now.
 
Old 04-18-2020, 08:18 AM   #3
z_haseeb
Member
 
Registered: Jun 2008
Posts: 137

Original Poster
Rep: Reputation: 1
Thanks for your words rtmistler

How can we troubleshoot the packets travel on a connected socket ?

Disabiling checksum have put any impact on socket usually ?

When we disable the checksum, then does cpu calculate checksum ?
 
Old 04-18-2020, 08:52 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by z_haseeb View Post
Thanks for your words rtmistler

How can we troubleshoot the packets travel on a connected socket ?

Disabiling checksum have put any impact on socket usually ?

When we disable the checksum, then does cpu calculate checksum ?
  1. Use a network sniffer
  2. No
  3. Not unless the protocol stack was written poorly
What I meant by there's not enough information is that you don't describe exactly what's not working, and how you know what isn't working. You also don't indicate whether you're using a custom program or something standard.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check TCP Offloading via tcpdump gurl4sh25 Linux - Networking 4 02-07-2012 03:22 PM
[SOLVED] Help needed disabling TCP/UDP checksum offloading in Debian brokenpromises Linux - Networking 5 05-16-2011 03:54 PM
LXer: Disabling checksum offloading at install OSOL 2009.06 PV DomU on Xen 3.4.1 Ubun LXer Syndicated Linux News 0 07-19-2009 11:20 AM
LXer: Disabling checksum offloading at install OSOL 2009.06 PV DomU on Xen 3.4.1 Ubun LXer Syndicated Linux News 0 07-19-2009 10:50 AM
tcp checksum incorrect x1228 Programming 1 09-11-2006 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 02:50 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