[BACK]Return to README CVS log [TXT][DIR] Up to [local] / botnow

File: [local] / botnow / README (download)

Revision 1.1, Sat May 15 15:12:32 2021 UTC (2 years, 11 months ago) by bountyht
Branch: MAIN

Initial revision

botnow: the versatile IRC bot

botnow has only been tested on openbsd 6.7

### System requirements ###

In order to install botnow, you will need to have the following installed and
configured:

1) sendmail (https://wiki.ircnow.org/index.php?n=Openbsd.Opensmtpd)
2) nsd (https://wiki.ircnow.org/index.php?n=Openbsd.Nsd)
3) openhttpd (https://wiki.ircnow.org/index.php?n=Openbsd.Openhttpd)
4) php (https://wiki.ircnow.org/index.php?n=Openbsd.Php)
5) znc (https://wiki.ircnow.org/index.php?n=Openbsd.Znc)
6) IPv6 (https://wiki.ircnow.org/index.php?n=Openbsd.Staticnet)

### Install instructions ###

$ tar xvzf botnow.tgz
$ cd botnow
$ doas make
$ doas su botnow
$ cd /home/botnow/
$ cp botnow.conf.example botnow.conf

Fill the file ipv6s with all the unused IPv6 addresses available on your server.

$ vi botnow.conf
$ ./botnow.pl

### Configuration of httpd.conf ###

server "www.$hostname" {
        alias "$hostname"
        listen on $ext_ip port 80
        location "/.well-known/acme-challenge/*" {
                root "/acme"
                request strip 2
        }
        location "*.php" {
            fastcgi socket "/run/php-fpm.sock"
        }
        root "/htdocs/ircnow/"
}

### Reinstall ###

If you need to reinstall, run

$ doas make -i

### Changelog ###

Version 0.07: Added support for requesting shell accounts
Version 0.06: Refactored code to be modular
Version 0.05: Refactored conf file out of the script and supplied sensible defaults
Version 0.04: Switched from flatfiles to sqlite for user metadata
Version 0.03: Added new DNS commands
Version 0.02: Updated wiki pages, added warnings to common errors, added support
for trustallcerts
Version 0.01: First public version of botnow