Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

libnetcfg (1)

Name

libnetcfg - configure libnet

Synopsis

Please see following description for synopsis

Description

Perl Programmers Reference Guide                                  LIBNETCFG(1)



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.

           $ libnetcfg
           # old config ./libnet.cfg
           daytime_hosts        ntp1.none.such
           ftp_int_passive      0
           ftp_testhost         ftp.funet.fi
           inet_domain          none.such
           nntp_hosts           nntp.none.such
           ph_hosts
           pop3_hosts           pop.none.such
           smtp_hosts           smtp.none.such
           snpp_hosts
           test_exist           1
           test_hosts           1
           time_hosts           ntp.none.such
           # libnetcfg -h for help
           $

       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".


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | runtime/perl-532      |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+

SEE ALSO
       Net::Config, libnetFAQ

AUTHORS
       Graham Barr, the original Configure script of libnet.

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



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.perl.org/.



perl v5.32.0                      2022-06-28                      LIBNETCFG(1)