Query regarding running radexample to connect to radiusd server over ipv6
Hello, I have configured my server to run radius on ipv6 and I was also able to successfully connect to radius server using radclient binary on my client machine. I installed radiusclient as well my machine and I am trying to run radexample to login to radius server over ipv6, however I am not able to connect to it over ipv6. I was able to connect to radiusserver using ipv4 through radexample. Can anyone help me out with this? What all options shall I check to proceed further with this? Regards, Harshit
On 02/07/12 14:48, Harshit Shah wrote:
Hello,
I have configured my server to run radius on ipv6 and I was also able to successfully connect to radius server using radclient binary on my client machine.
Posting your query to the main and -devel mailing lists is RUDE. Don't do that.
Hello Phil, I was also able to connect to radius server through radclient over ipv6. But here i am trying to say i tried with one of the sample provided in radiusclient/src folder of radius client code. file name: radexample.c once you compile it and try to login over ipv6 it gives an error while it works fine over ipv6. Regards, Harshit -----Original Message----- From: freeradius-devel-bounces+harshit.shah=exfo.com@lists.freeradius.org on behalf of Phil Mayers Sent: Mon 7/2/2012 9:40 PM To: freeradius-devel@lists.freeradius.org Subject: Re: Query regarding running radexample to connect to radiusd serverover ipv6 On 02/07/12 14:48, Harshit Shah wrote:
Hello,
I have configured my server to run radius on ipv6 and I was also able to successfully connect to radius server using radclient binary on my client machine.
Posting your query to the main and -devel mailing lists is RUDE. Don't do that. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
On Mon, Jul 02, 2012 at 09:51:43PM +0530, Harshit Shah wrote:
once you compile it and try to login over ipv6 it gives an error
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise Hint: "it gives an error" is not useful information. Use copy-paste to show exactly what you did, and exactly what error you saw in response. Show the corresponding logs in the server logfile - or report that there are none.
Hello Brian, I got following error: login: harshit Password: "harshit" RADIUS Authentication failure (RC=-1) Regards, Harshit -----Original Message----- From: Brian Candler [mailto:B.Candler@pobox.com] Sent: Tuesday, July 03, 2012 4:04 PM To: FreeRadius developers mailing list; Harshit Shah Subject: Re: Query regarding running radexample to connect to radiusd serverover ipv6 On Mon, Jul 02, 2012 at 09:51:43PM +0530, Harshit Shah wrote:
once you compile it and try to login over ipv6 it gives an error
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise Hint: "it gives an error" is not useful information. Use copy-paste to show exactly what you did, and exactly what error you saw in response. Show the corresponding logs in the server logfile - or report that there are none.
On Tue, Jul 03, 2012 at 04:13:58PM +0530, Harshit Shah wrote:
I got following error:
login: harshit Password: "harshit" RADIUS Authentication failure (RC=-1)
Then as I said before: show the corresponding logs in the server logfile - or report that there are none. Also check if there are any errors logged at the client side (e.g. in /var/log/messages or /var/log/syslog) Next test: capture the RADIUS packets on either client of server: tcpdump -i eth0 -nnv -s0 udp port 1812 (assuming 'eth0' is the interface the packets are going in and out on) Are you getting any packets sent at all? If you are, are you getting a respose from the server? If so, what is it? If no packets are being sent, another useful test is to run the client under strace: strace -f ./radexample 2>strace.log This may show you if a particular system call is falling (open, send, recv etc)
participants (3)
-
Brian Candler -
Harshit Shah -
Phil Mayers