πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82959

Re: Posting to an xrefslave server

#82959
From: John F. Morse
Date: Thu, 08 Apr 2010 00:27
161 lines
6786 bytes
Hi Julien,

You been on vacation?

Julien Γ‰LIE wrote:
> Hi John,
>
>> I was attempting to post to the 2.5.2 server and was experiencing 
>> "Xref: header required in xrefslave mode" failures.
> [...]
>> [05:57:09] NNTP< 441 437 Xref: header required in xrefslave mode
>
> It looks as though your running nnrpd with INN 2.5.2 were not using the
> nnrpdposthost parameter.  It is posting articles to innd on the same 
> server
> with INN 2.5.2.
> Did you properly restart nnrpd if you run it in daemon mode?

I physically moved the computer ... which means it was shut down then 
rebooted in the new location.

Then four posts were properly received and posted. 

Here is how it looks at this moment (ps aux)


news      3866  0.0  0.2  10760  2920 ?        SN   05:13   0:00 - 
nnrpd: n100.my.net ARTIC S
news      3868  0.0  0.2  10676  2104 ?        SN   05:13   0:00 - 
nnrpd: connected                 S
news      3869  0.0  0.2  10676  2104 ?        SN   05:13   0:00 - 
nnrpd: connected                 S
news      6008  0.0  0.2  10704  2784 ?        SN   07:07   0:00 - 
nnrpd: n100.my.net GROUP S
news      6010  0.0  0.2  10704  2752 ?        SN   07:07   0:00 - 
nnrpd: n100.my.net GROUP S
news      6012  0.0  0.2  10760  2920 ?        SN   07:07   0:00 - 
nnrpd: n100.my.net ARTIC S
news      6014  0.0  0.2  10676  2104 ?        SN   07:07   0:00 - 
nnrpd: connected                 S


The new 2.5.2 inn.conf has the following:


# Article Storage

cnfscheckfudgesize:     0
enableoverview:         true
extraoverviewadvertised: [ ]
extraoverviewhidden:    [ ]
groupbaseexpiry:        true
mergetogroups:          false
nfswriter:              false
overcachesize:          64
#ovgrouppat:
storeonxref:            true
useoverchan:            false
wireformat:             false
xrefslave:              true

...

# Posting

addnntppostingdate:     true
addnntppostinghost:     true
checkincludedtext:      false
complaints:             newsmaster@my.net
fromhost:               n102.my.net
localmaxartsize:        1000000
#moderatormailer:
nnrpdauthsender:        false
nnrpdposthost:          optima5.my.net
nnrpdpostport:          119
spoolfirst:             false
strippostcc:            false


/etc/init.d/inn2 has:


start () {
    if [ ! -d /var/run/news ]; then
        mkdir -p /var/run/news
        chown news:news /var/run/news
        chmod 775 /var/run/news
    fi
    su news -c /usr/lib/news/bin/rc.news > /var/log/news/rc.news 2>&1
    su news -c '/usr/lib/news/bin/nnrpd -D -p 563 -S'
}


>> This doesn't make sense. I'm wondering if there is some STARTTLS 
>> issue that I managed to somehow overcome for the four accepted messages?
>
> As far as I know, Thunderbird does not use STARTTLS but directly speaks
> in TLS (usually on port 563, with "nnrpd -S").


I don't know about Thunderbird, nor even about the Claws Mail (but it 
does list STARTTLS). Looking at the following tail of syslog, I see on 
the first line that Thunderbird apparently does (or INN thinks it does):

Apr  7 18:59:06 n102 nnrpd[17565]: starttls: SSLv3 with cipher 
DHE-RSA-AES256-SHA (256/256 bits) no authentication
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net (192.168.89.100) connect 
- port 563
Apr  7 18:59:06 n102 nnrpd[17565]: Reading access from 
/etc/news/readers.conf
Apr  7 18:59:06 n102 nnrpd[17565]: Auth strategy 'localhost' does not 
match client.  Removing.
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net res <anonymous>
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net match_user <anonymous> 
<anonymous>
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net no_post public
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net res starting 
authenticator /usr/lib/news/bin/auth/passwd/ckpasswd -f 
/var/lib/news/passlist
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net auth authenticator 
successful, user john
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net no_match_user john 
<anonymous>
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net no_match_user john 
<localhost>
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net match_user john *
Apr  7 18:59:06 n102 nnrpd[17565]: n100.my.net user john


Then another "ps aux" shows more processes:


news      3869  0.0  0.2  10676  2104 ?        SN   05:13   0:00 - 
nnrpd: connected                 S
news      6008  0.0  0.2  10704  2784 ?        SN   07:07   0:00 - 
nnrpd: n100.my.net GROUP S
news      6010  0.0  0.2  10704  2752 ?        SN   07:07   0:00 - 
nnrpd: n100.my.net GROUP S
news      6012  0.0  0.2  10760  2920 ?        SN   07:07   0:00 - 
nnrpd: n100.my.net ARTIC S
news      6014  0.0  0.2  10676  2104 ?        SN   07:07   0:00 - 
nnrpd: connected                 S
root     17384  0.0  0.2   8236  2720 ?        Ss   18:50   0:00 sshd: 
john [priv]
john     17387  0.0  0.1   8396  1508 ?        S    18:50   0:00 sshd: 
john@pts/7
john     17388  0.0  0.2   5220  2744 pts/7    Ss   18:50   0:00 -bash
news     17419  0.0  0.2  10704  2784 ?        SN   18:57   0:00 - 
nnrpd: n100.my.net GROUP S
news     17564  0.0  0.0   2992   484 ?        S    18:58   0:00 sleep 600
news     17565  0.0  0.2  10704  2784 ?        SN   18:59   0:00 - 
nnrpd: n100.my.net GROUP S


Why are these forked nnrpd processes still listed?


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <hpj7u2$ai5$1@optima5.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail
References: <hpduvs$q8o$1@optima5.xanadu-bbs.net> <87fx398l5n.fsf@windlord.stanford.edu> <hpeam4$tji$1@optima5.xanadu-bbs.net> <87bpdxp730.fsf@windlord.stanford.edu> <hphptq$srq$1@optima5.xanadu-bbs.net> <hpi339$bl6$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <hpj7u2$ai5$1@optima5.xanadu-bbs.net>
Subject: Re: Posting to an xrefslave server
Date: Wed, 07 Apr 2010 19:27:46 -0500
From: "John F. Morse" <john@example.invalid>
References: <hpduvs$q8o$1@optima5.xanadu-bbs.net> <87fx398l5n.fsf@windlord.stanford.edu> <hpeam4$tji$1@optima5.xanadu-bbs.net> <87bpdxp730.fsf@windlord.stanford.edu> <hphptq$srq$1@optima5.xanadu-bbs.net> <hpi339$bl6$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 161
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: optima5.xanadu-bbs.net 1270686466 10821 192.168.89.210 (8 Apr 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Thu, 8 Apr 2010 00:27:46 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
In-Reply-To: <hpi339$bl6$1@news.trigofacile.com>
X-Enigmail-Version: 0.96.0