Blame
Date:
Tue Sep 22 09:18:42 2020 UTC
Message:
Added more options to botnow.conf
01
2020-09-08
jrmu
botnow: the IRCNow bot for internet services
02
2020-09-08
jrmu
03
2020-09-08
jrmu
botnow has only been tested on openbsd 6.7
04
2020-09-08
jrmu
05
2020-09-08
jrmu
### System requirements ###
06
2020-09-08
jrmu
07
2020-09-08
jrmu
In order to install botnow, you will need to have the following installed and
08
2020-09-08
jrmu
configured:
09
2020-09-08
jrmu
10
2020-09-08
jrmu
1) sendmail (https://wiki.ircnow.org/index.php?n=Openbsd.Opensmtpd)
11
2020-09-08
jrmu
2) nsd (https://wiki.ircnow.org/index.php?n=Openbsd.Nsd)
12
2020-09-08
jrmu
3) openhttpd (https://wiki.ircnow.org/index.php?n=Openbsd.Openhttpd)
13
2020-09-08
jrmu
4) php (https://wiki.ircnow.org/index.php?n=Openbsd.Php)
14
2020-09-08
jrmu
5) znc (https://wiki.ircnow.org/index.php?n=Openbsd.Znc)
15
2020-09-08
jrmu
6) IPv6 (https://wiki.ircnow.org/index.php?n=Openbsd.Staticnet)
16
2020-09-08
jrmu
17
2020-09-08
jrmu
### Install instructions ###
18
2020-09-08
jrmu
19
2020-09-08
jrmu
$ tar xvzf botnow.tgz
20
2020-09-08
jrmu
$ cd botnow
21
2020-09-08
jrmu
$ doas make
22
2020-09-08
jrmu
$ doas su botnow
23
2020-09-08
jrmu
$ cd /home/botnow/
24
2020-09-08
jrmu
25
2020-09-08
jrmu
Fill the file ipv6s with all the free IPv6 addresses available on your server.
26
2020-09-08
jrmu
27
2020-09-08
jrmu
Edit the variables in botnow.pl
28
2020-09-08
jrmu
29
2020-09-08
jrmu
$ ./botnow.pl
30
2020-09-08
jrmu
31
2020-09-08
jrmu
### Configuration of httpd.conf ###
32
2020-09-08
jrmu
33
2020-09-08
jrmu
server "www.$hostname" {
34
2020-09-08
jrmu
alias "$hostname"
35
2020-09-08
jrmu
listen on $ext_ip port 80
36
2020-09-08
jrmu
location "/.well-known/acme-challenge/*" {
37
2020-09-08
jrmu
root "/acme"
38
2020-09-08
jrmu
request strip 2
39
2020-09-08
jrmu
}
40
2020-09-08
jrmu
location "*.php" {
41
2020-09-08
jrmu
fastcgi socket "/run/php-fpm.sock"
42
2020-09-08
jrmu
}
43
2020-09-08
jrmu
root "/htdocs/ircnow/"
44
2020-09-08
jrmu
}
45
2020-09-08
jrmu
46
2020-09-08
jrmu
### Reinstall ###
47
2020-09-08
jrmu
48
2020-09-08
jrmu
If you need to reinstall, run
49
2020-09-08
jrmu
50
2020-09-08
jrmu
$ doas make -i
51
2020-09-08
jrmu
52
2020-09-08
jrmu
### Changelog ###
53
2020-09-08
jrmu
54
2020-09-21
jrmu
Version 0.04: Switched from flatfiles to sqlite for user metadata
55
2020-09-21
jrmu
Version 0.03: Added new DNS commands
56
2020-09-08
jrmu
Version 0.02: Updated wiki pages, added warnings to common errors, added support
57
2020-09-08
jrmu
for trustallcerts
58
2020-09-21
jrmu
Version 0.01: First public version of botnow