EmbeddedRelated.com
Forums

Application for sending Raw ethernet packet

Started by nagendran July 2, 2007
Hi,

I am in need of some application to send/receive raw ethernet packets from
PC.
Please provide me with some pointers for the same.

Thanks in advance..

with regards,
Nagendran V


On Jul 2, 9:26 am, "nagendran" <nagendra...@gmail.com> wrote:
> Hi, > > I am in need of some application to send/receive raw ethernet packets from
Google "send raw ethernet packets". Click on almost any of the 685,000 links that will come up. Never return to this newsgroup.
On 2007-07-02, nagendran <nagendran.v@gmail.com> wrote:
> Hi, > > I am in need of some application to send/receive raw ethernet > packets from PC. Please provide me with some pointers for the > same.
------------------------------8<------------------------------ #!/usr/bin/python import socket s = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, 0x1234) s.bind(('eth0',0x1234,0,0)) s.send('\x01\x02\x03\x04\x05\x06\x01\x02\x03\x04\x05\x06\x12\x34\x00') ------------------------------8<------------------------------ man socket man packet -- Grant Edwards grante Yow! Why is it that when at you DIE, you can't take visi.com your HOME ENTERTAINMENT CENTER with you??
larwe wrote:
> "nagendran" <nagendra...@gmail.com> wrote: > >> I am in need of some application to send/receive raw ethernet > > Google "send raw ethernet packets". Click on almost any of the > 685,000 links that will come up. Never return to this newsgroup.
Oh, you are cruel :-) -- <http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt> <http://www.securityfocus.com/columnists/423> <http://www.aaxnet.com/editor/edit043.html> cbfalconer at maineline dot net -- Posted via a free Usenet account from http://www.teranews.com
nagendran wrote:
> Hi, > > I am in need of some application to send/receive raw ethernet packets from > PC. > Please provide me with some pointers for the same.
<Self Promotion> http://www.jkmicro.com/products/picoflash.html </Self Promotion> Just talk to the packet driver.