Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

libnetcfg

Perl 5 version 14.0 documentation
Recently read

libnetcfg

NAME

libnetcfg - configure libnet

DESCRIPTION

The libnetcfg utility can be used to configure the libnet. Starting from perl 5.8 libnet is part of the standard Perl distribution, but the libnetcfg can be used for any libnet installation.

USAGE

Without arguments libnetcfg displays the current configuration.

  1. $ libnetcfg
  2. # old config ./libnet.cfg
  3. daytime_hosts ntp1.none.such
  4. ftp_int_passive 0
  5. ftp_testhost ftp.funet.fi
  6. inet_domain none.such
  7. nntp_hosts nntp.none.such
  8. ph_hosts
  9. pop3_hosts pop.none.such
  10. smtp_hosts smtp.none.such
  11. snpp_hosts
  12. test_exist 1
  13. test_hosts 1
  14. time_hosts ntp.none.such
  15. # libnetcfg -h for help
  16. $

It tells where the old configuration file was found (if found).

The -h option will show a usage message.

To change the configuration you will need to use either the -c or the -d options.

The default name of the old configuration file is by default "libnet.cfg", unless otherwise specified using the -i option, -i oldfile , and it is searched first from the current directory, and then from your module path.

The default name of the new configuration file is "libnet.cfg", and by default it is written to the current directory, unless otherwise specified using the -o option, -o newfile .

SEE ALSO

Net::Config, Net::libnetFAQ

AUTHORS

Graham Barr, the original Configure script of libnet.

Jarkko Hietaniemi, conversion into libnetcfg for inclusion into Perl 5.8.