views:

419

answers:

4

I have some network traffic captured pcap file and want to send its packets on NIC; is it possible? Is there any application to do this?

A: 

There is a libpcap/winpcap library, that allows the programmer to send/receive packets and work directly with NDIS-level driver. http://www.winpcap.org

alemjerus
+3  A: 

You should be able to use some kind of replay application like this one.

Mark Wilkins
+2  A: 

bit-twist (http://bittwist.sourceforge.net/) can do this.

just install it and inject your packet like this :

# bittwist -i eth0 pcap-file.pcap

Zskdan
A: 

Yes there is a way,sending a packet to NIC means injecting it to an interface....

you can do this with the help of libnet packege in linux.I myself am working on the same these days,try googling with this term, u'll surely get some good stuff to share...

Anand