LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-21-2009, 06:33 AM   #1
nitinarora
LQ Newbie
 
Registered: Apr 2009
Posts: 19

Rep: Reputation: 0
SYN, SYN_ACK but no ACK


Hi,

I am trying to setup the network interface on a fresh board. I have compiled a fresh kernel and inserted ethernet drivers.
I brought the interface up through ifconfig command and now I can ping from board to my PC and also from PC to board both ways.

Board and PC are connected back to back through an ethernet cable

Board <---------> PC

Now I have run a simple TCP Echo client on the board and TCP Echo Server on the PC. TCP client which is running on the board while "connect" system call fails with "Time out" error code.

I have captured the ethereal traces and found that SYN, SYN_ACK are being exchanged but no ACK is returned by the TCP client running on the board.

The same TCP echo client works fine when run on some other Linux PC machine and is able to connect with the echo server running on my PC.

Kindly suggest what could be the probable reason for this on the fresh board.

Thanks

Last edited by nitinarora; 05-21-2009 at 06:34 AM.
 
Old 05-21-2009, 06:31 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
The SYN_ACK should be checked, such as sequence number, port number. Maybe echo client doesn't recognize the SYN_ACK. If you can port ethereal trace, that's great.
 
  


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
iptables; ACK/SYN/etc; understand the bits, and potential firewall entries TheLinuxDuck Linux - Security 2 10-18-2011 09:17 PM
TCP handshake fails, SYN/ACK ignored by system. xnomad Linux - Networking 1 09-28-2011 11:10 AM
TCP stack imediately sends RST after it receives SYN-ACK berkon Linux - Networking 2 05-03-2009 01:56 PM
TCP packet flags (SYN, FIN, ACK, etc) and firewall rules TheLinuxDuck Linux - Security 12 04-28-2005 11:30 PM
Ack, Help! meddleRPI Linux - General 2 05-23-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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