🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Wayne P Hill Fri, 26 Aug 2005 12:05
NNTPSwitch with Radius
#72216
Author: Wayne P Hill
Date: Fri, 26 Aug 2005 12:05
21 lines
1840 bytes
Hey everyone.

I'm trying to get nntpswitch up and running with radius authentication 
and so far not having much luck.  The radius server is up and running 
just fine and accepts autherntication requests, but as of yet, I can't 
get nntpswitch to talk to radius. I have the following set in access.conf:

alias AuthRadius    auth_radius.so    xxx.xxx.xxx.xxx:secret
alias AcctRadius    acct_radius.so    xxx.xxx.xxx.xxx:secret

auth *@voicenet.com    authRadius    acctRadius    world

the host is authorized inthe radius clients file.  When running radiusd 
in debug mode there's nothing to indicate that nntpswitch is even 
attempting communication.

Is there something I'm missing here, or any more troubleshooting methods 
for nntpswitch, itself?

Thanks,
Wayne
Re: NNTPSwitch with Radius
#72223
Author: Tommy van Leeuwen
Date: Mon, 29 Aug 2005 11:41
33 lines
2286 bytes
On Fri, 26 Aug 2005 08:05:30 -0400, Wayne P Hill wrote:

> Hey everyone.
> 
> I'm trying to get nntpswitch up and running with radius authentication 
> and so far not having much luck.  The radius server is up and running 
> just fine and accepts autherntication requests, but as of yet, I can't 
> get nntpswitch to talk to radius. I have the following set in access.conf:
> 
> alias AuthRadius    auth_radius.so    xxx.xxx.xxx.xxx:secret
> alias AcctRadius    acct_radius.so    xxx.xxx.xxx.xxx:secret
> 
> auth *@voicenet.com    authRadius    acctRadius    world
> 
> the host is authorized inthe radius clients file.  When running radiusd 
> in debug mode there's nothing to indicate that nntpswitch is even 
> attempting communication.

Looks like the portnumbers from /etc/services are wrong. Some hosts use
1812/1813 and others use 1645/1646. 

> Is there something I'm missing here, or any more troubleshooting methods 
> for nntpswitch, itself?

Not really, everything should be in news.debug. You could try tcpdump'ing
all udp traffic to see what happens.

Regards,
Tommy

> 
> Thanks,
> Wayne
Re: NNTPSwitch with Radius
#72243
Author: Wayne P Hill
Date: Wed, 07 Sep 2005 13:54
57 lines
3311 bytes
Sorry it took me so long to get back on this.  Your mentioning 
news.debug sent me to try to figure out how to get it enabled, and that 
tracked the problem down for me.  Now, I'm experiencing a different 
issue all together.

I'm working on the latest version in order to upgrade our current 
servers (The version we have was when ADS wrote the radius code, and 
contains his hardcoded hacks to make radius work, if that's any 
indication of the version we're using) but, so far, I can't get the new 
version to connect, and post, to our backend posting server.  It does 
have permission to post (i can manually post, from my test server over 
port 119 on the backend server) but nntpswitch just returns a "Remote 
Host Unavailable".  news.debug shows nothing.

Any ideas, or is this a known bug at the moment.

Thanks Again,
Wayne

Tommy van Leeuwen wrote:
> On Fri, 26 Aug 2005 08:05:30 -0400, Wayne P Hill wrote:
> 
> 
>>Hey everyone.
>>
>>I'm trying to get nntpswitch up and running with radius authentication 
>>and so far not having much luck.  The radius server is up and running 
>>just fine and accepts autherntication requests, but as of yet, I can't 
>>get nntpswitch to talk to radius. I have the following set in access.conf:
>>
>>alias AuthRadius    auth_radius.so    xxx.xxx.xxx.xxx:secret
>>alias AcctRadius    acct_radius.so    xxx.xxx.xxx.xxx:secret
>>
>>auth *@voicenet.com    authRadius    acctRadius    world
>>
>>the host is authorized inthe radius clients file.  When running radiusd 
>>in debug mode there's nothing to indicate that nntpswitch is even 
>>attempting communication.
> 
> 
> Looks like the portnumbers from /etc/services are wrong. Some hosts use
> 1812/1813 and others use 1645/1646. 
> 
> 
>>Is there something I'm missing here, or any more troubleshooting methods 
>>for nntpswitch, itself?
> 
> 
> Not really, everything should be in news.debug. You could try tcpdump'ing
> all udp traffic to see what happens.
> 
> Regards,
> Tommy
> 
> 
>>Thanks,
>>Wayne
Re: NNTPSwitch with Radius
#72242
Author: Wayne P Hill
Date: Wed, 07 Sep 2005 15:04
63 lines
3560 bytes
Nevermind, found the problem.  There was a space after the IP of my sever.

Wayne P Hill wrote:
> Sorry it took me so long to get back on this.  Your mentioning 
> news.debug sent me to try to figure out how to get it enabled, and that 
> tracked the problem down for me.  Now, I'm experiencing a different 
> issue all together.
> 
> I'm working on the latest version in order to upgrade our current 
> servers (The version we have was when ADS wrote the radius code, and 
> contains his hardcoded hacks to make radius work, if that's any 
> indication of the version we're using) but, so far, I can't get the new 
> version to connect, and post, to our backend posting server.  It does 
> have permission to post (i can manually post, from my test server over 
> port 119 on the backend server) but nntpswitch just returns a "Remote 
> Host Unavailable".  news.debug shows nothing.
> 
> Any ideas, or is this a known bug at the moment.
> 
> Thanks Again,
> Wayne
> 
> Tommy van Leeuwen wrote:
> 
>> On Fri, 26 Aug 2005 08:05:30 -0400, Wayne P Hill wrote:
>>
>>
>>> Hey everyone.
>>>
>>> I'm trying to get nntpswitch up and running with radius 
>>> authentication and so far not having much luck.  The radius server is 
>>> up and running just fine and accepts autherntication requests, but as 
>>> of yet, I can't get nntpswitch to talk to radius. I have the 
>>> following set in access.conf:
>>>
>>> alias AuthRadius    auth_radius.so    xxx.xxx.xxx.xxx:secret
>>> alias AcctRadius    acct_radius.so    xxx.xxx.xxx.xxx:secret
>>>
>>> auth *@voicenet.com    authRadius    acctRadius    world
>>>
>>> the host is authorized inthe radius clients file.  When running 
>>> radiusd in debug mode there's nothing to indicate that nntpswitch is 
>>> even attempting communication.
>>
>>
>>
>> Looks like the portnumbers from /etc/services are wrong. Some hosts use
>> 1812/1813 and others use 1645/1646.
>>
>>> Is there something I'm missing here, or any more troubleshooting 
>>> methods for nntpswitch, itself?
>>
>>
>>
>> Not really, everything should be in news.debug. You could try tcpdump'ing
>> all udp traffic to see what happens.
>>
>> Regards,
>> Tommy
>>
>>
>>> Thanks,
>>> Wayne
Re: NNTPSwitch with Radius
#72244
Author: Tommy van Leeuwen
Date: Wed, 07 Sep 2005 19:46
9 lines
1656 bytes
On Wed, 07 Sep 2005 11:04:36 -0400, Wayne P Hill wrote:

> Nevermind, found the problem.  There was a space after the IP of my sever.

OMG, this is one of the many stupid things which need fixing indeed.
Thanks for reminding me, I'll make sure it'll get fixed in the next
release :)

Tommy
Re: NNTPSwitch with Radius
#72250
Author: Wayne P Hill
Date: Wed, 07 Sep 2005 22:07
13 lines
1674 bytes

Tommy van Leeuwen wrote:

> OMG, this is one of the many stupid things which need fixing indeed.
> Thanks for reminding me, I'll make sure it'll get fixed in the next
> release :)
> 
> Tommy

Much Appreciated :-)

--Wayne
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