🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Tony Fri, 01 Jan 2010 19:32
inn2: Query about logfile 'news' and incoming.conf
#82450
Author: Tony
Date: Fri, 01 Jan 2010 19:32
52 lines
2592 bytes
Hi,

I'm using inn2 (v2.4.5 from Debian stable) and I'm confused about the 
format of the 'news' logfile (although I'm sure I've just made a mistake 
somewhere).

In that log file, what should the third field be, for articles submitted 
via remote readers (so date/time, action, field 3, message-id ....)

I'm asking because my server was putting 'not-for-mail' in that field at 
one stage, but is now putting the target hostname of one of it's peers, 
even though the message was submitted via nnrpd locally.

For example, it used to say,

Jan  1 11:09:26.323 + not-for-mail <some@mid> 1195 peer1 peer2 inpaths!

but I've obviously changed something incorrectly today because it now says,

Jan  1 19:01:33.589 + darkstorm-out.peer2 <some@mid> 1387 peer1 peer2 
inpaths!

for articles posted from a remote client.  The only place 
darkstorm-out.peer appears is in incoming.conf so I guess I've screwed 
it up somehow.

incoming.conf-

streaming:              true   # streaming allowed by default
max-connections:        4      # per feed

peer ME {
   hostname:         "localhost, 127.0.0.1"
}

peer peer2 {
         hostname: darkstorm-out.peer2
         patterns: uk.*
}

peer peer1 {
   hostname: peer1
   patterns: uk.*
}


-- 
Tony Evans
Saving trees and wasting electrons since 1993
blog -> http://perceptionistruth.com/
olmr -> http://www.onelinemoviereviews.co.uk/
[ anything below this line wasn't written by me ]
Re: inn2: Query about logfile 'news' and incoming.conf
#82454
Author: Alexander Bartolich
Date: Fri, 01 Jan 2010 21:57
19 lines
2012 bytes
Tony wrote:
> [...]
> In that log file, what should the third field be, for articles submitted 
> via remote readers (so date/time, action, field 3, message-id ....)
> [...]
> but I've obviously changed something incorrectly today because it now says,
>
> Jan  1 19:01:33.589 + darkstorm-out.peer2 <some@mid> 1387 peer1 peer2 
                        ^^^^^^^^^^^^^^^^^^^

Either "pathhost:" in "inn.conf" is strange. Or you have option
"virtualhost" enabled in "readers.conf" (and a strange value for
"domain").

-- 
Lass die Leute reden und lächle einfach mild,
Die meisten Leute haben ihre Bildung aus der Bild.
Und die besteht nun mal, wer wüsste das nicht,
aus: Angst, Hass, Titten und dem Wetterbericht!
Re: Query about logfile 'news' and incoming.conf
#82451
Author: Julien ÉLIE
Date: Fri, 01 Jan 2010 23:33
37 lines
2584 bytes
Hi Tony,

> In that log file, what should the third field be, for articles submitted via remote readers (so date/time, action, field 3, 
> message-id ....)
>
> I'm asking because my server was putting 'not-for-mail' in that field at one stage, but is now putting the target hostname of one 
> of it's peers, even though the message was submitted via nnrpd locally.

We fixed something in INN 2.5.1 about that issue:
  http://www.eyrie.org/~eagle/software/inn/docs/news.html

    Fixed the source which is logged to the news log file for local postings
    when the local server is not listed in incoming.conf.  A wrong name was
    used, taken amongst known peers. The source is now logged as localhost.



> but I've obviously changed something incorrectly today because it now says,
>
> incoming.conf-
>
> streaming:              true   # streaming allowed by default
> max-connections:        4      # per feed
>
> peer ME {
>   hostname:         "localhost, 127.0.0.1"
> }

Does it change something if you add the FQDN and IPv4/IPv6 addresses of your
news server here?
(+ ctlinnd reload incoming.conf '')

-- 
Julien ÉLIE

« Hey, I had to let awk be better at *something*... » (Larry Wall) 
Re: inn2: Query about logfile 'news' and incoming.conf
#82452
Author: Tony
Date: Sat, 02 Jan 2010 00:29
26 lines
2274 bytes
On 01/01/2010 21:57, Alexander Bartolich wrote:
> Tony wrote:
>> [...]
>> In that log file, what should the third field be, for articles submitted
>> via remote readers (so date/time, action, field 3, message-id ....)
>> [...]
>> but I've obviously changed something incorrectly today because it now says,
>>
>> Jan  1 19:01:33.589 + darkstorm-out.peer2<some@mid>  1387 peer1 peer2
>                          ^^^^^^^^^^^^^^^^^^^
>
> Either "pathhost:" in "inn.conf" is strange. Or you have option
> "virtualhost" enabled in "readers.conf" (and a strange value for
> "domain").

pathhost: is just matrix.darkstorm.co.uk.

No virtualhost in readers.conf either.


-- 
Tony Evans
Saving trees and wasting electrons since 1993
blog -> http://perceptionistruth.com/
olmr -> http://www.onelinemoviereviews.co.uk/
[ anything below this line wasn't written by me ]
Re: Query about logfile 'news' and incoming.conf
#82453
Author: Tony
Date: Sat, 02 Jan 2010 00:31
28 lines
2386 bytes
On 01/01/2010 23:33, Julien ÉLIE wrote:

> We fixed something in INN 2.5.1 about that issue:
> http://www.eyrie.org/~eagle/software/inn/docs/news.html
>
> Fixed the source which is logged to the news log file for local postings
> when the local server is not listed in incoming.conf. A wrong name was
> used, taken amongst known peers. The source is now logged as localhost.

Aha, interesting.  It's curious that it did work for a little while though.

> Does it change something if you add the FQDN and IPv4/IPv6 addresses of
> your
> news server here?
> (+ ctlinnd reload incoming.conf '')

No, still incorrect even after doing that.  I'm sort of less worried if 
it might be related to a known issue.  Does anyone know if new versions 
of inn2 are being backported to Debian stable?  I had a quick look but 
couldn't find one, and the VPS I'm using won't support the kernel 
required for Debian testing.

-- 
Tony Evans
Saving trees and wasting electrons since 1993
blog -> http://perceptionistruth.com/
olmr -> http://www.onelinemoviereviews.co.uk/
[ anything below this line wasn't written by me ]
Re: Query about logfile 'news' and incoming.conf
#82457
Author: Julien ÉLIE
Date: Sat, 02 Jan 2010 08:59
26 lines
2235 bytes
Hi Tony,

>> Does it change something if you add the FQDN and IPv4/IPv6 addresses of
>> your news server here?
>> (+ ctlinnd reload incoming.conf '')
>
> No, still incorrect even after doing that.  I'm sort of less worried if it might be related to a known issue.

Or maybe the issue was not totally fixed?
(Though I do not manage to reproduce it on my news server.)

See the corresponding ticket and fix here:
    http://inn.eyrie.org/trac/ticket/15
    http://inn.eyrie.org/trac/changeset/8555


> Does anyone know if new versions
> of inn2 are being backported to Debian stable?

I don't know.  You should ask Marco, the Debian maintainer.

-- 
Julien ÉLIE

« Hey, I had to let awk be better at *something*... » (Larry Wall) 
Re: Query about logfile 'news' and incoming.conf
#82459
Author: Tony
Date: Sat, 02 Jan 2010 16:16
41 lines
2887 bytes
On 02/01/2010 08:59, Julien ÉLIE wrote:
> Hi Tony,
>
>>> Does it change something if you add the FQDN and IPv4/IPv6 addresses of
>>> your news server here?
>>> (+ ctlinnd reload incoming.conf '')
>>
>> No, still incorrect even after doing that. I'm sort of less worried if
>> it might be related to a known issue.
>
> Or maybe the issue was not totally fixed?
> (Though I do not manage to reproduce it on my news server.)
>
> See the corresponding ticket and fix here:
> http://inn.eyrie.org/trac/ticket/15
> http://inn.eyrie.org/trac/changeset/8555

Thanks for those, since it's a logging error rather than a routing error 
I'm less concerned.  I was worried initially because it looked like 
posts I was making to local only groups were somehow arriving back from 
one of my peers :)

>> Does anyone know if new versions
>> of inn2 are being backported to Debian stable?
>
> I don't know. You should ask Marco, the Debian maintainer.

I keep meaning to ask on the backports list,  my hosting provided 
assures me their VPS platform will support the right kernel from early 
this year (nearly said next year!) which would solve the issue anyway, 
and I hate asking people to do something I don't have time / skillset to 
do (backport INN).  We'll see how the new year goes.

Thanks for your help.

-- 
Tony Evans
Saving trees and wasting electrons since 1993
blog -> http://perceptionistruth.com/
olmr -> http://www.onelinemoviereviews.co.uk/
[ anything below this line wasn't written by me ]
Re: Query about logfile 'news' and incoming.conf
#82462
Author: Julien ÉLIE
Date: Sun, 03 Jan 2010 19:23
23 lines
2561 bytes
Hi Tony,

> Thanks for those, since it's a logging error rather than a routing error I'm less concerned.  I was worried initially because it 
> looked like posts I was making to local only groups were somehow arriving back from one of my peers :)

You should not worry about that.  There is no routing error.
To be sure, you could check the Path: header of your local postings.
If there is only the name of your news server (+ a possible "not-for-mail"),
it means that your local articles do not arrive back from elsewhere.
And their X-Trace: headers will normally show the name of your news server.

Articles can arrive back from other peers but they won't be appearing in
the "news" log file.  Such articles, whose message-IDs are already known,
are refused by your news server.  It is shown in the "refused" column of
incoming articles in your daily Usenet reports.
But I believe you already know that!

-- 
Julien ÉLIE

« N'écoutant que son courage qui ne lui disait rien,
  il se garda d'intervenir. » (Jules Renard) 
Re: Query about logfile 'news' and incoming.conf
#82463
Author: Tony
Date: Sun, 03 Jan 2010 20:22
18 lines
2167 bytes
On 03/01/2010 19:23, Julien ÉLIE wrote:

> Articles can arrive back from other peers but they won't be appearing in
> the "news" log file. Such articles, whose message-IDs are already known,
> are refused by your news server. It is shown in the "refused" column of
> incoming articles in your daily Usenet reports.
> But I believe you already know that!

Yup, thanks Julien.  Just a momentary panic!  Things seem to be working 
fine now, peering quite happily with a few other sites and working as 
expected.

-- 
Tony Evans
Saving trees and wasting electrons since 1993
blog -> http://perceptionistruth.com/
olmr -> http://www.onelinemoviereviews.co.uk/
[ anything below this line wasn't written by me ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads