Binary package “libnet-write-perl” in ubuntu bionic
portable interface to open and send raw data to network
Net::Write provides a portable interface to write raw data directly to a
network interface. It provides three methods: open, send and close. It is
especially useful because it can send arbitrary packets on the link layer
(layer 2), network layer (layer 3) or transport layer (layer 4).