Deja-packet software allows transmission of unprocessed packets via a designated interface.
In the [-p]cap mode, Deja-packet can transmit selected packets from a libpcap capture file, such as one created by Ethereal/Wireshark or tcpdump. The user is continually prompted to choose which packet to transmit until the "q" character is encountered. At this point, the program will quit. Example usage of the [-p]cap mode is demonstrated as follows:
$ sudo ./deja-packet -p icmp_ping.pcap eth0
Select packet number (1 to 6) for transmission or q for quit: 1
Successfully transmitted packet!
Select packet number (1 to 6) for transmission or q for quit: 2
Successfully transmitted packet!
Select packet number (1 to 6) for transmission or q for quit: 5
Successfully transmitted packet!
Select packet number (1 to 6) for transmission or q for quit: 6
Successfully transmitted packet!
Select packet number (1 to 6) for transmission or q for quit: q $
On the other hand, in the [-r]aw mode, Deja-packet instantly exits once the transmission attempt is complete. This allows it to be used effortlessly with a script. Example usage of the [-r]aw mode is demonstrated as follows:
$ sudo ./deja-packet -r samplepacket eth0
Successfully transmitted packet!
$
One important note is that the user must have root access to effectively use Deja-packet, which is due to the Linux security restrictions imposed on raw sockets.
To compile Deja-packet, simply use the command "make". It is only supported on Linux systems that have PF_PACKET sockets. The project is released under the GNU General Public License version 2. Overall, Deja-packet is a reliable software that simplifies packet transmission and should be considered as one of the software to use to satisfy your network needs.
Version 1.0: N/A