I've been testing out the Mystic NNTP server recently and noticed some odd >behavior while accessing it though Thunderbird.
Thunderbird has been asking me if I want to subscribe to the numerical msgid >of a message on every one viewed as though it were a newsgroup. If I click on >Yes it unsurprisingly fails to find a newsgroup named, for example, "1067" >and then asks if I want to unsubscribe. I'm not sure what it's seeing or >misinterpreting in the NNTP traffic from Mystic that's causing it to do this.
If I view a message in one group with a particular ID (eg: msg #1 in FSX_BBS) >and then view a message in a different group with the same ID (eg: msg #1 in >FSX_BOT) it gives me the previous message instead. It will continue to do >this in every subsequent group, displaying the message with the ID from the >first group it was retrieved from instead.
After using NNTP for a while it eventually gets into a state where the NNTP >server reports no new messages in any group (even if there are) and the next >message you try to view no longer exists (even if it does). Immediately after >the first "423 No such article" response, authentication breaks the moment >any other article is accessed. The server sends the client a "450 Auth >required" message, which Thunderbird responds to with authinfo user and pass >and gets a "482 Bad authentication sequence" response.
I also discovered completely by accident that BINKP somehow broke as well >when this occurred. While in the middle of testing this, Todd Zieman's system >connected to mine to drop off mail and this happened:
+ 2017.12.31 03:08:01 BINKP > Connect on slot 1/6
+ 2017.12.31 03:08:01 BINKP 1-Address 108.204.225.235
+ 2017.12.31 03:08:01 BINKP 1-HostName Unknown
+ 2017.12.31 03:08:02 BINKP 1-S: NUL OPT CRAM-MD5-e689261c4a8428460e1166c5eec >+ 2017.12.31 03:08:02 BINKP 1-S: NUL SYS Subcarrier BBS
+ 2017.12.31 03:08:02 BINKP 1-S: NUL ZYZ Static
+ 2017.12.31 03:08:02 BINKP 1-S: NUL VER Mystic/1.12A36 binkp/1.0
+ 2017.12.31 03:08:02 BINKP 1-S: ADR 1:249/400@fidonet 21:2/140@fsxnet 80:774 >+ 2017.12.31 03:08:02 BINKP 1-C: NUL SYS fsxHUB Tholian [NET2]
+ 2017.12.31 03:08:02 BINKP 1-System fsxHUB Tholian [NET2]
+ 2017.12.31 03:08:02 BINKP 1-C: NUL ZYZ Todd Zieman
+ 2017.12.31 03:08:02 BINKP 1-SysOp Todd Zieman
+ 2017.12.31 03:08:02 BINKP 1-C: NUL VER Mystic/1.12A37 binkp/1.0
+ 2017.12.31 03:08:02 BINKP 1-Mailer Mystic/1.12A37 binkp/1.0
+ 2017.12.31 03:08:02 BINKP 1-C: ADR 21:2/0@fsxnet 21:2/100@fsxnet
+ 2017.12.31 03:08:02 BINKP 1-C: PWD
+ 2017.12.31 03:08:02 BINKP 1-Unable to open nodes: 4
+ 2017.12.31 03:08:02 BINKP 1-Cannot authenticate client
+ 2017.12.31 03:08:02 BINKP 1-S: ERR Bad address or password
+ 2017.12.31 03:08:02 BINKP 1-Client thread shutting down
MIS had to be shut down and restarted to correct the state it had gotten into.
--- Mystic BBS v1.12 A36 2017/12/03 (Linux/64)
* Origin: Subcarrier BBS (21:2/140)
I've been testing out the Mystic NNTP server recently and noticed some
odd behavior while accessing it though Thunderbird.
MIS had to be shut down and restarted to correct the state it had gotten into.
I get very similar issues when just subscribing to new newsgroups
(message bases)
I think he was at some point going to re work all of the NNTP server.
Error code 4 is too many files open which is configurable in Linux.
If either of these are set conservatively then I believe your server
will more or less be "sabotaged" by Linux when either limit is reached.
think Linux has a "hard" and "soft" limit of files. Hard meaning the
total number of files that can be opened at one time, and a soft limit being the total number of files that a user can open in total.
Another thing to check would be the open files used by MIS.
This should show us if a bunch of files are being left open:
I can confirm the file limits are definitely not conservative on the system the BBS is running on. They're defaulted to 2048/8192 which IIRC
is double the norm.
Even the 30 you mentioned is probably exaggerated because each server listening will count as a file as well as each virtual TTY, and so on.
Anyway... this was great it gave me some direction seeing an actual error number, and I was able to find a leak in the NNTP server in a few
places. I patched it up in the latest prealpha that is now on the FTP site, so hopefully that will clear up the issues.
Happy new year!
YOu wont believe this, but whatever you fixed for him fixed my issues
with NNTP! Yes!
Client works now.
YOu wont believe this, but whatever you fixed for him fixed my issues with NNTP! Yes!
Client works now.
Good to hear :)
Yep his error number gave it away, so I was able to find the issue. I wasn't >totally sure it'd fix your issue but I thought it probably would!
--- Mystic BBS v1.12 A37 2017/12/31 (Windows/32)
* Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
Yep his error number gave it away, so I was able to find the issue. I wasn't totally sure it'd fix your issue but I thought it probably would!
YOu wont believe this, but whatever you fixed for him fixed my issues
with NNTP! Yes!
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 203:04:48 |
Calls: | 2,083 |
Calls today: | 1 |
Files: | 11,139 |
Messages: | 947,989 |