perl-Net-Connection-Match-0.4.0-alt1.noarch.rpm


Advertisement

Description

perl-Net-Connection-Match - Runs a stack of checks to match Net::Connection objects

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Net-Connection-Match-0.4.0-alt1.noarch.rpm
Package name perl-Net-Connection-Match
Package version 0.4.0
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 102.18 KB
Installed size 102.18 KB
use Net::Connection::Match;
use Net::Connection;
my $connection_args={
foreign_host=>'10.0.0.1',
foreign_port=>'22',
local_host=>'10.0.0.2',
local_port=>'12322',
proto=>'tcp4',
state=>'LISTEN',
};
my $conn=Net::Connection->new( $connection_args );
my %args=(
checks=>[
{
type=>'Ports',
invert=>0,
args=>{
ports=>[
'22',
],
lports=>[
'53',
],
fports=>[
'12345',
],
}
},
{
type=>'Protos',
invert=>0,
args=>{
protos=>[
'tcp4',
],
}
}
]
);
my $checker;
eval{
$checker=Net::Connection::Match->new( \%args );
} or die "New failed with...".$@;
if ( $check->match( $conn ) ){
print "It matched!\n";
}

Alternatives

Package Version Architecture Repository
perl-Net-Connection-Match - - -

Requires

Name Value
/usr/share/perl5 -
perl(Error/Helper.pm) >= 1.0
perl(Net/CIDR.pm) >= 0.200
perl(Net/DNS.pm) >= 1.200
perl(Proc/ProcessTable.pm) >= 0.590
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Net/Connection/Match.pm) = 0.004
perl(Net/Connection/Match/CIDR.pm) -
perl(Net/Connection/Match/Command.pm) = 0.001
perl(Net/Connection/Match/PID.pm) -
perl(Net/Connection/Match/PTR.pm) = 0.0.001
perl(Net/Connection/Match/PctCPU.pm) -
perl(Net/Connection/Match/PctMem.pm) -
perl(Net/Connection/Match/Ports.pm) = 0.001
perl(Net/Connection/Match/Protos.pm) -
perl(Net/Connection/Match/RegexPTR.pm) -
perl(Net/Connection/Match/States.pm) -
perl(Net/Connection/Match/UID.pm) -
perl(Net/Connection/Match/Username.pm) -
perl(Net/Connection/Match/WChan.pm) -
perl-Net-Connection-Match = 0.4.0-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Net-Connection-Match-0.4.0-alt1.noarch.rpm
Source Package perl-Net-Connection-Match-0.4.0-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Net-Connection-Match rpm package:
    # sudo apt-get install perl-Net-Connection-Match

Files

Path
/usr/share/doc/perl-Net-Connection-Match-0.4.0/Changes
/usr/share/doc/perl-Net-Connection-Match-0.4.0/README
/usr/share/doc/perl-Net-Connection-Match-0.4.0/ignore.txt
/usr/share/perl5/Net/
/usr/share/perl5/Net/Connection/Match.pm
/usr/share/perl5/Net/Connection/Match/CIDR.pm
/usr/share/perl5/Net/Connection/Match/Command.pm
/usr/share/perl5/Net/Connection/Match/PID.pm
/usr/share/perl5/Net/Connection/Match/PTR.pm
/usr/share/perl5/Net/Connection/Match/PctCPU.pm
/usr/share/perl5/Net/Connection/Match/PctMem.pm
/usr/share/perl5/Net/Connection/Match/Ports.pm
/usr/share/perl5/Net/Connection/Match/Protos.pm
/usr/share/perl5/Net/Connection/Match/RegexPTR.pm
/usr/share/perl5/Net/Connection/Match/States.pm
/usr/share/perl5/Net/Connection/Match/UID.pm
/usr/share/perl5/Net/Connection/Match/Username.pm
/usr/share/perl5/Net/Connection/Match/WChan.pm

See Also

Package Description
perl-Net-Connection-Simple-1.02-alt1.noarch.rpm perl module Net-Connection-Simple
perl-Net-Connection-Sort-0.0.1-alt1.noarch.rpm Sorts array of Net::Connection objects
perl-Net-Connection-lsof-0.2.0-alt1.noarch.rpm This uses lsof to generate a array of Net::Connection objects
perl-Net-Connection-ncnetstat-0.5.0-alt1.noarch.rpm The backend for ncnetstat, the colorized and enhanced netstat like tool
perl-Net-Connection-ncnetstat-scripts-0.5.0-alt1.noarch.rpm Net-Connection-ncnetstat scripts
perl-Net-Continental-0.016-alt1.noarch.rpm code to map countries to continents, esp. with nerd.dk dnsbl
perl-Net-CoverArtArchive-1.02-alt1.noarch.rpm Query the coverartarchive.org
perl-Net-CronIO-0.01-alt1.noarch.rpm Perl binding for cron.io
perl-Net-Curl-Parallel-2.0.0-alt1.noarch.rpm perform concurrent HTTP requests using libcurl
perl-Net-Curl-Promiser-0.01-alt1.noarch.rpm A Promise interface for L<Net::Curl::Multi>
perl-Net-Curl-Simple-0.13-alt1.noarch.rpm simplified Net::Curl interface
perl-Net-CyanChat-0.07-alt1.noarch.rpm Perl interface for connecting to Cyan Worlds' chat room
perl-Net-DAAP-Client-0.42-alt1.noarch.rpm perl module Net-DAAP-Client
perl-Net-DAAP-Client-Auth-1.21-alt1.noarch.rpm Extend Net::DAAP::Client to do iTunes authorisation
perl-Net-DAAP-DMAP-1.27-alt1.noarch.rpm perl module Net-DAAP-DMAP
Advertisement
Advertisement