Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 2236  |
|  Janis Kracht to Jeff Smith  |
|  finally :)  |
|  28 Apr 19 11:57:44  |
 MSGID: 1:261/38.0 767dbe7d REPLY: 1:282/1031.0 8e6c544e TZUTC: -0500 CHARSET: LATIN-1 Hi Jeff, >>If your BBBS is being hit time after time with bots, this script may fix it f >> you... I've been running this script now for about 15 minutes, and everytime >> Yandex kills bbbsd this script runs my script that brings it back up.. :) > [...] >> check_process "bbbsd" >> [ $? -eq 0 ] && echo "$ts: not running, restarting..." && `./telnetnode.sh > >> /dev/null` >I take it that telnetnode.sh (re)starts your bbbsd daemon? Yes, it does. Here is telnetnode.sh: ===cut here=== #/bin/sh cd /home/bbbs ./bbbsd 4 15 telnetd:2030 httpd:8090 ftpd:60721 rawd:24555:binkp "quiet" "fork" "uid:bbs" & ===cut here=== The "./bbbsd 4 15" line wraps in this message. >I don't recall, does > BBBS create any bsy files that would prevent bbbsd from reloading until any > such files were taken care of? It's not like BinkD, if that's what you mean, so it doesn't that I can remember. >I have tightened down iptables to limit the multiple telnet attempts. Which ha > helped but I still occasionally run out of available nodes. Even though the > busy nodes are cleared more quickly now. I thought I had as well... but this darn bot from Yandex kept taking it down.. They did it three times yesterday, which is why I started searching for a good script to restart a daemon. The script I posted is just perfect IMO. :) Running out of available nodes was exactly the problem over here as well... Take care, Janis --- BBBS/Li6 v4.10 Toy-4 * Origin: Prism bbs (1:261/38) SEEN-BY: 1/19 123 14/5 15/0 2 16/0 19/36 34/999 90/1 104/57 106/201 SEEN-BY: 116/18 120/331 123/130 131 140 128/2 153/7715 203/0 218/700 SEEN-BY: 221/0 1 6 360 222/2 226/17 229/354 426 452 1014 230/0 150 SEEN-BY: 230/152 240/1120 5832 249/206 317 250/1 261/38 100 266/512 SEEN-BY: 267/155 275/100 280/464 5003 282/1031 1056 291/1 111 292/140 SEEN-BY: 292/854 8125 317/3 320/119 219 322/0 757 335/364 340/400 SEEN-BY: 342/13 200 393/68 396/45 640/1384 712/848 801/161 189 3634/12 SEEN-BY: 5020/1042 PATH: 261/38 320/219 221/1 292/854 229/426 |
[ << oldest | < older | list | newer > | newest >> ]