Thread View: news.software.nntp
6 messages
6 total messages
Started by Evin
Wed, 15 May 2002 19:40
inn/nntp over ssl?
Author: Evin
Date: Wed, 15 May 2002 19:40
Date: Wed, 15 May 2002 19:40
35 lines
2417 bytes
2417 bytes
Hi, I've been looking at a way to run nntp over ssl for a couple of days now - and I came across a post indicating that INN itself doesn't support NNTPS (which is just the NNTP protocol over SSL) - but nnrpd does support it (if compiled with the --with-openssl option). Anyway, I've grabbed the source (2.3.2), and rebuilt with the --with-openssl option, but when I run nnrpd it gives an error about the Hostname not resolving/ 'domain' not being set in inn.conf. I've checked, and the hostname resolves fine, and the inn.conf is ok too (I think)... I even went into getfqdn.c (in \lib), and forced it to return the correct fqdn of my server, but to no avail (segmentation fault!)... I think that there must be an easier way - but there is no 'How-TO' for Inn... and there's definitely a lack of information on NNTPS. I'm going to go a step further and describe my ideal situation, just in case someone out there wants to help me out - (even for a fee!): - I want to use Debian Woody (already doing this) - I want a private news server, where each user must authenticate, and different users can post/read selected groups (have this working) - I want a web interface too (had this working with DRN, not impressed - is there a better way?) - I want it all running over SSL (arrrrgggghhhh!!!) - I'd rather not use stunnel (but maybe that's the way to go?) all help appreciated, Evin
Re: inn/nntp over ssl?
Author: Jeffrey M. Vinocur
Date: Wed, 15 May 2002 22:44
Date: Wed, 15 May 2002 22:44
23 lines
1695 bytes
1695 bytes
In article <abudie$h3o$1@reader-00.news.insnet.cw.net>, Evin <elevey@cs.tcd.ie> wrote: > >I've been looking at a way to run nntp over ssl for a couple of days now - >and I came across a post indicating that INN itself doesn't support NNTPS >(which is just the NNTP protocol over SSL) - but nnrpd does support it (if >compiled with the --with-openssl option). Right, this generally "just works" (at least on linux, with no problems). >Anyway, I've grabbed the source (2.3.2), and rebuilt with the --with-openssl >option, but when I run nnrpd it gives an error about the Hostname not >resolving/ 'domain' not being set in inn.conf. Well, is "domain" in inn.conf set? -- Jeffrey M. Vinocur jeff@litech.org
Re: inn/nntp over ssl?
Author: Evin
Date: Thu, 16 May 2002 13:45
Date: Thu, 16 May 2002 13:45
37 lines
2147 bytes
2147 bytes
yes - the domain is set :-) when you say it 'just works' - does that mean that you install it, and then can connect to port 563 to read/post news? Evin "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:abuocs$bnt$1@marduk.litech.org... > In article <abudie$h3o$1@reader-00.news.insnet.cw.net>, > Evin <elevey@cs.tcd.ie> wrote: > > > >I've been looking at a way to run nntp over ssl for a couple of days now - > >and I came across a post indicating that INN itself doesn't support NNTPS > >(which is just the NNTP protocol over SSL) - but nnrpd does support it (if > >compiled with the --with-openssl option). > > Right, this generally "just works" (at least on linux, with no > problems). > > > >Anyway, I've grabbed the source (2.3.2), and rebuilt with the --with-openssl > >option, but when I run nnrpd it gives an error about the Hostname not > >resolving/ 'domain' not being set in inn.conf. > > Well, is "domain" in inn.conf set? > > > -- > Jeffrey M. Vinocur > jeff@litech.org
Re: inn/nntp over ssl?
Author: Jeffrey M. Vinocur
Date: Thu, 16 May 2002 15:18
Date: Thu, 16 May 2002 15:18
17 lines
1481 bytes
1481 bytes
In article <ac0d45$q4b$1@reader-00.news.insnet.cw.net>, Evin <elevey@cs.tcd.ie> wrote: > >when you say it 'just works' - does that mean that you install it, and then >can connect to port 563 to read/post news? Yes (assuming you're either running nnrpd with -D or have port 563 configured in inetd/xinetd). Did you follow the directions in INSTALL about making a certificate? -- Jeffrey M. Vinocur jeff@litech.org
Re: inn/nntp over ssl?
Author: Evin
Date: Sat, 18 May 2002 12:32
Date: Sat, 18 May 2002 12:32
40 lines
2402 bytes
2402 bytes
Yes - I have followed all the instructions. The problem turned out to be with the way Inn resolves the hostname, it seems that it only tries the local hosts file, and if that fails it gives up... [I have not set a domain there] now I have a it all compiled and installed (with the certificate). When I execute "rc.news start" I get a regular news server on port 199. If I run "nnrpd -DS -p563" before running "rc.news start" then I get both a news server on 119 and a secure version of the same server on 563. However, I don't want a news server running on port 119 - but if I stop rc.news then nothing works... any ideas? Evin "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:ac0ik0$uui$1@marduk.litech.org... > In article <ac0d45$q4b$1@reader-00.news.insnet.cw.net>, > Evin <elevey@cs.tcd.ie> wrote: > > > >when you say it 'just works' - does that mean that you install it, and then > >can connect to port 563 to read/post news? > > Yes (assuming you're either running nnrpd with -D or have port > 563 configured in inetd/xinetd). > > Did you follow the directions in INSTALL about making a > certificate? > > > -- > Jeffrey M. Vinocur > jeff@litech.org
Re: inn/nntp over ssl?
Author: Andrew Gierth
Date: Sat, 18 May 2002 18:36
Date: Sat, 18 May 2002 18:36
22 lines
2034 bytes
2034 bytes
>>>>> "Evin" == Evin <elevey@cs.tcd.ie> writes: Evin> now I have a it all compiled and installed (with the Evin> certificate). When I execute "rc.news start" I get a regular Evin> news server on port 199. If I run "nnrpd -DS -p563" before Evin> running "rc.news start" then I get both a news server on 119 Evin> and a secure version of the same server on 563. Evin> However, I don't want a news server running on port 119 - but Evin> if I stop rc.news then nothing works... You can tell INN not to allow readers on the transfer port by setting the "noreader" option in inn.conf. This tells innd to send 502 responses to connections not authorised as feeders rather than invoking nnrpd. I don't think there's any way to tell innd not to listen for feeds at all. (though you can change the feeder port number) -- Andrew.
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