Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.882.232 Times

PIX::Walker 1.03

  Date Added: April 09, 2010  |  Visits: 879

PIX::Walker

Report Broken Link
Printer Friendly Version


Product Homepage
Download (81 downloads)



PIX::Walker is a Perl module to process Cisco PIX configs and walk access-lists. SYNOPSIS PIX::Walker is an object that allows you to process PIX firewall configs and walk an access-list for matches. PIX OS versions 6 and 7 are supported. ** This module is still in very early development ** Loose ACL matching performed. This means that you can specify as little as a source IP to match what line(s) that IP would match in the ACL on the firewall. Or you can provide every detail including source/dest IPs, ports, and protocol to match a specific line of an ACL. Loose matching allows you to see potential lines in a large ruleset that a single source or destination IP might match. More than just the first line match can be returned. If your search criteria can technically match multiple lines they will all be returned. This is useful for seeing extra matches in your ACL that might also match and can help you optimize your ACL. EXAMPLE use PIX::Walker; my $config = ... string of full firewall config ... ; my $fw = new PIX::Walker($config); my $acl = $fw->acl(outside_access) || die("ACL does not exist"); my $matched = 0; foreach my $line ($acl->lines) { if ($line->match( source => 10.0.1.100, dest => 192.168.1.3, port => 80, protocol => tcp)) { print "Matched ACL $acl->name ($acl->elements ACE)n" if !$matched++; print $line->print, "n"; } } METHODS acl($name) Returns an PIX::Accesslist object for the ACL named by $name. acls() Returns an array of PIX::Accesslist objects for each access-list found in the firewall configuration. Returns undef if there is no matching ACL. alias($string) Returns the IP of the alias given in $alias. If no alias is found than the string is returned unchanged. findip($ip, [$trace]) Matches the IP to an existing network-group. Does not validate it within any ACL. If a single group is matched a scalar is returned with the name, otherwise an array reference is returned containing all matches. * $ip is an IP address to look for. * $trace is an optional reference to a trace buffer. If an IP is found in a nested group the trace will allow you to find out where it was nested. See tracedump() for more information. findport($port, [$trace]) Matches the PORT to an existing service-group. Does not validate it within any ACL. If a single group is matched a scalar is returned with the name, otherwise an array reference is returned containing all matches. * $port is the PORT to look for. * $trace is an optional reference to a trace buffer. If a PORT is found in a nested group the trace will allow you to find out where it was nested. See tracedump() for more information. obj($name) Returns an PIX::Object object for the object-group that matches the $name given. tracedump($trace) Prints out the trace dump given. This will allow you to see where IPs and PORTs are being matched within their object-groups even if they are nested. $matched = $fw->findip($ip, $trace); $fw->tracedump($trace);.

Requirements: No special requirements
Platforms: Linux
Keyword: Acl Cisco Pix Ip Libraries Match Matched Matches Name Perl Module Pix Pixwalker Port Returned Trace
Users rating: 0/10

License: Freeware Size: 13.31 KB
USER REVIEWS
More Reviews or Write Review


PIX::WALKER RELATED
Libraries  -  Net::Cisco::AccessList::Extended 0.03
Net::Cisco::AccessList::Extended is a Perl module to generate Cisco extended access-lists. SYNOPSIS use Net::Cisco::AccessList::Extended; my $l = Net::Cisco::AccessList::Extended->new(INCOMING_LIST); $l->push({ access => permit, proto =>...
7.17 KB  
Libraries  -  I18N::AcceptLanguage 1.04
I18N::AcceptLanguage is a Perl module that matches language preference to available languages. SYNOPSIS use I18N::AcceptLanguage; my $supportedLanguages = [( en-us, fr )]; my $acceptor = I18N::AcceptLanguage->new(); my $language =...
9.22 KB  
Libraries  -  Regexp::MatchContext 0.0.2
Regexp::MatchContext is Perl module to replace (and improve) $MATCH, $PREMATCH, and $POSTMATCH SYNOPSIS use Regexp::MatchContext -vars; $str = m/(?p) d+ /; print "Before: $PREMATCHn"; print "Matched: $MATCHn"; print "After: $POSTMATCHn";...
5.12 KB  
Libraries  -  File::Find::Rule::XPath 0.03
File::Find::Rule::XPath is a Perl module that contains rule to match on XPath expressions. SYNOPSIS use File::Find::Rule::XPath; my @files = File::Find::Rule->file ->name(*.dkb) ->xpath( //section/title[contains(., "Crustacean")] )...
4.1 KB  
Libraries  -  NetAddr::IP 4.004
NetAddr::IP is a Perl module that can manage IPv4 and IPv6 addresses and subnets. SYNOPSIS use NetAddr::IP qw( Compact Coalesce Zero Ones V4mask V4net :aton :old_storable :old_nth ); my $ip = new NetAddr::IP loopback; print "The...
97.28 KB  
Libraries  -  NetAddr::IP::UtilPP 4.004
NetAddr::IP::UtilPP is a Perl module with pure Perl functions for NetAddr::IP::Util. SYNOPSIS use NetAddr::IP::UtilPP qw( hasbits isIPv4 shiftleft addconst add128 sub128 notcontiguous ipv4to6 mask4to6 ipanyto6 maskanyto6 ipv6to4...
97.28 KB  
Libraries  -  NetAddr::IP::Find 0.03
NetAddr::IP::Find is a Perl module to find IP addresses in plain text. SYNOPSIS use NetAddr::IP::Find; $num_found = find_ipaddrs($text, &callback); This is a module for finding IP addresses in plain text. Functions NetAddr::IP::Find...
3.07 KB  
Libraries  -  Apache2::xForwardedFor 0.04
Apache2::xForwardedFor is a Perl module to re-set remote_ip to incoming clients ip when running mod_perl behind a reverse proxy server. In other words, copy the first IP from X-Forwarded-For header, which was set by your reverse proxy server, to...
4.1 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Net::Packet::CDP::TypeSoftwareVersion 3.25
Net::Packet::CDP::TypeSoftwareVersion is a Perl module for Cisco Discovery Protocol Software Version extension header. SYNOPSIS use Net::Packet::Consts qw(:cdp); require Net::Packet::CDP::TypeSoftwareVersion; # Build a layer my $layer =...
68.61 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB