1LIBNETCFG(1) Perl Programmers Reference Guide LIBNETCFG(1)
2
3
4
6 libnetcfg - configure libnet
7
9 The libnetcfg utility can be used to configure the libnet. Starting
10 from perl 5.8 libnet is part of the standard Perl distribution, but the
11 libnetcfg can be used for any libnet installation.
12
14 Without arguments libnetcfg displays the current configuration.
15
16 $ libnetcfg
17 # old config ./libnet.cfg
18 daytime_hosts ntp1.none.such
19 ftp_int_passive 0
20 ftp_testhost ftp.funet.fi
21 inet_domain none.such
22 nntp_hosts nntp.none.such
23 ph_hosts
24 pop3_hosts pop.none.such
25 smtp_hosts smtp.none.such
26 snpp_hosts
27 test_exist 1
28 test_hosts 1
29 time_hosts ntp.none.such
30 # libnetcfg -h for help
31 $
32
33 It tells where the old configuration file was found (if found).
34
35 The "-h" option will show a usage message.
36
37 To change the configuration you will need to use either the "-c" or the
38 "-d" options.
39
40 The default name of the old configuration file is by default "lib‐
41 net.cfg", unless otherwise specified using the -i option, "-i oldfile",
42 and it is searched first from the current directory, and then from your
43 module path.
44
45 The default name of the new configuration file is "libnet.cfg", and by
46 default it is written to the current directory, unless otherwise speci‐
47 fied using the -o option, "-o newfile".
48
50 Net::Config, Net::libnetFAQ
51
53 Graham Barr, the original Configure script of libnet.
54
55 Jarkko Hietaniemi, conversion into libnetcfg for inclusion into Perl
56 5.8.
57
58
59
60perl v5.8.8 2008-05-05 LIBNETCFG(1)