Net::IP::Route::Reject - Perl module for adding/removing reject routes


NAME

Net::IP::Route::Reject - Perl module for adding/removing reject routes

Back to Top


SYNOPSIS

  use Net::IP::Route::Reject

Back to Top


DESCRIPTION

Add/remove reject route from route table .

Back to Top


USAGE

Back to Top


BUGS

Back to Top


SUPPORT

Back to Top


AUTHOR

        Dana Hudes
        CPAN ID: DHUDES
        dhudes@hudes.org
        http://www.hudes.org

Back to Top


COPYRIGHT

This program is free software licensed under the...

        The Artistic License

The full text of the license can be found in the LICENSE file included with this module.

Back to Top


SEE ALSO

perl(1),IPC::Cmd.

add

 Usage     : Net::IP::Route::Reject->add('192.168.1.1')
 Purpose   : adds a reject route for the given host from the route table of the host running this
 Returns   : nothing
 Argument  : takes one parameter, a numerical IPv4 address in dotted quad form
 Throws    : Confess on invalid IP address
 Comments  :

See Also : Net::IP::Route::Reject->del

del

 Usage     : Net::IP::Route::Reject->del('192.168.1.1')
 Purpose   : removes the reject route for the given host from the route table of the host running this
 Returns   : nothing
 Argument  : takes one parameter, a numerical IPv4 address in dotted quad form
 Throws    : Confess on invalid IP address
 Comments  :

See Also : Net::IP::Route::Reject->add

_reject

 Usage     : this is an internal method
 Purpose   : It executes the route command
 Returns   : What it returns
 Argument  : 2 positional parameters: 1st is operation, 2nd is ip address
 Throws    : 
 Comments  : This is a private function to avoid checking for bogus operation types

See Also : IPC::Cmd

Back to Top

 Net::IP::Route::Reject - Perl module for adding/removing reject routes