Trying out different options. TelSRV is lightweight, but I can't seem to get it to pass the IP to the bbs, I assume *I or *IPADDRESS wasn't implemented on it, but was on GameSRV.
I haven't used TelSrv or GameSrv myself, I am using DOSBox-X (in a Linux host) to handle the telnet<>serial port softmodem interface. So I don't know how much information I can offer to you, but I do have questions of my own!
Is there any kind of 'standard' way to pass IP address from a telnet server to BBS software?
I added "caller ID" to the DOSBox-X softmodem so that the caller's IP address is sent after the first RING in a compatible format to telephone caller ID. This worked well for me, BUT - I updated my configuration so now I am running a proxy server that passes connections to the DOSBox instances, and now DOSBox only sees the IP of my own proxy server.
My proxy server runs "Telnet Ringdown" software that I wrote, it's pretty basic and listens on port 23 then makes a connection to the BBS server from a list of ports that have DOSBox instances listening. I also do some bot detection in the ringdown server.
https://github.com/akacastor/ringdown
So now as a way to retrieve the caller's IP from the Ringdown server, I implemented an escape code similar to the Hayes modem '+++' sequence. This works alright, I can retrieve the IP address from a script on the BBS, but there is a couple seconds pause for guard time before the sequence which is mildly annoying. But I didn't come up with a cleaner way to do it in-band.
I'm curious what other solutions / hacks for these problems people are using.
Chris/akacastor
--- Maximus 3.01
* Origin: Another Millennium - Canada - another.tel (21:1/162)