Blame
Date:
Sun Oct 8 22:28:02 2023 UTC
Message:
Now prevents creating accounts that exist in database with a password
01
2021-12-17
jrmu
botnow: the versatile IRC bot
02
2021-12-17
jrmu
03
2023-06-18
jrmu
botnow has only been tested on openbsd 7.3
04
2021-12-17
jrmu
05
2021-12-17
jrmu
### System requirements ###
06
2021-12-17
jrmu
07
2021-12-17
jrmu
In order to install botnow, you will need to have the following installed and
08
2021-12-17
jrmu
configured:
09
2021-12-17
jrmu
10
2021-12-17
jrmu
1) sendmail (https://wiki.ircnow.org/index.php?n=Opensmtpd.Configure)
11
2021-12-17
jrmu
2) nsd (https://wiki.ircnow.org/index.php?n=Nsd.Configure)
12
2021-12-17
jrmu
3) openhttpd (https://wiki.ircnow.org/index.php?n=Openhttpd.Configure)
13
2023-06-18
jrmu
4) znc (https://wiki.ircnow.org/index.php?n=Znc.Chroot)
14
2023-06-18
jrmu
5) IPv6 (https://wiki.ircnow.org/index.php?n=Hostnameif.Static)
15
2021-12-17
jrmu
16
2021-12-17
jrmu
### Install instructions ###
17
2021-12-17
jrmu
18
2021-12-17
jrmu
$ tar xvzf botnow.tgz
19
2021-12-17
jrmu
$ cd botnow
20
2023-02-20
jrmu
$ doas ./install
21
2023-06-18
jrmu
$ doas su botnow
22
2023-06-18
jrmu
$ cd /home/botnow
23
2021-12-17
jrmu
$ cp botnow.conf.example botnow.conf
24
2021-12-17
jrmu
$ vi botnow.conf
25
2023-06-18
jrmu
$ ./botnow
26
2021-12-17
jrmu
27
2021-12-17
jrmu
### Configuration of httpd.conf ###
28
2021-12-17
jrmu
29
2021-12-17
jrmu
server "www.$hostname" {
30
2021-12-17
jrmu
alias "$hostname"
31
2021-12-17
jrmu
listen on $ext_ip port 80
32
2021-12-17
jrmu
location "/.well-known/acme-challenge/*" {
33
2021-12-17
jrmu
root "/acme"
34
2021-12-17
jrmu
request strip 2
35
2021-12-17
jrmu
}
36
2021-12-17
jrmu
location "*.php" {
37
2021-12-17
jrmu
fastcgi socket "/run/php-fpm.sock"
38
2021-12-17
jrmu
}
39
2021-12-17
jrmu
root "/htdocs/ircnow/"
40
2021-12-17
jrmu
}
41
2021-12-17
jrmu
42
2021-12-17
jrmu
### Reinstall ###
43
2021-12-17
jrmu
44
2021-12-17
jrmu
If you need to reinstall, run
45
2021-12-17
jrmu
46
2021-12-17
jrmu
$ doas make -i
47
2021-12-17
jrmu
48
2021-12-17
jrmu
### Changelog ###
49
2021-12-17
jrmu
50
2023-06-18
jrmu
Version 0.08: Automatically generate IPv6 addresses and handle rDNS zone files using NSD, and added more configuration options
51
2021-12-17
jrmu
Version 0.07: Added support for requesting shell accounts
52
2021-12-17
jrmu
Version 0.06: Refactored code to be modular
53
2021-12-17
jrmu
Version 0.05: Refactored conf file out of the script and supplied sensible defaults
54
2021-12-17
jrmu
Version 0.04: Switched from flatfiles to sqlite for user metadata
55
2021-12-17
jrmu
Version 0.03: Added new DNS commands
56
2021-12-17
jrmu
Version 0.02: Updated wiki pages, added warnings to common errors, added support
57
2021-12-17
jrmu
for trustallcerts
58
2021-12-17
jrmu
Version 0.01: First public version of botnow
IRCNow