deja-packet

deja-packet transmits raw packets through a specified interface.
Download

deja-packet Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Vanya Sergeev
  • Publisher web site:
  • http://www.frozeneskimo.com/electronics/network-tools/

deja-packet Tags


deja-packet Description

deja-packet transmits raw packets through a specified interface. deja-packet transmits raw packets through a specified interface.Usage: ./deja-packet -pcap < libpcap capture file > < interface name >or: ./deja-packet -raw < raw packet file > < interface name >Note: you must be root to successfully transmit packets with deja-packet due to the Linux security restrictions with raw sockets.In the cap mode, deja-packet transmits selected packets from a libpcap capture file (such as one created by Ethereal/Wireshark, or tcpdump). In the aw mode, deja-packet transmits the raw contents of a file as one whole packet.The cap mode is interactive: the user will be continuously prompted to select which packet from the libpcap capture file to transmit, until the “q” character is encountered, where the program will quit.Example pcap mode:$ sudo ./deja-packet -p icmp_ping.pcap eth0Select packet number (1 to 6) for transmission or q for quit: 1Successfully transmitted packet!Select packet number (1 to 6) for transmission or q for quit: 2Successfully transmitted packet!Select packet number (1 to 6) for transmission or q for quit: 5Successfully transmitted packet!Select packet number (1 to 6) for transmission or q for quit: 6Successfully transmitted packet!Select packet number (1 to 6) for transmission or q for quit: q$In the aw mode, deja-packet exits immediately after the attempted transmission is complete (allows deja-packet to be easily used with a script).Example raw mode:$ sudo ./deja-packet -r samplepacket eth0Successfully transmitted packet!$icmp_ping.pcap is included as a sample libpcap capture file.To compile deja-packet, simply use the command “make”.deja-packet remains Linux-only because it requires PF_PACKET sockets.This project is released under the GNU General Public License version 2.


deja-packet Related Software