Update documents etc

This commit is contained in:
Andrew Pamment 2018-06-19 09:11:52 +10:00
parent 1684f8ab39
commit 5853f46f5b
3 changed files with 11 additions and 4 deletions

2
dist/config/bbs.ini vendored
View File

@ -29,6 +29,8 @@ MQTT Enable = false
MQTT Port = 2027 MQTT Port = 2027
MQTT Address = localhost MQTT Address = localhost
MQTT Topic = MagickaBBS MQTT Topic = MagickaBBS
; MQTT User = username
; MQTT Pass = secretpassword
IP Guard Enable = true IP Guard Enable = true
IP Guard Timeout = 120 IP Guard Timeout = 120
IP Guard Tries = 4 IP Guard Tries = 4

View File

@ -29,9 +29,12 @@ This is the main bbs INI file and contains the following sections
* **QWK Name** Name used for the system for Bluewave (Required - restricted to 8 characters) * **QWK Name** Name used for the system for Bluewave (Required - restricted to 8 characters)
* **Main AKA** Your main network address (Required) * **Main AKA** Your main network address (Required)
* **QWK Max Messages** Maximum number of messages per Bluewave bundle (Required) * **QWK Max Messages** Maximum number of messages per Bluewave bundle (Required)
* **Broadcast Enable** Set to true to enable the Broadcast Feature (Required) * **MQTT Enable** Enables / Disables MQTT Messages (Required)
* **Broadcast Port** The port to send broadcast messages on (Required) * **MQTT Port** Port that your MQTT server listens on (Required if MQTT Enabled)
* **Broadcast Address** The address to broadcast on (Required) * **MQTT Address** Address of your MQTT server (Required if MQTT Enabled)
* **MQTT Topic** Topic your BBS publishes to (Required if MQTT Enabled)
* **MQTT User** Username to login to your MQTT server (Optional)
* **MQTT Pass** Password to login to your MQTT server (Optional)
* **IP Guard Enable** Set to true to enable the IP Guard (Required) * **IP Guard Enable** Set to true to enable the IP Guard (Required)
* **IP Guard Timeout** Timeout between connections (Required) * **IP Guard Timeout** Timeout between connections (Required)
* **IP Guard Tries** Number of connections allowed within IP Guard Timeout (Required) * **IP Guard Tries** Number of connections allowed within IP Guard Timeout (Required)

View File

@ -948,7 +948,7 @@ void runbbs_real(int socket, char *ip, int ssh) {
} else { } else {
sshBBS = 1; sshBBS = 1;
} }
broadcast("USER: unknown; NODE:%d; STATUS: Logging in.", mynode);
s_printf("Magicka BBS v%d.%d (%s), Loading...\r\n", VERSION_MAJOR, VERSION_MINOR, VERSION_STR); s_printf("Magicka BBS v%d.%d (%s), Loading...\r\n", VERSION_MAJOR, VERSION_MINOR, VERSION_STR);
// find out which node we are // find out which node we are
@ -978,6 +978,8 @@ void runbbs_real(int socket, char *ip, int ssh) {
exit(1); exit(1);
} }
broadcast("USER: unknown; NODE:%d; STATUS: Logging in.", mynode);
dolog("Incoming %s connection on node %d", (ssh ? "SSH" : "Telnet"), mynode); dolog("Incoming %s connection on node %d", (ssh ? "SSH" : "Telnet"), mynode);
s_displayansi("issue"); s_displayansi("issue");