[nos-bbs] nntpserv stability fix
M Langelaar
maiko at pcsinternet.ca
Sun Jun 6 21:49:23 EDT 2021
A test file for anyone running NNTP services, look under rsync, new file :
nntpserv_stability_fix.c
Or grab it from www.langelaar.net/jnos2/nntpserv.c using wget :
wget www.langelaar.net/jnos2/nntpserv.c --no-check-certificates
Copy it to your nntpserv.c, and 'make' ..
Protects (from crashing) when nntpserv gets newnews, and there might
be questionable entries' in history file and / or remote group strings.
This 'should' also allow you to access as many groups from the remote
string as they can send (if that makes any sense). The limit was hardcoded
before and JNOS would crash if the remote sent too many of them. The hard
coded string length was just over 500 bytes. It's dynamic now, so no limit.
I'll move it over to nntpserv.c at some point, but if anyone wants to
test it.
Feel free to submit JNOS logfile entries if you see anything ...
Thanks.
Maiko / VE4KLM
More information about the nos-bbs
mailing list