Sending datagram in raw socket

Discussion in 'Linux Networking' started by Vicky, Oct 25, 2004.

  1. Vicky

    Vicky Guest


    I work in a network
    When I send datagram (from IP
    to IP which doesn't exist in my network
    (e.g., my sniffer installed on
    a computer ( 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, Oct 25, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.