Networking Forums

Networking Forums > Computer Networking > Linux Networking > Sending datagram in raw socket

Reply
Thread Tools Display Modes

Sending datagram in raw socket

 
 
Vicky
Guest
Posts: n/a

 
      10-25-2004, 10:25 AM
Hello,

I work in a network 192.168.1.0.
When I send datagram (from IP 192.168.1.2)
to IP which doesn't exist in my network
(e.g. 192.168.1.111), my sniffer installed on
a computer (192.168.1.1) can see it.

But, my sniffer has to work on an embedded
device with Linux. Unfortunatelly, on this
device, my sniffer can only see datagrams
sent directly to it and broadcasts. It doesn't
catch datagrams sent to other computers.

I wrote a sender application which sends datagrams
using raw sockets. Now my sniffer on an
embedded device can catch all datagrams.
But it is not a solutions for me -- a normal
computer with my sniffer can catch datagrams
sent by all applications (not only mine using raw
sockets). I want the same for an embedded device.

Maybe an embedded device has wrong kernel
configuration or something...
What could be wrong?

Thanks in advance,
Vicky.


 
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
sending socket descriptor to another pid Beagle Linux Networking 2 07-09-2008 09:56 PM
Building and sending raw datagram Vicky Linux Networking 1 10-23-2004 02:38 AM
Sending a struct over a UDP socket... Adam Balgach Linux Networking 1 09-17-2004 07:36 PM
Sending HTML page with a socket Farid Benzakour Linux Networking 1 12-11-2003 04:07 PM
Sending and reading big data by socket cyril Linux Networking 1 08-28-2003 03:58 PM



1 2 3 4 5 6 7 8 9 10 11