Linux SoftwareProgrammingLibrariesNet::Telnet::Netscreen 1.1

Net::Telnet::Netscreen 1.1


Net::Telnet::Netscreen is a Perl module that interacts with a Netscreen firewall. Net::Telnet::Netscreen is mostly a pure rippoff
Developer:   Marcus Ramberg
      more software by author →
Price:  0.00
License:   Artistic License
File size:   9K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Net::Telnet::Netscreen is a Perl module that interacts with a Netscreen firewall.

Net::Telnet::Netscreen is mostly a pure rippoff of Net::Telnet::Cisco, with adaptations to make it work on the Netscreen firewalls. It also has some additional commands, but for basic functionality, see Net::Telnet and Net::Telnet::Cisco documentation.

use Net::Telnet::Netscreen;

my $fw = new Net::Telnet::Netscreen(host=>'192.168.1.1'); $fw->login('admin','password') or die $fw->error; $fw->enter_vsys('wineasy.no'); print "We are now in: ".$fw->current_vsys."n"; my %vsys=$fw->get_vsys; foreach $key (sort (keys %vsys)) { print $key,'=', $vsys{$key},"n"; } print @results;

Before you use Net::Telnet::Netscreen, you should probably have a good understanding of Net::Telnet, so perldoc Net::Telnet first, and then come back to Net::Telnet::Netscreen to see where the improvements are.

Some things are easier to accomplish with Net::SNMP. SNMP has three advantages: it's faster, handles errors better, and doesn't use any vtys on the router. SNMP does have some limitations, so for anything you can't accomplish with SNMP, there's Net::Telnet::Netscreen.

New methods not found in Net::Telnet follow:

enter_vsys - enter a virtual system

Enter a virtual system in the firewall. parameter is system you want to enter . You may enter another vsys even if you are in a vsys. Note that we will save your changes for you if you do. (only works for ns-500+)

enter_vsys - exit from the level you are on

exit from the vsys you are in, or from the system if you are on the top. takes one parameter. if you should save any changes or not. (only works for ns-500+)

current_vsys - show current vsys

return the vsys you currently are in. returns blank if you're not in a vsys. (only works for ns-500+)

get_vsys - return vsys.

returns a hash of all the virtual systems on your system, with system id's for values (only works for ns-500+)

ha_mode - return high availability mode.

return the HA mode, if your system is in a HA cluster, or false if it isn't.

ping - ping a system. Returns percentage of success (0-100).

$sucess=$fw->ping('192.168.1.1');

exit - Exit system

use this command to exit system, or exit current vsys

getValue - Set a value from the box.

Will return a value from the firewall, or from the vsys you are in, if you aren't in root.

setValue - Set a Value in the box.

Set a value in the box, returns true if set successfully.

lastPrompt - Show the last prompt returned.

Shows the last prompt returned by your netscreen device.

lastCmd - Show the last command executed.

Shows the last command executed on your netscreen device.
tags net telnet  telnet netscreen  from the  you are  current vsys  only works  the last  works for  vsys you  the box  the vsys  enter vsys  prompt returned  

Download Net::Telnet::Netscreen 1.1


 http://mirrors.evolva.ro/CPAN/authors/id/M/MR/MRAMBERG/Netscreen-1.1.tar.gz


Authors software

Net::Telnet::Netscreen 1.1 (by Marcus Ramberg)
Net::Telnet::Netscreen is a Perl module that interacts with a Netscreen firewall.

Net::Telnet::Netscreen is mostly a pure rippoff


Similar software

Net::Telnet::Netscreen 1.1 (by Marcus Ramberg)
Net::Telnet::Netscreen is a Perl module that interacts with a Netscreen firewall.

Net::Telnet::Netscreen is mostly a pure rippoff

Enas Alpha (by Davide Lima Daum)

Looking Glass 1.8p2 - 20040615 (by Cougar)
LG is a Looking Glass written in Perl as a CGI script

libcli 1.8.5 (by David Parrish)
libcli is a Cisco-like telnet commandline library.

It provides a shared library for including a Cisco-like command-line interface

Remote Kommander 0.1b (by Koen Erens)
Remote Kommander is a Kommander script that can control mythtv using the telnet socket build into ver

Jimsim Network Simulator 1.1 (by Jimboney)
Jimsim Network Simulator project can emulate several routers connected via virutal networks

The Kava Telnet Application 1.0 (by Alison Winters)
The KTA is a complete telnet and SSH application designed for use by both end-users and developers

SSH with Keys HOWTO 0.08 (by Dave Aaldering)
SSH with Keys HOWTO is a document which shows how to use SSH with keys, passphrases, and ssh-agent.

For those of you who have been

POE::Component::Generic 0.0904 (by David Davis and Teknikill Software)
POE::Component::Generic is a POE component that provides non-blocking access to a blocking object.

SYNOPSIS

use POE::Compon

THC-Hydra 5.3 (by The Hackers Choice)
THC-Hydra is the best parallized login hacker: for Samba, FTP, IMAP, Telnet, POP3, HTTP Auth, LDAP, MySQL, VNC, ICQ, NNTP, Socks5, PC


Other software in this category

zlib 1.2.3 (by Jean-loup Gailly)
zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

libjpeg v6b (by Independent JPEG Group)
libjpeg is a library for handling the JPEG (JFIF) image format

OpenSSL 0.9.8d (by The OpenSSL Project Team)
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

libxml2 2.6.27 (by DV)
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

GNU C library 2.4 (by Andreas Jaeger)
GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

GNU C library is us

    search


Featured Software

jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java

Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser

GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


Subscribe in Rojo
Google Reader
Add to My Yahoo!

Add to My AOL
Subscribe with Bloglines
Subscribe in NewsGator Online
Add 'nixbit linux software' to Newsburst from CNET News.com
del.icio.us nixbit linux software


Top tags