Networking Forums

Networking Forums > Computer Networking > Linux Networking > broadcast does not go to the src machine

Reply
Thread Tools Display Modes

broadcast does not go to the src machine

 
 
linux62i@yahoo.com
Guest
Posts: n/a

 
      08-22-2006, 10:46 AM
Hello,

I have got a problem with receiving broadcasted (to 255.255.255.255)
packets.
I receive such packets on INADDR_ANY on the same host and on remote one
via normal UDP sockets (all things like setting flags for broadcast are
ok).
If I use UDP datagramm sockets for _sending_ everything is caught on
both
machines. If I use PF_PACKET and assemble packet myself one-to-one
matching the datagramm and send it I only receive the broadcast on
remote host.
I can see packets with tcpdump - they are identical. Everything happens
on eth0.

Linux 2.6.9.

What could be the problem and how can I workaround it? I would like
to leave receiver using simpel UDP sockets not going into PF_PACKET...

Many thanks in advance.
Vlad.

PS. No firewall is on.

 
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
One machine seeing broadcast traffic from a different logical IP network Spin Windows Networking 5 09-30-2008 10:30 PM
How to remotely login into a pure IPv6 Linux machine from a DualStack windows machine chaitan Linux Networking 1 11-21-2007 05:37 PM
Simple client/server socket program works on one Linux machine, it doesnot work on other machine GS Linux Networking 2 05-09-2006 12:55 PM
Getting SMB broadcast packets to Virtual Machine Larry Finger Linux Networking 2 05-01-2006 11:58 PM
Can't access shared files on WinXP machine from Win98 machine Ken K Windows Networking 4 01-19-2004 03:38 AM



1 2 3 4 5 6 7 8 9 10 11