perl-Net-Divert - Divert socket module

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Net-Divert-0.01-alt1.noarch.rpm
Package name perl-Net-Divert
Package version 0.01
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 10.60 KB
Installed size 10.60 KB
The `Net::Divert' module facilitates the use of divert.sockets for packet alteration on FreeBSD and MacOSX.
Divert sockets can be bound to a certain port. This port
will then receive all packets you divert to it with the
help of a divert filter rule. On FreeBSD and MacOSX ipfw
allows you to add such a rule. Please refer to the divert
and ipfw manpages for more information.
This module allows you to create a divert socket and then
just supply a function that will deal with the incoming packets.
new(host,port) will create a new divert object. It will also
create a divert socket bound to the specified port at the given
getPackets(func) will create a loop getting all incoming
packets and pass them onto the specified function you created.
This function will be called with two arguments: packet and
fwtag. Fwtag contains the rule number where the packet is reinserted.
Refer to divert(4) for more information.
putPacket(packet,fwtag) reinsert a packet at the specified fw rule
(normally you don't want to alter fwtag, as it is easy to create
infinite loops this way)


Package Version Architecture Repository
perl-Net-Divert - - -


Name Value
/usr/share/perl5 -
rpmlib(PayloadIsLzma) -


Name Value
perl(Net/ = 0.010
perl-Net-Divert = 0.01-alt1


Type URL
Binary Package perl-Net-Divert-0.01-alt1.noarch.rpm
Source Package perl-Net-Divert-0.01-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Net-Divert rpm package:
    # sudo apt-get install perl-Net-Divert



See Also

Package Description
perl-Net-Docker-0.002005-alt1.noarch.rpm Interface to the Docker API
perl-Net-Docker-scripts-0.002005-alt1.noarch.rpm Net-Docker scripts
perl-Net-Dogstatsd-1.0.3-alt1.noarch.rpm Perl client to Datadog's dogstatsd metrics collector
perl-Net-Domain-ES-ccTLD-0.05-alt1.noarch.rpm Lookup for country names given the TLD code (.en Espa.ol!)
perl-Net-Domain-ExpireDate-1.19-alt2.noarch.rpm - obtain expiration date of domain names
perl-Net-Domain-Info-0.02-alt1.noarch.rpm request for domain information like whois, dns, seo
perl-Net-Domain-Match-0.2.3-alt1.noarch.rpm Class to extract domain names from text
perl-Net-Domain-Regex-0.2.1-alt1.noarch.rpm Class to extract domain names from text
perl-Net-Domain-Registration-Check-0.04-alt1.noarch.rpm Fast check on availability of domain registration
perl-Net-Domain-TMCH-0.18-alt1.noarch.rpm Trademark Clearing House
perl-Net-Dopplr-0.7-alt1.noarch.rpm interface with's web service
perl-Net-Dopplr-scripts-0.7-alt1.noarch.rpm Net-Dopplr scripts
perl-Net-Douban-1.14-alt1.noarch.rpm Perl client wrapper for Chinese website API
perl-Net-Doveadm-0.01-alt1.noarch.rpm Dovecot.s administrative interface protocol
perl-Net-Download-XMLScripted-XMLScripted-0.1-alt1.noarch.rpm Perl XML scripted download program