Re: radzap: Nothing to send
El 16/11/11 16:54, xgiova escribió: I'm havig the same problem on my Centos server. Can you explain how did you solve? The problem was related with virtual servers. The virtual server assigned to the client running radzap was incorrect. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo: 868887590 Fax: 86337 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap: Nothing to send
Il 23/11/2011 10.18, Angel L. Mateo ha scritto: El 16/11/11 16:54, xgiova escribió: I'm havig the same problem on my Centos server. Can you explain how did you solve? The problem was related with virtual servers. The virtual server assigned to the client running radzap was incorrect. I'm running radzap from server and I have only the default virtual server. Where did you define the association between client and virtual server? is it in clients.conf? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap: Nothing to send
I'm havig the same problem on my Centos server. Can you explain how did you solve? Thanks in advance. Giovanni -- View this message in context: http://freeradius.1045715.n5.nabble.com/radzap-Nothing-to-send-tp4822106p4998155.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap: Nothing to send
I'm havig the same problem on my Centos server. Can you explain how did you solve? Thanks in advance. Giovanni -- View this message in context: http://freeradius.1045715.n5.nabble.com/radzap-Nothing-to-send-tp4822106p4998169.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap: Nothing to send
Hello, I have solved my problem. The problem was really related with virtual servers. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo: 868887590 Fax: 86337 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Radius [EMAIL PROTECTED] wrote: I get all this below and have tried several commands but it keeps returning me to this with no real reason why it didn't work. You didn't say what you typed in as the command-line for radzap. Try reading the man pages for radzap radwho. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
When radhow -r reads rod,Rodney Rumley,PPP,S406,Tue 17:46,63.215.26.177,4.240.144.66 I would type radzap -N 63.215.26.177 S406 secret I also tried radzap -N 4.240.144.66 S406 secret It keeps telling me it can't locate that IP address. Tried the man page, that's why I sent the request, it was about 47 lines long and had about the same information in it that the help of radzap. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 12:30 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I get all this below and have tried several commands but it keeps returning me to this with no real reason why it didn't work. You didn't say what you typed in as the command-line for radzap. Try reading the man pages for radzap radwho. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
I know Don't think I'm that stupid about an IP address. That was the port. I also tried radzap -N 63.215.26.177 -P S406 -U rod secret This only gives the help again. The man file does not give an example of the command line. I guess I'l have to google for someones example. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 1:06 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Radius [EMAIL PROTECTED] wrote: Don't think I'm that stupid about an IP address. That was the port. So... where did you type in the IP address of the RADIUS server? The answer is nowhere, which is your mistake. I guess I'l have to google for someones example. Uh... right. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
It was in the command line I sent. 63.215.26.177 is an IP address. I would type radzap -N 63.215.26.177 S406 secret - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 2:19 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: Don't think I'm that stupid about an IP address. That was the port. So... where did you type in the IP address of the RADIUS server? The answer is nowhere, which is your mistake. I guess I'l have to google for someones example. Uh... right. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Your man says this. radzap [-d raddb_directory] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] server[:port] secret radzap -d /usr/local/etc/raddb -N 63.215.26.177 -P S406 -u rod 1645 secret Still brings me back to the help screen. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 1:06 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
You're not typing in the IP address of the server; 1645 is not the IP address of the server! -N 63.215.26.177 is the IP address of the NAS. On 12/1/05, Radius [EMAIL PROTECTED] wrote: Your man says this. radzap [-d raddb_directory] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] server[:port] secret radzap -d /usr/local/etc/raddb -N 63.215.26.177 -P S406 -u rod 1645 secret Still brings me back to the help screen. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 1:06 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: RadZap
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Radius Sent: Thursday, December 01, 2005 1:44 PM To: FreeRadius users mailing list Subject: Re: RadZap Your man says this. radzap [-d raddb_directory] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] server[:port] secret radzap -d /usr/local/etc/raddb -N 63.215.26.177 -P S406 -u ^ Isn't that an S instead of 5? rod 1645 secret Still brings me back to the help screen. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 1:06 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
User-Name = rod Acct-Session-Id = 04036884 NAS-IP-Address = 63.215.26.177 NAS-Port = 406 Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 4.240.144.66 Acct-Session-Time = 766846 radzap -N 63.215.26.177 -P S406 -u rod (server:port) 1646 secret - Original Message - From: Scott O'Connell [EMAIL PROTECTED] To: 'FreeRadius users mailing list' freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 2:56 PM Subject: RE: RadZap -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Radius Sent: Thursday, December 01, 2005 1:44 PM To: FreeRadius users mailing list Subject: Re: RadZap Your man says this. radzap [-d raddb_directory] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] server[:port] secret radzap -d /usr/local/etc/raddb -N 63.215.26.177 -P S406 -u ^ Isn't that an S instead of 5? rod 1645 secret Still brings me back to the help screen. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 1:06 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
S406 is an S and not a 5 -N is for the Nas IP (according to the man.) - Original Message - From: Scott O'Connell [EMAIL PROTECTED] To: 'FreeRadius users mailing list' freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 2:56 PM Subject: RE: RadZap -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Radius Sent: Thursday, December 01, 2005 1:44 PM To: FreeRadius users mailing list Subject: Re: RadZap Your man says this. radzap [-d raddb_directory] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] server[:port] secret radzap -d /usr/local/etc/raddb -N 63.215.26.177 -P S406 -u ^ Isn't that an S instead of 5? rod 1645 secret Still brings me back to the help screen. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 1:06 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Yikes :) Lookee here... radzap -N 63.215.26.177 -P S406 -u rod XXX.XXX.XXX.XXX:1646 secret XXX.XXX.XXX.XXX should be your *RADIUS* server IP. Not NAS, not client and, FWIW, secret should be the secret configured in your clients.conf. And I definitely think that -P S406 should just be -P 406 Laker --- Radius [EMAIL PROTECTED] wrote: S406 is an S and not a 5 -N is for the Nas IP (according to the man.) - Original Message - From: Scott O'Connell [EMAIL PROTECTED] To: 'FreeRadius users mailing list' freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 2:56 PM Subject: RE: RadZap -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Radius Sent: Thursday, December 01, 2005 1:44 PM To: FreeRadius users mailing list Subject: Re: RadZap Your man says this. radzap [-d raddb_directory] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] server[:port] secret radzap -d /usr/local/etc/raddb -N 63.215.26.177 -P S406 -u ^ Isn't that an S instead of 5? rod 1645 secret Still brings me back to the help screen. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 1:06 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
But his man said [-N nas_ip_address], so the man is wrong? I have the secret right. I just put it that way so I didn't broadcast it. User-Name = rod Acct-Session-Id = 04036884 NAS-IP-Address = 63.215.26.177 NAS-Port = 406 Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 4.240.144.66 Acct-Session-Time = 766846 I'll give it a try. Thanks - Original Message - From: Laker Netman [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 4:00 PM Subject: Re: RadZap Yikes :) Lookee here... radzap -N 63.215.26.177 -P S406 -u rod XXX.XXX.XXX.XXX:1646 secret XXX.XXX.XXX.XXX should be your *RADIUS* server IP. Not NAS, not client and, FWIW, secret should be the secret configured in your clients.conf. And I definitely think that -P S406 should just be -P 406 Laker --- Radius [EMAIL PROTECTED] wrote: S406 is an S and not a 5 -N is for the Nas IP (according to the man.) - Original Message - From: Scott O'Connell [EMAIL PROTECTED] To: 'FreeRadius users mailing list' freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 2:56 PM Subject: RE: RadZap -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Radius Sent: Thursday, December 01, 2005 1:44 PM To: FreeRadius users mailing list Subject: Re: RadZap Your man says this. radzap [-d raddb_directory] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] server[:port] secret radzap -d /usr/local/etc/raddb -N 63.215.26.177 -P S406 -u ^ Isn't that an S instead of 5? rod 1645 secret Still brings me back to the help screen. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 1:06 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
OK, thank you. That worked. - Original Message - From: Laker Netman [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 4:00 PM Subject: Re: RadZap Yikes :) Lookee here... radzap -N 63.215.26.177 -P S406 -u rod XXX.XXX.XXX.XXX:1646 secret XXX.XXX.XXX.XXX should be your *RADIUS* server IP. Not NAS, not client and, FWIW, secret should be the secret configured in your clients.conf. And I definitely think that -P S406 should just be -P 406 Laker --- Radius [EMAIL PROTECTED] wrote: S406 is an S and not a 5 -N is for the Nas IP (according to the man.) - Original Message - From: Scott O'Connell [EMAIL PROTECTED] To: 'FreeRadius users mailing list' freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 2:56 PM Subject: RE: RadZap -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Radius Sent: Thursday, December 01, 2005 1:44 PM To: FreeRadius users mailing list Subject: Re: RadZap Your man says this. radzap [-d raddb_directory] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] server[:port] secret radzap -d /usr/local/etc/raddb -N 63.215.26.177 -P S406 -u ^ Isn't that an S instead of 5? rod 1645 secret Still brings me back to the help screen. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, December 01, 2005 1:06 PM Subject: Re: RadZap Radius [EMAIL PROTECTED] wrote: I would type radzap -N 63.215.26.177 S406 secret Which is wrong. Please READ the help the man page. It keeps telling me it can't locate that IP address. Yes, you're using the command incorrectly. S406 is NOT the IP address of the RADIUS server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap Still given (negative Port)
I compiled the cvs update and still get [EMAIL PROTECTED] root]# radiusd -v radiusd: FreeRADIUS Version 1.0.4, for host , built on Aug 17 2005 at 23:01:39 Copyright (C) 2000-2003 The FreeRADIUS server project. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License. For more information about these matters, see the file named COPYRIGHT. [EMAIL PROTECTED] root]# radwho -r 1291,1291,shell,S2148532295,Thu 09:27,192.116.123.117,10.10.11.250 [EMAIL PROTECTED] root]# radwho -RZ -u 1291 User-Name = 1291 Acct-Session-Id = 80100047 Acct-Status-Type = Stop NAS-IP-Address = 192.116.123.117 NAS-Port = -2146435001 Service-type = Login-User Framed-IP-Address = 10.10.11.250 Acct-Session-Time = 21400 Calling-Station-Id = 00:11:5B:38:1F: Thanks Sarky Alan DeKok wrote: Sarkis Gabriel [EMAIL PROTECTED] wrote: After installing the CVS although not the latest one as of today but it was suppose to have the fix for the Negative port. cvs update Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap Still given (negative Port)
Sarkis Gabriel [EMAIL PROTECTED] wrote: After installing the CVS although not the latest one as of today but it was suppose to have the fix for the Negative port. cvs update Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
Dear Alan, Thanks, you are right and now it's working. --- Alan DeKok [EMAIL PROTECTED] wrote: Soheb Ahmed [EMAIL PROTECTED] wrote: Thanks for your reply. I have used port collection of FreeBSD on line to install freeradius. So? My statement is still true. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Thanks Md. Soheb Ahmed 708 Shahidbagh (First Floor), Dhaka 1217, Bangladesh. Email: [EMAIL PROTECTED],[EMAIL PROTECTED] http://www.geocities.com/soheb707/ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
Soheb Ahmed [EMAIL PROTECTED] wrote: I am running FreeBSD5.4 and freeradius 1.0.4 is working fine with radwho and radlast. Problem is when I issue radzap command to any logged user, I get error like Starting reading configuration file.port 1813 is used by another radius server. Please help. You're not using the version of radzap included with 1.0.4. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
Hi, Thanks for your reply. I have used port collection of FreeBSD on line to install freeradius.Alan DeKok [EMAIL PROTECTED] wrote: Soheb Ahmed <[EMAIL PROTECTED]>wrote: I am running FreeBSD5.4 and freeradius 1.0.4 is working fine with radwho and radlast. Problem is when I issue radzap command to any logged user, I get error like " Starting reading configuration file.port 1813 is used by another radius server". Please help.You're not using the version of radzap included with 1.0.4.Alan DeKok.- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Thanks Md. Soheb Ahmed 708 Shahidbagh (First Floor), Dhaka 1217, Bangladesh. Email: [EMAIL PROTECTED],[EMAIL PROTECTED] http://www.geocities.com/soheb707/ __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
Soheb Ahmed [EMAIL PROTECTED] wrote: Thanks for your reply. I have used port collection of FreeBSD on line to install freeradius. So? My statement is still true. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
I have installed freeradius from CVS and i found out that radzap in that is a bin file and it is giving Segmentation Fault, I just want a confirmation if there was any changes made on cvs? Also The Version of radwho.c is 1.44.2.1, and Changelog states that it is the candidate for 1.0.3 Thank you Sarky -- Original Message --- From: Sarkis Gabriel [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Tue, 10 May 2005 00:12:20 +0200 Subject: Re: RadZap Okie i got the CVS once more, i think the way i got it the first time was wrong hence i got the ./configure error. I noticed that i was talking about another email in the archive and not the one originated from you, now i got the cvs and compiled it tomorrow when my brain is functioning properly i will install and configure and play around with radzap. Sorry for the confusion, and thanks for the help. Sarky -- Original Message --- From: Alan DeKok [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Mon, 09 May 2005 17:19:13 -0400 Subject: Re: RadZap Sarkis Gabriel [EMAIL PROTECTED] wrote: The CVS command i used was the one advising someone else to use and i got radiusd, copied the files and got a compile error when it got to radwho.c If you grab the 1.0.x candidate from CVS, you don't have to copy over radwho.c. The previous messages in the list archive say that. And didn't you say in your previous message that it failed in configure? Are you sure you know what's going on in your system? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- End of Original Message --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- End of Original Message --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Sarkis Gabriel [EMAIL PROTECTED] wrote: I have installed freeradius from CVS and i found out that radzap in that is a bin file and it is giving Segmentation Fault, I just want a confirmation if there was any changes made on cvs? That's fixed. Do a cvs update Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Sarkis Gabriel [EMAIL PROTECTED] wrote: I have just checked out 1.0.2 and found out RadZap does not work i even did what was said to copy the radzap.c from CVS to 1.0.2 and compile it, but still no Joy with radzap and i do rely on that on a daily bases. You couldn't have copied radzap.c from the CVS head to 1.0.2, because it doesn't exist in the CVS head. Copy radwho.c radzap. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Sorry i meant radzap and radwho.c, i copied them both and did ./configure --with- experimental-modules and then make but i noticed it broke during the make process and that is what i got during the weekend. /usr/include/bits/socket.h:275: parse error before '' token In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from ../include/libradius.h:30, from ../include/radiusd.h:10, from radwho.c:51: /usr/include/gconv.h: At top level: /usr/include/gconv.h:72: parse error before size_t /usr/include/gconv.h:88: parse error before size_t /usr/include/gconv.h:97: parse error before size_t /usr/include/gconv.h:174: parse error before size_t /usr/include/gconv.h:177: parse error before '}' token In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from ../include/libradius.h:30, from ../include/radiusd.h:10, from radwho.c:51: /usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:52: confused by earlier errors, bailing out gmake[4]: *** [radwho.o] Error 1 gmake[4]: Leaving directory `/root/freeradius-1.0.2/src/main' gmake[3]: *** [common] Error 1 Anyideas? -- Original Message --- From: Alan DeKok [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Mon, 09 May 2005 13:30:15 -0400 Subject: Re: RadZap Sarkis Gabriel [EMAIL PROTECTED] wrote: I have just checked out 1.0.2 and found out RadZap does not work i even did what was said to copy the radzap.c from CVS to 1.0.2 and compile it, but still no Joy with radzap and i do rely on that on a daily bases. You couldn't have copied radzap.c from the CVS head to 1.0.2, because it doesn't exist in the CVS head. Copy radwho.c radzap. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- End of Original Message --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Sarkis Gabriel [EMAIL PROTECTED] wrote: Sorry i meant radzap and radwho.c, i copied them both and did ./configure --with- experimental-modules and then make but i noticed it broke during the make process and that is what i got during the weekend. shrug Try grabbing a copy of the pre-release for 1.0.3 from CVS. See recent messages on the list for details. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Sarkis Gabriel [EMAIL PROTECTED] wrote: just to confirm is it this cvs command cvs -d :pserver:[EMAIL PROTECTED]:/source checkout -j release_1_0 radiusd No. that is the one i got and i tried to compile it from scratch but it fails on ./configure I hate playing twenty questions. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
To be honest i have spent a lot of time working out cvs and i do not know how to check for the version on cvs the only thing i found in the archive about cvs and 1.0.3 is the one below posted few days back and pointing out that it is the current candidate for the official 1.0.3 and it is called release_1_0. I know you dont like playing twenty question but if i have not tried, I would not be asking, i just need to get this new system compiled and working so i can drop version 0.9.3. Thank you once more Sarky -- Original Message --- From: Alan DeKok [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Mon, 09 May 2005 14:53:24 -0400 Subject: Re: RadZap Sarkis Gabriel [EMAIL PROTECTED] wrote: just to confirm is it this cvs command cvs -d :pserver:[EMAIL PROTECTED]:/source checkout -j release_1_0 radiusd No. that is the one i got and i tried to compile it from scratch but it fails on ./configure I hate playing twenty questions. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- End of Original Message --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Sarkis Gabriel [EMAIL PROTECTED] wrote: To be honest i have spent a lot of time working out cvs and i do not know how to check for the version on cvs the only thing i found in the archive about cvs and 1.0.3 is the one below posted few days back and pointing out that it is the current candidate for the official 1.0.3 and it is called release_1_0. It will work if you follow the instructions in that message. I know you dont like playing twenty question but if i have not tried, I would not be asking, i just need to get this new system compiled and working so i can drop version 0.9.3. I would like to be able to help you, but you keep saying something went wrong, and giving NO information. I'm not a mind reader, and I *hate* having to play the twenty questions game. if you want someone to help you, then give them enough information so that they can understand what you're doing. If you don't, then you're forcing people to ask you question after question of OK, and what EXACTLY went wrong? If you never say anything other than something went wrong, then no one will be able to help you. Ever. And no one will want to help you, either. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
I think it is best to start all over again. I have been using 0.9.3 basicaly since that was the current version and it is working fine, now i want to upgrade and go for the newer version so i downloaded 1.0.2 and found out that radzap is not working properly. After looking in the MAN pages found out that radzap is a script which uses radwho/radclient to do its job Simple Term that is. So checking up on it, found out that few users had similar problem and in the archive I located a message stating that it will be fixed in 1.0.3 or you can download the cvs and swap files then compile once more. The CVS command i used was the one advising someone else to use and i got radiusd, copied the files and got a compile error when it got to radwho.c I recently downloaded the snapshot - freeradius-snapshot-20050509.tar.gz - and compiled it, bearing in mind the version which is still on the system is 0.9.3. I copied over radzap, radwho, radclient thinking that it might work in place of original radzap so i can see if it works with the current version then change all the scripts i already have in place to the new command line before the upgrade, but no joy, i think it is incompatibility. Sorry once more to go on and on but i think the above gives a better view of what i have done . Sarky -- Original Message --- From: Alan DeKok [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Mon, 09 May 2005 16:51:23 -0400 Subject: Re: RadZap Sarkis Gabriel [EMAIL PROTECTED] wrote: To be honest i have spent a lot of time working out cvs and i do not know how to check for the version on cvs the only thing i found in the archive about cvs and 1.0.3 is the one below posted few days back and pointing out that it is the current candidate for the official 1.0.3 and it is called release_1_0. It will work if you follow the instructions in that message. I know you dont like playing twenty question but if i have not tried, I would not be asking, i just need to get this new system compiled and working so i can drop version 0.9.3. I would like to be able to help you, but you keep saying something went wrong, and giving NO information. I'm not a mind reader, and I *hate* having to play the twenty questions game. if you want someone to help you, then give them enough information so that they can understand what you're doing. If you don't, then you're forcing people to ask you question after question of OK, and what EXACTLY went wrong? If you never say anything other than something went wrong, then no one will be able to help you. Ever. And no one will want to help you, either. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- End of Original Message --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Sarkis Gabriel [EMAIL PROTECTED] wrote: The CVS command i used was the one advising someone else to use and i got radiusd, copied the files and got a compile error when it got to radwho.c If you grab the 1.0.x candidate from CVS, you don't have to copy over radwho.c. The previous messages in the list archive say that. And didn't you say in your previous message that it failed in configure? Are you sure you know what's going on in your system? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RadZap
Okie i got the CVS once more, i think the way i got it the first time was wrong hence i got the ./configure error. I noticed that i was talking about another email in the archive and not the one originated from you, now i got the cvs and compiled it tomorrow when my brain is functioning properly i will install and configure and play around with radzap. Sorry for the confusion, and thanks for the help. Sarky -- Original Message --- From: Alan DeKok [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Mon, 09 May 2005 17:19:13 -0400 Subject: Re: RadZap Sarkis Gabriel [EMAIL PROTECTED] wrote: The CVS command i used was the one advising someone else to use and i got radiusd, copied the files and got a compile error when it got to radwho.c If you grab the 1.0.x candidate from CVS, you don't have to copy over radwho.c. The previous messages in the list archive say that. And didn't you say in your previous message that it failed in configure? Are you sure you know what's going on in your system? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- End of Original Message --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap
mlgjd mlgjd [EMAIL PROTECTED] wrote: I'm triing to use radzap but it seems that i'm doing something wrong. radzap doesn't work in 1.0.2. There will be a fix in 1.0.3, which I guess we should release sometime soon... Alan Dekok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap
On Monday 25 of April 2005 22:27, Alan DeKok wrote: mlgjd mlgjd [EMAIL PROTECTED] wrote: I'm triing to use radzap but it seems that i'm doing something wrong. radzap doesn't work in 1.0.2. There will be a fix in 1.0.3, which I guess we should release sometime soon... Alan Dekok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html I have the same problem with 1.0.1. Is it possible that in version 1.0.1 radzap doesn't work too? Micko - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap
Micko [EMAIL PROTECTED] wrote: I have the same problem with 1.0.1. Is it possible that in version 1.0.1 radzap doesn't work too? Yes. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Radius wrote: Maybe you need to (sometime a .)/usr/local/freeradius/bin/radzap etc. My not working below is not a command not files, but it show the result after it run. But when I'm running radwho to see who is online still the old result I'm getting... Example. 1) 1st time running radwho, this is the zombie users... (disconnect but still with an open session) [EMAIL PROTECTED] root]# radwho Login Name What TTY When From Location [EMAIL PROTECTED] dcmwaiATocesb.com. shell S145 Thu 18:05 192.168.0 2) Running radzap and need to kill this zombies session... [EMAIL PROTECTED] root]# radzap 192.168.0.16 S:S145 [EMAIL PROTECTED] Sat Mar 12 03:19:07 2005 : Info: Starting - reading configuration files ... 3) radzap finished, running radwho again... the same users still there.. [EMAIL PROTECTED] root]# radwho Login Name What TTY When From Location [EMAIL PROTECTED] dcmwaiATocesb.com. shell S145 Thu 18:05 192.168.0 I do know one way to kill off all users connection but still it will leave the sql DB with an open account... that is to remove radutmp and radwtmp but it don't really help if you only want to remove the users on one NAS switch instate of all of them. Regards, Chan Min Wai Chan Min Wai wrote: Radius wrote: Radzap is mainly for the stale radwho that are not there but still showing loged in. Yep that user is already logout due to a power cycle/reboot in the NAS. So radzap is the right tools to get the zombie users off radius. radwho first to see the one you want. then do a radwho -r to get the detailed . radzap 111.111.111.111 S560 [EMAIL PROTECTED] Ok it is not working 111.111.111.111 is the NAS switch iP. S560 is the Connection Port. [EMAIL PROTECTED] is the userlogin name. Well, any other debug message or anything I should before continue? I really want to get this function working... Regards, Thank you Chan Min Wai - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCM7wxV0p9slMZLW4RAsYSAKDDsbQeCz5G8hszibUkp4lkEZM20gCcDHU2 Lrl34Z2CqcDSJRyIoqY4Y8k= =9pre -END PGP SIGNATURE- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap...
Try radwho -r to make sure your geting the full S port number. radzap does not drop their connection, it only deletes stale entries listed in radwho that are no longer connected Chan Min Wai wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Radius wrote: Maybe you need to (sometime a .)/usr/local/freeradius/bin/radzap etc. My not working below is not a command not files, but it show the result after it run. But when I'm running radwho to see who is online still the old result I'm getting... Example. 1) 1st time running radwho, this is the zombie users... (disconnect but still with an open session) [EMAIL PROTECTED] root]# radwho Login Name What TTY When From Location [EMAIL PROTECTED] dcmwaiATocesb.com. shell S145 Thu 18:05 192.168.0 2) Running radzap and need to kill this zombies session... [EMAIL PROTECTED] root]# radzap 192.168.0.16 S:S145 [EMAIL PROTECTED] Sat Mar 12 03:19:07 2005 : Info: Starting - reading configuration files ... 3) radzap finished, running radwho again... the same users still there.. [EMAIL PROTECTED] root]# radwho Login Name What TTY When From Location [EMAIL PROTECTED] dcmwaiATocesb.com. shell S145 Thu 18:05 192.168.0 I do know one way to kill off all users connection but still it will leave the sql DB with an open account... that is to remove radutmp and radwtmp but it don't really help if you only want to remove the users on one NAS switch instate of all of them. Regards, Chan Min Wai Chan Min Wai wrote: Radius wrote: Radzap is mainly for the stale radwho that are not there but still showing loged in. Yep that user is already logout due to a power cycle/reboot in the NAS. So radzap is the right tools to get the zombie users off radius. radwho first to see the one you want. then do a radwho -r to get the detailed . radzap 111.111.111.111 S560 [EMAIL PROTECTED] Ok it is not working 111.111.111.111 is the NAS switch iP. S560 is the Connection Port. [EMAIL PROTECTED] is the userlogin name. Well, any other debug message or anything I should before continue? I really want to get this function working... Regards, Thank you Chan Min Wai - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCM7wxV0p9slMZLW4RAsYSAKDDsbQeCz5G8hszibUkp4lkEZM20gCcDHU2 Lrl34Z2CqcDSJRyIoqY4Y8k= =9pre -END PGP SIGNATURE- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Radius wrote: Sure does. We use it from time to time, when our wholesale connections don't send a good disconnect. radzap IP-Address S:port [EMAIL PROTECTED] ... Hum ... Not working.. [EMAIL PROTECTED] root]# radwho Login Name What TTY When From Location [EMAIL PROTECTED] dcmwaiATocesb.com. shell S145 Thu 18:05 192.168.0 [EMAIL PROTECTED] root]# radzap 192.168.0.16 S:S145 [EMAIL PROTECTED] Sat Mar 12 03:19:07 2005 : Info: Starting - reading configuration files ... [EMAIL PROTECTED] root]# radwho Login Name What TTY When From Location [EMAIL PROTECTED] dcmwaiATocesb.com. shell S145 Thu 18:05 192.168.0 [EMAIL PROTECTED] root]# Any idea/guide? Regards Chan Min Wai Chan Min Wai wrote: Hello all, I found that this script isn't working for me, so wonder if this script is still working? What does this script check anyway? did this scrip need checkrad to work? Just wonder anyone have the guide to patch checkrad to work with another oid with snmp way? regards. Thank You Chan Min Wai - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCMe+OV0p9slMZLW4RAhtuAKCWaH6ma+tUb2R5a18XXQjcKj8zbACdFmBW /k6/583BCcC5dONf3zqZGlo= =ZQ4r -END PGP SIGNATURE- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap...
Radius wrote: Radzap is mainly for the stale radwho that are not there but still showing loged in. Yep that user is already logout due to a power cycle/reboot in the NAS. So radzap is the right tools to get the zombie users off radius. radwho first to see the one you want. then do a radwho -r to get the detailed . radzap 111.111.111.111 S560 [EMAIL PROTECTED] Ok it is not working 111.111.111.111 is the NAS switch iP. S560 is the Connection Port. [EMAIL PROTECTED] is the userlogin name. Well, any other debug message or anything I should before continue? I really want to get this function working... Regards, Thank you Chan Min Wai - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap...
Maybe you need to (sometime a .)/usr/local/freeradius/bin/radzap etc. Chan Min Wai wrote: Radius wrote: Radzap is mainly for the stale radwho that are not there but still showing loged in. Yep that user is already logout due to a power cycle/reboot in the NAS. So radzap is the right tools to get the zombie users off radius. radwho first to see the one you want. then do a radwho -r to get the detailed . radzap 111.111.111.111 S560 [EMAIL PROTECTED] Ok it is not working 111.111.111.111 is the NAS switch iP. S560 is the Connection Port. [EMAIL PROTECTED] is the userlogin name. Well, any other debug message or anything I should before continue? I really want to get this function working... Regards, Thank you Chan Min Wai - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap...
Sure does. We use it from time to time, when our wholesale connections don't send a good disconnect. radzap IP-Address S:port [EMAIL PROTECTED] Chan Min Wai wrote: Hello all, I found that this script isn't working for me, so wonder if this script is still working? What does this script check anyway? did this scrip need checkrad to work? Just wonder anyone have the guide to patch checkrad to work with another oid with snmp way? regards. Thank You Chan Min Wai - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap in FreeBSD
[EMAIL PROTECTED] wrote: Because there's a bug in the source code which prevents it from working when you're trying to run it on the same server on which the server is running - no matter what OS that box is using? You mentioned on the same server. I also tried to radzap from a remote server, where no radiusd runs, but wasn't successfull. I made entries of the remote server in the clients.conf and and naslist as usual on the radius and used the command similar to this: remoteserver:~# radzap -r target-radius-IP terminalserver-IP terminalserver-userport Tue Jan 11 16:19:17 2005 : Info: Starting - reading configuration files ... radzap: zapping termserver x.x.x.x, port xx Entry not found The radutmp-session was not zapped, checked with radwho -ir. Is anybody able to use radzap remotely? Thx Oliver - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap in FreeBSD
I don't know if this has anything to do with it but the UTMP on FreeBSD is slightly different than many other platforms. I came across these differences a number of years ago, when I was having problems. The main consequence I came across was that FreeBSD truncates the nas/port information. If radutmp on FreeBSD is using a standard structure on all platforms rather than the platform standard, this may be a mute point. On Tue, 2005-11-01 at 13:53 +0100, [EMAIL PROTECTED] wrote: Luiz Gustavo Anflor Pereira schrieb: There is some problem about radzap 0.9.1 in a FreeBSD system? Why it does not zap the users from radutmp? Because there's a bug in the source code which prevents it from working when you're trying to run it on the same server on which the server is running - no matter what OS that box is using? Didn't we have some detailled description of the problem in the past weeks? Regards, Stefan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Guy Fraser Network Administrator The Internet Centre 1-888-450-6787 (780)450-6787 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap in FreeBSD
Maybe you are correct. But when we use radwho -r, we can use the port number we see. I copied the radutmp file to a linux/freeradius test server, and i can zap the user. The problem is in the real server, the server that runs FreeBSD. It seems that radzap does not find the radiusd server, but they are on the same machine. It is not that problem of port already in use, the release i am using is 0.9.1. thanks, Luiz Gustavo I don't know if this has anything to do with it but the UTMP on FreeBSD is slightly different than many other platforms. I came across these differences a number of years ago, when I was having problems. The main consequence I came across was that FreeBSD truncates the nas/port information. If radutmp on FreeBSD is using a standard structure on all platforms rather than the platform standard, this may be a mute point. On Tue, 2005-11-01 at 13:53 +0100, [EMAIL PROTECTED] wrote: Luiz Gustavo Anflor Pereira schrieb: There is some problem about radzap 0.9.1 in a FreeBSD system? Why it does not zap the users from radutmp? Because there's a bug in the source code which prevents it from working when you're trying to run it on the same server on which the server is running - no matter what OS that box is using? Didn't we have some detailled description of the problem in the past weeks? Regards, Stefan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Guy Fraser Network Administrator The Internet Centre 1-888-450-6787 (780)450-6787 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
Hello guys I would like to know if there is some difference in the source code of freeradiusd 0.9.1, or in compilation options, between linux and freeBSD, because when i run radzap, compiled by the same code, in linux it works, in FreeBSD does not. thanks very much, Luiz Gustavo - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
Oliver Zimmermann [EMAIL PROTECTED] wrote: The only thing radzap needs from the configuration files is the location of the radutmp file, and that can easily be specified on the command line of radzap. No, radzap from 0.7 had no directory-parameters: Umm... I know that. It had the directory hard-coded in it. And in radzap from 1.0.0 one can specify the general raddb dir: Because radzap reads radiusd.conf. But that's all not the point. The point is, radzap from 1.0.0 does not work, due to some socket related problems when a radiusd is running on the machine (as Luiz Gustavo wrote). Yes, I know. The reason there are socket issues is that the read radiusd.conf code is there for radiusd, not for radzap. radzap should probably NOT be reading radiusd.conf, for a whole number of reasons. And so did the previous versions i know (except 0.7), which makes me wonder, that only a few people use radzap really. But to kill lost sessions, radzap is really essential for us and the problem in the C-code is documented in the beginning of thread. I understand. The longer term solution is to fix radzap so it takes the path to the radutmp file as a parameter, and calls radclient to send the packets. That way there's less code, and it doesn't need to read radiusd.conf. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
Luiz Gustavo Anflor Pereira [EMAIL PROTECTED] wrote: I would like to know if there is some difference in the source code of freeradiusd 0.9.1, or in compilation options, between linux and freeBSD, because when i run radzap, compiled by the same code, in linux it works, in FreeBSD does not. No. It is the same source code. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
Oliver Zimmermann [EMAIL PROTECTED] wrote: But now I have a problem. We added some new querie statements in the radiusd.conf/sql.conf, which radzap (0.7) can't parse any longer, when it reads these confs at start-up. So it probably shouldn't be reading the configuration files. The only thing radzap needs from the configuration files is the location of the radutmp file, and that can easily be specified on the command line of radzap. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
On Mon, 03 Jan 2005 16:01:50 -0500 Alan DeKok [EMAIL PROTECTED] wrote: Oliver Zimmermann [EMAIL PROTECTED] wrote: But now I have a problem. We added some new querie statements in the radiusd.conf/sql.conf, which radzap (0.7) can't parse any longer, when it reads these confs at start-up. So it probably shouldn't be reading the configuration files. The only thing radzap needs from the configuration files is the location of the radutmp file, and that can easily be specified on the command line of radzap. No, radzap from 0.7 had no directory-parameters: radzap [-p acct_port] [-r servername|serverip] termserver [port] [user] And in radzap from 1.0.0 one can specify the general raddb dir: # radzap Usage: radzap [-d raddb] [-p acct_port] [-r servername|serverip] termserver [port] [user] ...where: -d raddbSet the raddb directory (default is /usr/local/etc/raddb) But that's all not the point. The point is, radzap from 1.0.0 does not work, due to some socket related problems when a radiusd is running on the machine (as Luiz Gustavo wrote). And so did the previous versions i know (except 0.7), which makes me wonder, that only a few people use radzap really. But to kill lost sessions, radzap is really essential for us and the problem in the C-code is documented in the beginning of thread. Bye, Oliver - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
Hello I had this problem too. I found that in the newer versions of freeradius, the read_mainconfig function (in the src/main/mainconfig.c) tests if the port of radiusd is free. If it is not, then exits the program. The problem is that radzap uses the same function. So, radiusd is running, you try to run radzap, then the function exits because the port is already in use. In older version there was no such test. I solved this issue copying the entire function to a new one, and the new function does not exit the program. Then the radzap calls the new function, say read_mainconfig_zap. Hope it will help you. bye, Luiz Gustavo Hi, we are using freeradius-1.0.0, but to kill user sessions on the radius server manually, I always used radzap from freeradius-0.7. No other radzap-version since then - including 1.0.0 - ever worked in my setups. But now I have a problem. We added some new querie statements in the radiusd.conf/sql.conf, which radzap (0.7) can't parse any longer, when it reads these confs at start-up. So I would like to get radzap (1.0.0) to run. Therefore I started the debug mode with radiusd -X. When I use the old radzap, I see the generated stop-packet coming in - that is the expected behaviour. But when I use radzap from release 1.0.0 (in the same way), there is NO incoming stop-packet in the debug log. - And the invoked command shows the following: test-radius:# radzap 211.34.61.119 268566633 Thu Dec 30 16:40:08 2004 : Info: Starting - reading configuration files ... test-radius:# It seems, the radzap command instantly quits while reading some configuration files. What is wrong with the newer radzap versions? I'm not a C-programmer - is the only solution for me, to build a workaround with radclient, which imitates radzap? Regards, Oliver - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: radzap problem
On Thu, 30 Dec 2004 14:21:37 -0200 (BRST) Luiz Gustavo Anflor Pereira [EMAIL PROTECTED] wrote: Hello I had this problem too. I found that in the newer versions of freeradius, the read_mainconfig function (in the src/main/mainconfig.c) tests if the port of radiusd is free. If it is not, then exits the program. The problem is that radzap uses the same function. So, radiusd is running, you try to run radzap, then the function exits because the port is already in use. In older version there was no such test. I solved this issue copying the entire function to a new one, and the new function does not exit the program. Then the radzap calls the new function, say read_mainconfig_zap. Hope it will help you. bye, Luiz Gustavo Hello Luiz Gustavo, thank you very much. You surely are right, because in the strace of radzap-1.0.0 I found something about Address already in use and an error message at the end: socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 bind(3, {sa_family=AF_INET, sin_port=htons(1812), sin_addr=inet_addr(0.0.0.0)}, 16) = -1 EADDRINUSE (Address already in use) close(3)= 0 open(/usr/local/var/log/radius/radius.log, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=161614, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000 fstat64(3, {st_mode=S_IFREG|0644, st_size=161614, ...}) = 0 _llseek(3, 161614, [161614], SEEK_SET) = 0 time(NULL) = 1104422506 write(3, Thu Dec 30 17:01:46 2004 : Error..., 116) = 116 close(3)= 0 munmap(0x40019000, 4096)= 0 munmap(0x40018000, 4096)= 0 exit_group(1) = ? Happy new year, Oliver - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: RADZAP
Geoffrey Cauchi [EMAIL PROTECTED] wrote: We are running Free Radius 1Pre3 and wanted to delete a user entry from radutmp using radzap. The user entry is not being deleted though! Other people have said the same thing. Anyone knows about issues with radzap? Not really. i.e. Set up a *tiny* test system. Use radclient to send a fake accounting start packet, to create a radutmp entry. Use radwho to check that the user is marked as logged in. Then, use radzap to zap their session. You can also use radclient to send a fake accounting stop packet. That should cause the entry to be deleted. That will give you not only simple debugging output, but you will be able to see what *does* cause the entry to be deleted, and that will give you an indication as to what's wrong with radzap. In the long run, radzap should probably be moved to a shell script around radclient, and the server should be updated to accept those zap sessions from a trusted client, like localhost. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html