🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #47420

Re: Test farm up, no restrictions, knock yourselves out.

#47420
From: Curt
Date: Tue, 08 Jun 2004 23:17
32 lines
2921 bytes
>>Okay I just looked the code over and this IS possible.
>>
>>As the new content comes in, its possible for the ambiguity detector
>>to be fooled (after its twin is expired!) and therefor give you the
>>wrong answer. It should be a VERY rare artifact, and will go away
>>entirely after a single retention cycle, when all messageID's will be
>>indexed with the fix.
> 
> For robustness, you might want to add a sanity check - you have both
> strings in memory at this point anyway, a simple strcmp() equivalent
> shouldn't break the bank. It would also allow you to log every time
> this problem happens (on the slow path should the sanity check fail),
> making diagnostics easier in future...
> 

I thought of that, but the part of the code doing the check only knows the 
messageid hash (modded), not the message id itself, or the original hash. I 
could easily expose that but didn't for 3 reasons.

1) it would require a change to a deeply included header, requiring a pain-
in-the-ass recompile

2) this is a test server which is not scheduled to go live until well after 
this bug has worked itself out in a retention cycle

3) I am afraid that I'll forget to take it out later and have a needless 
check in code that needs to run blazing fast. (weakest reason, really, 
since we're talking 4 bytes of stack space and a single compare.. probobly 
3 whole opcodes saved ;)

-Curt
Technical Details
Message-ID: <Xns9502C3D8791DAcurharthighsoftw@63.223.5.254>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20140909.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc1.usenetserver.com!news.usenetserver.com!fe18.usenetserver.com.POSTED!7ba983cc!not-for-mail
References: <Xns94FFE31A6C494curharthighsoftw@216.77.188.18> <hi25c0t87a1mlckvc8n7gd47t8r9o2ut92@4ax.com> <MXLwc.1766$HP.18724902@news-text.cableinet.net> <Xns9500CE3DBA6C3cunohighsger@216.77.188.18> <Xns9500E14851821vegasedvegasedvegase@63.223.5.254> <Xns9501EEACB410cunohighsger@216.77.188.18> <f63ac09t7kufpu062o0koo0617vl4j9l8i@4ax.com> <Xns950216CDBEC60chucknomaicom@216.77.188.18> <Xns95021884A753Cchucknomaicom@216.77.188.18> <o6vac0dlhv25i6u66bmjob45eakdnotqoi@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9502C3D8791DAcurharthighsoftw@63.223.5.254>
Subject: Re: Test farm up, no restrictions, knock yourselves out.
Date: Tue, 08 Jun 2004 23:17:29 GMT
From: Curt <curt.hartungN@SPAMhighwinds-software.com>
References: <Xns94FFE31A6C494curharthighsoftw@216.77.188.18> <hi25c0t87a1mlckvc8n7gd47t8r9o2ut92@4ax.com> <MXLwc.1766$HP.18724902@news-text.cableinet.net> <Xns9500CE3DBA6C3cunohighsger@216.77.188.18> <Xns9500E14851821vegasedvegasedvegase@63.223.5.254> <Xns9501EEACB410cunohighsger@216.77.188.18> <f63ac09t7kufpu062o0koo0617vl4j9l8i@4ax.com> <Xns950216CDBEC60chucknomaicom@216.77.188.18> <Xns95021884A753Cchucknomaicom@216.77.188.18> <o6vac0dlhv25i6u66bmjob45eakdnotqoi@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20140909.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc1.usenetserver.com!news.usenetserver.com!fe18.usenetserver.com.POSTED!7ba983cc!not-for-mail
Newsgroups: alt.free.newsservers
Organization: Highwinds-Software
User-Agent: Xnews/06.08.25
Lines: 31
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Tue, 08 Jun 2004 19:17:29 EDT