go4retro / tcpser

Hayes modem emulator application
106 stars 30 forks source link

Feature Request... #18

Open bucko219 opened 2 years ago

bucko219 commented 2 years ago

I get hit with a ton of bots because my BBS runs on port 3000, unfortunately with using software which does not have a built in emulated modem (running Image BBS v3.0 in Vice on Debian 11), we have to use external programs to do the "modeming". On real hardware I used BBS Server because it worked great with my BBS Software and was extremely configurable. In Vice I use TCPSER because lets face it, it works and works well! My feature request is this, can a switch be added to TCPSER that would allow the "modem" to stay off-hook for x amount of seconds? In other words, a bot connects and immediately drops "carrier", then immediately connects again, and so on for another 4 or 5 times, unfortunately my software gets stuck in the middle of trying to connect, the disconnect and sometimes will just plain lockup, what the switch will do is keep the line "off-hook" for say x amount of seconds (configurable by the user) so as to in my case allow the BBS to reboot to waiting for call cleanly. Usually by this time the bot gives up and moves on to another IP address.. I know I can use Fail2Ban, and I am going to install and configure that this weekend, but it would be nice to have something built in to TCPSER to not necessarily prevent it but help a little with it. Is something like this possible??