Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux box doesn't send tcp ACK in handshake when receiving SYN/ACK toa broadcast address

Reply
Thread Tools Display Modes

Linux box doesn't send tcp ACK in handshake when receiving SYN/ACK toa broadcast address

 
 
Rick Jones
Guest
Posts: n/a

 
      06-08-2011, 07:50 PM
Adam <(E-Mail Removed)> wrote:

> I have a setup in which one of the linux boxes is forced to be sent
> Ethernet frames with ff:ff:ff:ff:ff:ff:ff as a destination mac.


Why?!?

And based on the rest of what you said, was that as the source mac
rather than the destination?

> This box has internet connectivity - verified by pinging google.com
> etc.. The problem arises when this box initiates a tcp connection
> somewhere and receives the syn/ack with a broadcast address. It
> simply refuses to reply with an ACK and this seems to be the default
> behavior in both ubuntu and fedora (verified using
> tcpdump/wireshark).


> If I change the configuration in a way in which the box receives the
> reply with its mac as a destination, everything works as it should.
> How do I eliminate this default behavior?


You would have to get at least one IETF RFC re-written. It is
stretching the dimm wetware memory, but IIRC there is a prohibition
upon processing a frame sent to a broadcast/multicast link-layer
address carrying an IP datagram with a unicast destination address.

rick jones
--
web2.0 n, the dot.com reunion tour...
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
 
Reply With Quote
 
 
 
 
Adam
Guest
Posts: n/a

 
      06-08-2011, 08:51 PM
Hi all

I have a setup in which one of the linux boxes is forced to be sent
Ethernet frames with ff:ff:ff:ff:ff:ff:ff as a destination mac. This
box has internet connectivity - verified by pinging google.com etc..
The problem arises when this box initiates a tcp connection somewhere
and receives the syn/ack with a broadcast address. It simply refuses
to reply with an ACK and this seems to be the default behavior in both
ubuntu and fedora (verified using tcpdump/wireshark).

If I change the configuration in a way in which the box receives the
reply with its mac as a destination, everything works as it should.
How do I eliminate this default behavior?
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      06-11-2011, 09:59 AM
On Jun 8, 1:51*pm, Adam <adamka...@gmail.com> wrote:

> If I change the configuration in a way in which the box receives the
> reply with its mac as a destination, everything works as it should.
> How do I eliminate this default behavior?


Change the configuration so the box receives the reply with its mac as
a destination.

DS
 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      06-11-2011, 12:10 PM
On 8.6.11 11:51 , Adam wrote:
> Hi all
>
> I have a setup in which one of the linux boxes is forced to be sent
> Ethernet frames with ff:ff:ff:ff:ff:ff:ff as a destination mac. This
> box has internet connectivity - verified by pinging google.com etc..
> The problem arises when this box initiates a tcp connection somewhere
> and receives the syn/ack with a broadcast address. It simply refuses
> to reply with an ACK and this seems to be the default behavior in both
> ubuntu and fedora (verified using tcpdump/wireshark).
>
> If I change the configuration in a way in which the box receives the
> reply with its mac as a destination, everything works as it should.
> How do I eliminate this default behavior?



TCP is a point-to point connection. There is no such thing as a
broadcast TCP connection. The Linux behaviour is correct.

Change your setup to use proper target addresses instead.

--

Tauno Voipio

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem receiving UDP broadcast packets. Grant Edwards Linux Networking 10 05-07-2012 08:13 AM
infra red receiving doesn't work after installing service pack 2 Slavo Wireless Networks 0 04-19-2007 12:28 PM
About send packet with BROADCAST addr? Who can help me. bighead_csu@hotmail.com Linux Networking 3 06-05-2006 05:50 AM
WGR614v2 doesn't send log Gregg Gerwitz Network Routers 0 05-11-2005 11:41 PM
WRT54G Doesn't Send Correct IP Address Dick Wireless Internet 23 06-11-2004 11:26 PM



1 2 3 4 5 6 7 8 9 10 11