Article View: news.software.nn
Article #10634Re: [long] nntpserver error and debug logged
From: Arctic Fidelity
Date: Sun, 06 Mar 2005 07:35
Date: Sun, 06 Mar 2005 07:35
37 lines
2740 bytes
2740 bytes
flaps@dgp.toronto.edu (Alan J Rosenthal) writes: >Arctic Fidelity <spam@sacrificumdeo.net> writes: >>% od -b /etc/nntpserver >Oh well, it was worth a shot. I don't know how to pursue this remotely, but >if I were there, I would be either using gdb or putting in printf statements, >to figure out whether it's getting the host name, whether it's looking it up >right, etc. I did, that's where all the previous stuff I put up there was. Basically, it's going through all the right steps in nntp.c. It's finding the correct hostname, and it is registering it as valid, because I added some lines to the "NNTPSERVER is invalid" error, and it's NOT going to that error in nntp.c, which is the ONLY occurance of that error anywhere in the nn source. That is what has me stumped. How on earth is it still printing that error if it's not even going to that error? The only conclusion I have is that the error must be somewhere else, in another function. But that code obviously isn't in NN's source. So where is it? I changed nn so that if the error was printed through the logic in nntp.c, it would print: Bad something or another, check /etc/nntpserver NNTPSERVER is invalid. If you look at the code, you'll see how this can be done easily. However, my additional lines were not printed, only the last error, which makes me a very confused person indeed. - Arctic Fidelity -- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth
Technical Details
Message-ID:
<vrednTHX36o2L7ffRVn-vg@gvtc.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.gvtc.com!news.gvtc.com.POSTED!not-for-mailReferences:
<5ridnR3tOZKw1LvfRVn-gQ@gvtc.com> <2005Mar3.133840.23090@jarvis.cs.toronto.edu> <2Omdnc1oOLcrUbrfRVn-rg@gvtc.com> <2005Mar5.231119.14151@jarvis.cs.toronto.edu>Show Full Headers
Complete Article Headers
Message-ID: <vrednTHX36o2L7ffRVn-vg@gvtc.com> Subject: Re: [long] nntpserver error and debug logged Date: Sun, 06 Mar 2005 01:35:07 -0600 From: Arctic Fidelity <af@sacrificumdeo.net> References: <5ridnR3tOZKw1LvfRVn-gQ@gvtc.com> <2005Mar3.133840.23090@jarvis.cs.toronto.edu> <2Omdnc1oOLcrUbrfRVn-rg@gvtc.com> <2005Mar5.231119.14151@jarvis.cs.toronto.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.gvtc.com!news.gvtc.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 06 Mar 2005 01:35:07 -0600 Newsgroups: news.software.nn User-Agent: nn/6.6.5 Lines: 37 X-Trace: sv3-0KLu9ZHRkn9uKABZFWcxu5sTj9vJCLEHUjs+SPC8FmrnrTvTW7yAI9UbPKyk/ibIFrdan1CsN+8FWFI!jZdWElpyWwCptAOk7YDBHiBUlohvi149Tn6hvfWtzcM4U35XKJjYnmd5yuTpCuIGME0G X-Complaints-To: abuse@gvtc.com X-DMCA-Complaints-To: abuse@gvtc.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32