Blob


1 botnow: the versatile IRC bot
3 botnow has only been tested on openbsd 6.9
5 ### System requirements ###
7 In order to install botnow, you will need to have the following installed and
8 configured:
10 1) sendmail (https://wiki.ircnow.org/index.php?n=Opensmtpd.Configure)
11 2) nsd (https://wiki.ircnow.org/index.php?n=Nsd.Configure)
12 3) openhttpd (https://wiki.ircnow.org/index.php?n=Openhttpd.Configure)
13 4) php (https://wiki.ircnow.org/index.php?n=Openbsd.Php)
14 5) znc (https://wiki.ircnow.org/index.php?n=Znc.Chroot)
15 6) IPv6 (https://wiki.ircnow.org/index.php?n=Hostnameif.Static)
17 ### Install instructions ###
19 $ tar xvzf botnow.tgz
20 $ cd botnow
21 $ doas ./install
22 $ cp botnow.conf.example botnow.conf
24 Fill the file ipv6s with all the unused IPv6 addresses available on your server.
26 $ vi botnow.conf
27 $ ./botnow.pl
29 ### Configuration of httpd.conf ###
31 server "www.$hostname" {
32 alias "$hostname"
33 listen on $ext_ip port 80
34 location "/.well-known/acme-challenge/*" {
35 root "/acme"
36 request strip 2
37 }
38 location "*.php" {
39 fastcgi socket "/run/php-fpm.sock"
40 }
41 root "/htdocs/ircnow/"
42 }
44 ### Reinstall ###
46 If you need to reinstall, run
48 $ doas make -i
50 ### Changelog ###
52 Version 0.07: Added support for requesting shell accounts
53 Version 0.06: Refactored code to be modular
54 Version 0.05: Refactored conf file out of the script and supplied sensible defaults
55 Version 0.04: Switched from flatfiles to sqlite for user metadata
56 Version 0.03: Added new DNS commands
57 Version 0.02: Updated wiki pages, added warnings to common errors, added support
58 for trustallcerts
59 Version 0.01: First public version of botnow