TIP: Click on subject to list as thread! ANSI
echo: jamnntpd
to: ALL
from: RICK CHRISTIAN
date: 2016-10-31 10:38:00
subject: JamNNTPd Ticket #6

   Hello everybody!

Since I've not seen any comments or anything about the ticket I entered, #6,
https://sourceforge.net/p/ftnapps/jamnntpd/tickets/6/

This is a *possible* resolution...

I can't test as I have no verified working JAM base setup to use, yet...

So maybe some one can compile it and determine if Pan and KNode will then
connect, since they won't now since the MODE READER command is not implemented.

Basically just fake them out... since they STRICTLY follow the RFC and thus
that command must work or they won't connect.. other NNTP clients may be more
forgiving in this, but these ones are not. And in the case of PAN I am pretty
sure they will say JamNNTPd is not compliant to the RFC's and won't workaround
it. Hell they had some hissy fit over SSL libs...and now their SSL support is
fubar'd.

===code===
        else if(stricmp(cmd,"MODE READER")==0)
         {
            socksendtext(&var,"200 Welcome to " SERVER_NAME " " SERVER_VERSION
" (posting may or may not be allowed, try your luck)" CRLF);
            socksendtext(&var,"." CRLF);;
         }

~/jamnntpd_fix $ diff nntpserv.c nntpserv.c.orig
3196,3200d3195
<          else if(stricmp(cmd,"MODE READER")==0)
<          {
<             socksendtext(&var,"200 Welcome to " SERVER_NAME " "
SERVER_VERSION " (posting may or may not be allowed, try your luck)" CRLF);
<             socksendtext(&var,"." CRLF);;
<          }



Rick


--- GoldED+/LNX 1.1.5-b20160322
* Origin: Vina's Talso Moon Base Alpha (1:135/377)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.