Thread View: news.software.nntp
10 messages
10 total messages
Started by Achim L�bbert
Sun, 20 Feb 2000 00:00
Preventing loops by newsfeeds exclusion
Author: Achim L�bbert
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
38 lines
2220 bytes
2220 bytes
I am using INN 2.2 on a dial-up Linux box fed by suck. It works for a while now, but each time my ISP's hostnames change, I get a serious problem of sending back downloaded articles. I searched through the FAQ and Deja.com, but couldn't find anything similar: The official ISP hostname I am using for up & downstream unfortunately does not appear in the incoming articles' Path header. Instead, one or more similar hostnames appear differing in the host part of the FQDN. Incoming articles from news.isp.com only contain host1.isp.com, host2.isp.com, etc in their Path header. Explicitly excluding these from the newsfeeds entry prevents sending them back: news.isp.com/host1.isp.com,host2.isp.com:...:...:... but this only works for the currently known hosts, and each time my ISP comes up with a new host3.isp.com I am caught again. Also, the exclude list tends to get quite long. Next, I tried using a wildcard: news.isp.com/*.isp.com:...:...:... but that didn't work either. I also couldn't find any statement in the documentation if wildcards in exclude lists are legal at all. Now I added flag H3 because locally created articles seem to have only two entries in their Path header, but I am not sure if that assumption is always true, and if this is the way to go. If someone could give me a hint, I would greatly appreciate that. Thanks, Achim -- Achim L�bbert - aloebbert@gmx.de Warning: Objects in mirrors are closer than they appear!
Re: Preventing loops by newsfeeds exclusion
Author: Russ Allbery
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
38 lines
2237 bytes
2237 bytes
Achim L�bbert <aloebbert@gmx.de> writes: > The official ISP hostname I am using for up & downstream unfortunately > does not appear in the incoming articles' Path header. Instead, one or > more similar hostnames appear differing in the host part of the FQDN. > Incoming articles from news.isp.com only contain host1.isp.com, > host2.isp.com, etc in their Path header. Explicitly excluding these > from the newsfeeds entry prevents sending them back: > news.isp.com/host1.isp.com,host2.isp.com:...:...:... > but this only works for the currently known hosts, and each time my > ISP comes up with a new host3.isp.com I am caught again. Also, the > exclude list tends to get quite long. Next, I tried using a wildcard: > news.isp.com/*.isp.com:...:...:... > but that didn't work either. I also couldn't find any statement in the > documentation if wildcards in exclude lists are legal at all. They're not. > Now I added flag H3 because locally created articles seem to have only > two entries in their Path header, but I am not sure if that assumption > is always true, and if this is the way to go. Most news systems that have the behavior you describe add two path stamps, one for the whole organization and one with the individual host. Is there another path stamp before the last one that you could trigger off of? If not, I'd highly recommend complaining to them, as this is rather annoying behavior. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Preventing loops by newsfeeds exclusion
Author: Chunk Light Fluffy
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
15 lines
1501 bytes
1501 bytes
Achim L�bbert wrote: > I am using INN 2.2 on a dial-up Linux box fed by suck. It works for a > while now, but each time my ISP's hostnames change, I get a serious > problem of sending back downloaded articles. Yes, that is one reason why suck feeds are often unpopular among news admins =) If you want to make sure that only locally posted articles are fed out, recent versions of INN (yup, looks like 2.2 has it) have a new `O' flag that uses the X-Trace: header to decide what to send. This is much more reliable than the older path exclusion and hops methods, so you should probably use that. See the newsfeeds(5) page for details.
Re: Preventing loops by newsfeeds exclusion
Author: Russ Allbery
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
10 lines
1038 bytes
1038 bytes
Achim L�bbert <aloebbert@gmx.de> writes: > BTW, is it the local INN server which inserts that X-Trace: header, Yup. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Preventing loops by newsfeeds exclusion
Author: Achim L�bbert
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
30 lines
2191 bytes
2191 bytes
Achim L�bbert <aloebbert@gmx.de> wrote: > Chunk Light Fluffy <meowing@banet.net> wrote: >> >> If you want to make sure that only locally posted articles are fed out, >> recent versions of INN (yup, looks like 2.2 has it) have a new `O' >> flag that uses the X-Trace: header to decide what to send. This is >> much more reliable than the older path exclusion and hops methods, so >> you should probably use that. See the newsfeeds(5) page for details. > > Thanks for the hint. I just added the `O' flag, and removed the > exclusion list (bear with me), then restarted INN. If this post gets > through, good. If nothing loops back during the next connection, I > should be all set. So far, duplicate detection on ISP side worked as a > last safety net preventing me from producing global dupes. :-o Looked good, now I also removed that H3 flag, completely relying on the `O' flag preventing loopbacks :-o BTW, is it the local INN server which inserts that X-Trace: header, or is this depending on the news client, i.e. is it safe to rely on it being always generated for local posts? I will have to carefully keep an eye on it anyway until I get some experience and trust. Thanks again. -- Achim L�bbert - aloebbert@gmx.de Warning: Objects in mirrors are closer than they appear!
Re: Preventing loops by newsfeeds exclusion
Author: Achim L�bbert
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
20 lines
1604 bytes
1604 bytes
Russ Allbery <rra@stanford.edu> wrote: > Most news systems that have the behavior you describe add two path stamps, > one for the whole organization and one with the individual host. Is there > another path stamp before the last one that you could trigger off of? To my understanding, there isn't: Last (leftmost) Path entry is my host, then one or two of the hostx.isp.com, all of them changing ever so often. > If not, I'd highly recommend complaining to them, as this is rather > annoying behavior. Perhaps I should. But it seems that the suggestion I got in a parallel reply (triggering on the X-Trace using the `O' flag) does exactly what I need. Thanks anyway. -- Achim L�bbert - aloebbert@gmx.de Warning: Objects in mirrors are closer than they appear!
Re: Preventing loops by newsfeeds exclusion
Author: Achim L�bbert
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
19 lines
1695 bytes
1695 bytes
Chunk Light Fluffy <meowing@banet.net> wrote: > > If you want to make sure that only locally posted articles are fed out, > recent versions of INN (yup, looks like 2.2 has it) have a new `O' > flag that uses the X-Trace: header to decide what to send. This is > much more reliable than the older path exclusion and hops methods, so > you should probably use that. See the newsfeeds(5) page for details. Thanks for the hint. I just added the `O' flag, and removed the exclusion list (bear with me), then restarted INN. If this post gets through, good. If nothing loops back during the next connection, I should be all set. So far, duplicate detection on ISP side worked as a last safety net preventing me from producing global dupes. :-o -- Achim L�bbert - aloebbert@gmx.de Warning: Objects in mirrors are closer than they appear!
Re: Preventing loops by newsfeeds exclusion
Author: Andreas Barth
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
14 lines
1150 bytes
1150 bytes
On 20 Feb 2000 20:51:56 GMT, Achim L�bbert wrote: > I am using INN 2.2 on a dial-up Linux box fed by suck. Is Leafnode an alternative for you? There won't be problems with sending out retrieved articles. Andi -- My users get their dirty pics on the web, and use Usenet for what it was originally intended. Brian Edmonds in news.software.nntp
Re: Preventing loops by newsfeeds exclusion
Author: Kai Henningsen
Date: Sat, 04 Mar 2000 00:00
Date: Sat, 04 Mar 2000 00:00
22 lines
1686 bytes
1686 bytes
meowing@banet.net (Chunk Light Fluffy) wrote on 20.02.00 in <slrn8b0oda.dsa.meowing@slip-32-100-55-167.ma.us.prserv.net>: > Achim L�bbert wrote: > > I am using INN 2.2 on a dial-up Linux box fed by suck. It works for a > > while now, but each time my ISP's hostnames change, I get a serious > > problem of sending back downloaded articles. > > Yes, that is one reason why suck feeds are often unpopular among news > admins =) And it would be so easy to solve, if suck just added an own path entry describing where it was sucked from ... that's what I did in my Perl equivalent. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: Preventing loops by newsfeeds exclusion
Author: Chunk Light Fluffy
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
10 lines
1155 bytes
1155 bytes
Kai Henningsen wrote: > And it would be so easy to solve, if suck just added an own path entry > describing where it was sucked from ... that's what I did in my Perl > equivalent. Suck does have something like that with its -y switch, but the implementation is awkward.
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