Subj : syncWXremix and Dial-up
To : KenDB3
From : echicken
Date : Thu Jan 07 2016 01:42 am
Re: syncWXremix and Dial-up
By: KenDB3 to echicken on Thu Jan 07 2016 01:11:30
Ke> According to DM, user.connection should return a connection speed for a
Ke> dialup user (e.g. "28800") rather than a protocol string (e.g. "Telnet").
Ke> So the > 0 made sense. I gave it some mock data, and it returned "true" if
Ke> I fed it 28800, and "false" if I fed it the word Telnet.
Yes - I was wrong, and that makes sense.
Ke> I don't know SEXPOTS (or any dialup to telnet bridge) well enough to know
Ke> if the Caller ID was going to come back with 10-digit (4162737230),
Ke> 11-digit (14162737230), +1 format, or even the short 7-digit pattern. So,
It depends entirely on what caller-ID data the modem gives to the BBS, if any.
There may also be international numbers, which would be entirely different.
Not worth trying to do a pattern-match, I wouldn't think.
Ke> I was avoiding testing the user.ip_address field even though the phone
Ke> number was ending up there. I'm not sure if that behavior is predictable
I think that's where I got confused (I forgot you were using user.connection.)
Ke> across the board. If the sysop had dialup but not Caller ID from thier
Ke> telco, what does SEXPOTS drop into the user.ip_address? Does it work in
I think that DM mentioned that the fallback user.ip_address for SEXPOTS
connections lacking caller-ID info would be the SEXPOTS proxy's IP address.
This won't always be on the local network - in my case, I run SEXPOTS at home,
but my BBS is elsewhere.