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 07-12-2017, 05:18 AM   #16
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Cool


Quote:
Originally Posted by gbcbooks View Post
yes , application layer is custom , we developer they only care application layer , layer 4 will be completed by kernel or protocol stack .

this two machine exist in two IDC
That's what I suspected it's a custom application. Then I guess you need to work with your developer as well. Then switch and the router OS is your custom app, as well?

Last edited by JJJCR; 07-12-2017 at 05:20 AM. Reason: edit
 
Old 07-13-2017, 08:25 PM   #17
gbcbooks
Member
 
Registered: Aug 2014
Posts: 199

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JJJCR View Post
That's what I suspected it's a custom application. Then I guess you need to work with your developer as well. Then switch and the router OS is your custom app, as well?
i don't understand "Then switch and the router OS is your custom app, as well?"

anyway , i am going to repeat this phenomenon, i will use scapy to send each sender's datagram in the capture file by manual , and see what happen on the receiver .
 
Old 07-13-2017, 09:30 PM   #18
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Quote:
Originally Posted by gbcbooks View Post
i don't understand "Then switch and the router OS is your custom app, as well?"

anyway , i am going to repeat this phenomenon, i will use scapy to send each sender's datagram in the capture file by manual , and see what happen on the receiver .
I mean your NOS, whether you create it by yourself or your team.

The round-trip-timer for the packet have you considered it? Maybe frame collision.
 
Old 07-16-2017, 09:23 PM   #19
gbcbooks
Member
 
Registered: Aug 2014
Posts: 199

Original Poster
Rep: Reputation: Disabled
i use python scapy to repeat that capture file to make the device send that packet again , all the sender's TCP SEQ will follow what they were , the receiver's TCP SEQ will be different because of TCP protocol stack will initiate a different SEQ number , but it is not affect the result .
Click image for larger version

Name:	239.PNG
Views:	24
Size:	49.8 KB
ID:	25479
.144 , the receiver response a ACK 23058637730, and TCP session considerate it is correct , the no more TCP restransmission and TCP still waitting for the next packet . every thing is working fine.

but now , the question become , what makes it caculate a incorrect ACK number . i think it is a low tech mistake for a OS as a mature protocol which is working for over 20 years .
 
Old 07-17-2017, 02:20 AM   #20
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Well, you could be right. Have you tried same scenario with another OS? If it works fine, then I guess it's not the OS.
 
Old 07-17-2017, 02:46 AM   #21
gbcbooks
Member
 
Registered: Aug 2014
Posts: 199

Original Poster
Rep: Reputation: Disabled
program only work on Linux , we are still testing on another kernel version .
 
Old 07-17-2017, 07:33 AM   #22
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Lightbulb

Quote:
Originally Posted by gbcbooks View Post
program only work on Linux , we are still testing on another kernel version .
That's a good idea to confirm which one is the culprit.
 
  


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
TCP - ACK frequency meir129 Linux - Networking 2 04-08-2014 01:01 PM
How long before TCP ack's timeout and36y Linux - Networking 1 10-13-2010 11:53 AM
Linux change TCP kernel Parameter for TCP DELAY ACK TICKS linux_mando Linux - Networking 5 08-22-2006 08:20 AM
Disntiguishing between ACK packets in a TCP connection!! vishamr2000 Linux - Networking 3 05-23-2006 01:08 AM
TCP retransmission and duplicated ack enjoyzj Linux - Networking 0 06-05-2004 06:19 PM

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

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