Thread View: news.software.nntp
10 messages
10 total messages
Started by Tom Schulz
Fri, 12 Dec 2003 15:58
IHAVE - Accept from nnpt*.savvis.net
Author: Tom Schulz
Date: Fri, 12 Dec 2003 15:58
Date: Fri, 12 Dec 2003 15:58
31 lines
2138 bytes
2138 bytes
I am trying to set up inn-2.4.0 to get a feed from Savvis. Savvis sent
me the following information:
> Savvis offers an IHAVE newsfeed but not a "read/post" service.
> You will need to have a server in place which can exchange news with
> our server. In addition, your news server must allow all Savvis NNTP
> servers to initiate connections to your server. This is as a push
> service and does allow you to pull or suck selected articles or
> groups. In addition, please config your server to accept from
> nnpt*.savvis.net.
I am somewhat confused by the above. It would seem that I would need
an entry in my incoming.conf file similar to the following:
peer nnpt.savvis.net {
hostname: nnpt*.savvis.net
}
but the documentation does not mention the use of a '*' in a hostname.
Does anyone know what to do here? Also, I am not sure what to do to
allow locally posted articles to be sent to Savvis's servers. Does
the IHAVE feed take care of this or do I need an entry in my
newsfeeds file. It would seem that an entry in the newsfeeds file
would need to specify a specific server and Savvis does not give
me any specific names.
If anyone has a working feed from Savvis, please let me know how you
did it.
--
Tom Schulz
schulz@nospam.adi.com
Re: IHAVE - Accept from nnpt*.savvis.net
Author: Jeffrey M. Vinocur
Date: Fri, 12 Dec 2003 17:18
Date: Fri, 12 Dec 2003 17:18
42 lines
2588 bytes
2588 bytes
In article <vtjpe3fkl07e93@corp.supernews.com>,
Tom Schulz <schulz@nospam.adi.com> wrote:
>
>peer nnpt.savvis.net {
> hostname: nnpt*.savvis.net
>}
>
>but the documentation does not mention the use of a '*' in a hostname.
I just took a look through the source as well, and I don't see
any support for such wildcards. You could ask them to be more
specific about the hostnames they plan to use.
Or there's no harm to just guessing a first approximation (looks
like nntp1, nntp2, nntp4, and nntp5 are defined at the present
time) and watching your daily reports for entries in the "Curious
NNRP server explorers" section and adding those to incoming.conf
as you see them.
>Does anyone know what to do here? Also, I am not sure what to do to
>allow locally posted articles to be sent to Savvis's servers. Does
>the IHAVE feed take care of this or do I need an entry in my
>newsfeeds file. It would seem that an entry in the newsfeeds file
>would need to specify a specific server and Savvis does not give
>me any specific names.
You're right, incoming.conf just allows them to feed you. You'll
want to configure newsfeeds and innfeed.conf to feed back to
them, and they'll have to tell you where particularly to send the
articles.
>If anyone has a working feed from Savvis, please let me know how you
>did it.
(I'm not familiar with them.)
--
Jeffrey M. Vinocur
jeff@litech.org
Re: IHAVE - Accept from nnpt*.savvis.net
Author: Tom Schulz
Date: Fri, 12 Dec 2003 18:37
Date: Fri, 12 Dec 2003 18:37
58 lines
2999 bytes
2999 bytes
In article <brct8d$8qo$2@puck.litech.org>,
Jeffrey M. Vinocur <jeff@litech.org> wrote:
>In article <vtjpe3fkl07e93@corp.supernews.com>,
>Tom Schulz <schulz@nospam.adi.com> wrote:
>>
>>peer nnpt.savvis.net {
>> hostname: nnpt*.savvis.net
>>}
>>
>>but the documentation does not mention the use of a '*' in a hostname.
>
>I just took a look through the source as well, and I don't see
>any support for such wildcards. You could ask them to be more
>specific about the hostnames they plan to use.
I have asked, but they have not yet responded.
>Or there's no harm to just guessing a first approximation (looks
>like nntp1, nntp2, nntp4, and nntp5 are defined at the present
>time) and watching your daily reports for entries in the "Curious
>NNRP server explorers" section and adding those to incoming.conf
>as you see them.
Ah! I tried to nslookup nnpt1 (note the reversed p and t) as they said
nnpt*.savvis.net, but I expect that they mistyped that line (I just checked
their orriginal email and they did say nnpt*, I did not misread it).
I will probably specify nntp1 through nntp9.
>>Does anyone know what to do here? Also, I am not sure what to do to
>>allow locally posted articles to be sent to Savvis's servers. Does
>>the IHAVE feed take care of this or do I need an entry in my
>>newsfeeds file. It would seem that an entry in the newsfeeds file
>>would need to specify a specific server and Savvis does not give
>>me any specific names.
>
>You're right, incoming.conf just allows them to feed you. You'll
>want to configure newsfeeds and innfeed.conf to feed back to
>them, and they'll have to tell you where particularly to send the
>articles
I suppose that I could just pick one and see what happens.
>>If anyone has a working feed from Savvis, please let me know how you
>>did it.
>
>(I'm not familiar with them.)
>
>
>--
>Jeffrey M. Vinocur
>jeff@litech.org
--
Tom Schul
schulz@nospam.adi.com
Re: IHAVE - Accept from nnpt*.savvis.net
Author: Curt Welch
Date: Sat, 13 Dec 2003 16:11
Date: Sat, 13 Dec 2003 16:11
37 lines
2876 bytes
2876 bytes
schulz@nospam.adi.com (Tom Schulz) wrote:
> I am trying to set up inn-2.4.0 to get a feed from Savvis. Savvis sent
> me the following information:
>
> > Savvis offers an IHAVE newsfeed but not a "read/post" service.
> > You will need to have a server in place which can exchange news with
> > our server. In addition, your news server must allow all Savvis NNTP
> > servers to initiate connections to your server. This is as a push
> > service and does allow you to pull or suck selected articles or
> > groups. In addition, please config your server to accept from
> > nnpt*.savvis.net.
>
> I am somewhat confused by the above. It would seem that I would need
> an entry in my incoming.conf file similar to the following:
>
> peer nnpt.savvis.net {
> hostname: nnpt*.savvis.net
> }
>
> but the documentation does not mention the use of a '*' in a hostname.
Yeah, most servers can't deal with a wildmat like that because they need to
do a forward lookup on the names you configure to to get the IPs. Diablo
however is one server that will do a reverse lookup on each incoming IP
connection, and then match that against wildmat strings in the config. (and
then do a forward lookup to make sure it's not spoofed). So it can
actually use nntp*.savvis.net in it's config.
Most news sites that need to feed from multiple IPs will set up one DNS
name which lists all the IPs (like nntp-out.savvis.net) which you can place
in your config file. I don't know if savvis has done anything like that.
It doesn't sound like they have done that based on the instructions you
have received.
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: IHAVE - Accept from nnpt*.savvis.net
Author: Jeffrey M. Vinocur
Date: Sat, 13 Dec 2003 19:06
Date: Sat, 13 Dec 2003 19:06
17 lines
1903 bytes
1903 bytes
In article <20031213111115.099$IH@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > >Yeah, most servers can't deal with a wildmat like that because they need to >do a forward lookup on the names you configure to to get the IPs. INN actually has code to do DNS wildcards for reader connections, but not for incoming peering connections. (I don't know how much of the reason for this is that INN itself isn't supposed to have to worry about long DNS lookup times except when explicitly directed to reload by the admin, and how much is that nobody's bothered to port the code from nnrpd to innd.) -- Jeffrey M. Vinocur jeff@litech.org
Re: IHAVE - Accept from nnpt*.savvis.net
Author: Curt Welch
Date: Sat, 13 Dec 2003 19:43
Date: Sat, 13 Dec 2003 19:43
35 lines
3225 bytes
3225 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote: > In article <20031213111115.099$IH@newsreader.com>, > Curt Welch <curt@kcwc.com> wrote: > > > >Yeah, most servers can't deal with a wildmat like that because they need > >to do a forward lookup on the names you configure to to get the IPs. > > INN actually has code to do DNS wildcards for reader connections, > but not for incoming peering connections. (I don't know how much > of the reason for this is that INN itself isn't supposed to have > to worry about long DNS lookup times except when explicitly > directed to reload by the admin, and how much is that nobody's > bothered to port the code from nnrpd to innd.) My server uses a select loop like inn, and because the DNS routines block, I can't use them in my server to do lookups at connect time. It's not just a matter of the DNS being a bit slow, if it's told to try a large list of non-existant servers, it will hang for many minutes. Every time you get a connection from a server with a mis-configured DNS, it would hang the entire server for minutes. That can never work. Do do DNS you have to either write a non-blocking version of the DNS routines (I looked at them and decided they were far to large for me to justify that project), or you fork a separte processes to do the DNS lookup for you and talk to over a network connection that you can manage in your select loop. Doing that has been on my TODO list for a few years now for my server. nnrpd has no problems with the DNS hanging since it's only blocking the one connection which caused the hang in the first place. But you couldn't just take the nnrpd code and put it in the main inn processes unless you had something to deal with the blocking (separate threads or a non-blocking version of the dns lookup routines). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: IHAVE - Accept from nnpt*.savvis.net
Author: Russ Allbery
Date: Sat, 13 Dec 2003 19:53
Date: Sat, 13 Dec 2003 19:53
23 lines
2595 bytes
2595 bytes
Curt Welch <curt@kcwc.com> writes:
> My server uses a select loop like inn, and because the DNS routines
> block, I can't use them in my server to do lookups at connect time.
> It's not just a matter of the DNS being a bit slow, if it's told to try
> a large list of non-existant servers, it will hang for many minutes.
> Every time you get a connection from a server with a mis-configured DNS,
> it would hang the entire server for minutes. That can never work. Do
> do DNS you have to either write a non-blocking version of the DNS
> routines (I looked at them and decided they were far to large for me to
> justify that project), or you fork a separte processes to do the DNS
> lookup for you and talk to over a network connection that you can manage
> in your select loop. Doing that has been on my TODO list for a few
> years now for my server.
That's exactly the same situation that INN is in, right down to the
options and the TODO list entry.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: IHAVE - Accept from nnpt*.savvis.net
Author: Jeffrey M. Vinocur
Date: Sat, 13 Dec 2003 20:41
Date: Sat, 13 Dec 2003 20:41
20 lines
2027 bytes
2027 bytes
In article <87r7z81okr.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >Curt Welch <curt@kcwc.com> writes: > >> you have to either write a non-blocking version of the DNS >> routines (I looked at them and decided they were far to large for me to >> justify that project), or you fork a separte processes to do the DNS >> lookup for you and talk to over a network connection that you can manage >> in your select loop. > >That's exactly the same situation that INN is in, right down to the >options and the TODO list entry. Oh, I've been meaning to ask whether Ian Jackson's adns (http://www.chiark.greenend.org.uk/~ian/adns/) is an option here. -- Jeffrey M. Vinocur jeff@litech.org
Re: IHAVE - Accept from nnpt*.savvis.net
Author: Russ Allbery
Date: Sat, 13 Dec 2003 20:45
Date: Sat, 13 Dec 2003 20:45
17 lines
1989 bytes
1989 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> That's exactly the same situation that INN is in, right down to the
>> options and the TODO list entry.
> Oh, I've been meaning to ask whether Ian Jackson's adns
> (http://www.chiark.greenend.org.uk/~ian/adns/) is an option here.
Probably yes, although switching to an asynchronous resolver will require
restructuring INN's main loop a little bit.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: IHAVE - Accept from nnpt*.savvis.net
Author: Curt Welch
Date: Sun, 14 Dec 2003 02:07
Date: Sun, 14 Dec 2003 02:07
24 lines
2449 bytes
2449 bytes
Russ Allbery <rra@stanford.edu> wrote: > Jeffrey M Vinocur <jeff@litech.org> writes: > > Russ Allbery <rra@stanford.edu> wrote: > > >> That's exactly the same situation that INN is in, right down to the > >> options and the TODO list entry. > > > Oh, I've been meaning to ask whether Ian Jackson's adns > > (http://www.chiark.greenend.org.uk/~ian/adns/) is an option here. > > Probably yes, although switching to an asynchronous resolver will require > restructuring INN's main loop a little bit.] >From the description it looks like just the thing I need. Thanks for pointing that out. I don't need dns for my user conections but for peering it would really be nice for the server to have the power to pick up dns chagnes without a restart which is what it takes now. And even worse, if a host name in the config file is undefined at start up time, the server won't start. So when a peer has dns problems, I have to edit them out of the config file just to get the server running again. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
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