version 1.1, 2021/05/15 15:12:32 |
version 1.3, 2021/07/21 22:04:30 |
Line 32 chomp($conf{hostname} = $conf{hostname} || `hostname`) |
|
Line 32 chomp($conf{hostname} = $conf{hostname} || `hostname`) |
|
|
|
# External IPv4 address, plaintext and ssl port |
# External IPv4 address, plaintext and ssl port |
$conf{ip4} = $conf{ip4} or die "ERROR: botnow.conf: ip4"; |
$conf{ip4} = $conf{ip4} or die "ERROR: botnow.conf: ip4"; |
|
$conf{ip6} = $conf{ip6} or die "ERROR: botnow.conf: ip6"; |
|
$conf{ip6subnet} = $conf{ip6subnet} or die "ERROR: botnow.conf: ip6subnet"; |
$conf{plainport} = $conf{plainport} || 1337; |
$conf{plainport} = $conf{plainport} || 1337; |
$conf{sslport} = $conf{sslport} || 31337; |
$conf{sslport} = $conf{sslport} || 31337; |
|
|
Line 55 if (!defined($conf{mailname})) { |
|
Line 57 if (!defined($conf{mailname})) { |
|
} |
} |
} |
} |
|
|
# rDNS keys from Stallion in BuyVM |
|
$conf{key} = $conf{key} or die "ERROR: botnow.conf: key"; |
|
$conf{hash} = $conf{hash} or die "ERROR: botnow.conf: hash"; |
|
|
|
# ZNC install directory |
# ZNC install directory |
$conf{zncdir} = $conf{zncdir} || "/home/znc/home/znc"; |
$conf{zncdir} = $conf{zncdir} || "/home/znc/home/znc"; |
|
|
|
|
$conf{verbose} = $conf{verbose} || ERRORS; |
$conf{verbose} = $conf{verbose} || ERRORS; |
|
|
# Terms of Service; don't edit lines with the word EOF |
# Terms of Service; don't edit lines with the word EOF |
$conf{terms} = $conf{terms} || "IRCNow: Of the User, By the User, For the User. Rules: no profanity, no porn, no illegal drugs, no gambling, no slander, no warez, no promoting violence, no spam, illegal cracking, or DDoS. Only one account per person. Don't share passwords. Full terms: https://ircnow.org/terms.php"; |
$conf{terms} = $conf{terms} || "IRCNow: Of the User, By the User, For the User. Rules: no porn, no illegal drugs, no gambling, no slander, no warez, no promoting violence, no spam, illegal cracking, or DDoS. Only one account per person. Don't share passwords. Full terms: https://ircnow.org/terms.php"; |
|
|
$conf{ipv6path} = "ipv6s"; # ipv6 file path |
$conf{ipv6path} = "ipv6s"; # ipv6 file path |
$conf{netpath} = "networks"; # networks file path |
$conf{netpath} = "networks"; # networks file path |