🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51146

Re: Earthquake - new version

#51146
From: Jonas Luster
Date: Tue, 13 Mar 2001 06:15
31 lines
1944 bytes
* Kenichi Okada sez: 

>  Why does earthquake send `239' and msgid on separated packets?
>  It will waste network band width.
>  
>  % ngrep -d lo port 119
>  
>  T 130.54.30.185:119 -> 130.54.30.185:3190 [AP]
>    239                                                                        
>  ##
>  T 130.54.30.185:119 -> 130.54.30.185:3190 [AP]
>    <nntpbench.984454970.542624@inari.kuee.kyoto-u.ac.jp>..                    

This seems to be fixed in the current 'current' version on the
homepage. Before I reecall it sending both (numeric code and
message-ID) in a sepearte buffer, now it looks like this:

.-{feedin.c}
|
| /* send okey msg */
|  sprintf(buf,"239 %s\r\n",article->msgid);
|   NetWriteStr(net,buf);
|  } else {
|  /* send rejected msg */
|  sprintf(buf,"439 %s\r\n",article->msgid);
|   NetWriteStr(net,buf);

appending article->msgid to the buffer _before_ sending the buffer.

jonas
Technical Details
Message-ID: <thisisamsgid-98kdt4/m3u/1@netwarriors.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.cs.utwente.nl!phil.uu.nl!norestforthewicked.netwarriors.org!org.x----------x
References: <20010312.160721.1967681095.16798@dragon.nibble.net> <4rwyz5zw@opaopa.org>

Show Full Headers
Complete Article Headers
Message-ID: <thisisamsgid-98kdt4/m3u/1@netwarriors.org>
Subject: Re: Earthquake - new version
Date: Tue, 13 Mar 2001 06:15:00 +0000
From: org.x----------x@x----------x.org (Jonas Luster)
References: <20010312.160721.1967681095.16798@dragon.nibble.net> <4rwyz5zw@opaopa.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.cs.utwente.nl!phil.uu.nl!norestforthewicked.netwarriors.org!org.x----------x
Newsgroups: news.software.nntp
Organization: They call me the wild rose...
Lines: 30
NNTP-Posting-Host: preacher.netwarriors.org
X-Trace: preacher.netwarriors.org 984464100 22654 216.34.142.180 (13 Mar 2001 06:15:00 GMT)
X-Complaints-To: abuse@netwarriors.org
NNTP-Posting-Date: 13 Mar 2001 06:15:00 GMT
User-Agent: narn ["new dawn"] v0.05 (FreeBSD)