radclient error

2013-09-11 Thread Mehdi Ravanbakhsh
Hi All I have this Error when using radclient: radclient: Nothing to send. radclient:: Expected end of line or comma I do not know what is means ? (radclient is run by PlPerl script in my postgresql database engine) Best regards. - List info/subscribe/unsubscribe? See http

Re: radclient error

2013-09-11 Thread Arran Cudbard-Bell
On 11 Sep 2013, at 11:03, Mehdi Ravanbakhsh baba...@gmail.com wrote: Hi All I have this Error when using radclient: radclient: Nothing to send. radclient:: Expected end of line or comma I do not know what is means ? It means you've not specified any input pairs, use the -f option

Re: radclient error

2013-09-11 Thread Mehdi Ravanbakhsh
thanks Arran It is solved Best regards. On Wed, Sep 11, 2013 at 3:03 PM, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: On 11 Sep 2013, at 11:03, Mehdi Ravanbakhsh baba...@gmail.com wrote: Hi All I have this Error when using radclient: radclient: Nothing to send

RE: Radclient receives response messages from different source port than destination port of request messages

2013-05-30 Thread rosario.mattera
Hi Alan, I would like to specify that I'm using radclient as a RADIUS proxy. I reach the RADIUS server through a load balancer. The server uses ports other than 1812 and 1813 in its responses because the matching between requests and responses is done through the Proxy-State attribute

Re: Radclient receives response messages from different source port than destination port of request messages

2013-05-30 Thread Arran Cudbard-Bell
On 30 May 2013, at 05:23, rosario.matt...@accenture.com wrote: Hi Alan, I would like to specify that I'm using radclient as a RADIUS proxy. Um. Why? I reach the RADIUS server through a load balancer. The server uses ports other than 1812 and 1813 in its responses because the matching

Re: Radclient receives response messages from different source port than destination port of request messages

2013-05-30 Thread Alan DeKok
rosario.matt...@accenture.com wrote: I would like to specify that I'm using radclient as a RADIUS proxy. Nonsense. radclient is a client. It's not a server. It's not a proxy. I reach the RADIUS server through a load balancer. That's fine. The server uses ports other than 1812

RE: Radclient receives response messages from different source port than destination port of request messages

2013-05-30 Thread rosario.mattera
maggio 2013 14:27 To: FreeRadius users mailing list Subject: Re: Radclient receives response messages from different source port than destination port of request messages On 30 May 2013, at 05:23, rosario.matt...@accenture.com wrote: Hi Alan, I would like to specify that I'm using radclient

Radclient receives response messages from different source port than destination port of request messages

2013-05-28 Thread rosario.mattera
Hi everyone, I use radclient to send Access-Request messages to a RADIUS server (towards 1812 port), which responds with Access-Accept messages with a different source port number (e.g. 28120). So radclient prints out: rad_recv: Access-Accept packet from host 10.130.159.200 port 28120, id=20

Re: Radclient receives response messages from different source port than destination port of request messages

2013-05-28 Thread Alan DeKok
rosario.matt...@accenture.com wrote: I use radclient to send Access-Request messages to a RADIUS server (towards 1812 port), which responds with Access-Accept messages with a different source port number (e.g. 28120). So radclient prints out: rad_recv: Access-Accept packet from host

RE: Radclient receives response messages from different source port than destination port of request messages

2013-05-28 Thread rosario.mattera
to force radclient to recognize that response? I have to edit the source files? Regards, Rosario -Original Message- From: freeradius-users-bounces+rosario.mattera=accenture@lists.freeradius.org [mailto:freeradius-users-bounces+rosario.mattera=accenture@lists.freeradius.org

Re: Radclient receives response messages from different source port than destination port of request messages

2013-05-28 Thread Alan DeKok
source port because of Proxy-State attribute is used in the Access-Request. Nonsense. RADIUS doesn't work like that. Is there a way to force radclient to recognize that response? I have to edit the source files? No. RADIUS doesn't work like that. FreeRADIUS will *never* work like

RE: Radclient receives response messages from different source port than destination port of request messages

2013-05-28 Thread rosario.mattera
To: FreeRadius users mailing list Subject: Re: Radclient receives response messages from different source port than destination port of request messages rosario.matt...@accenture.com wrote: Thanks Alan for your response. Anyway I can't modify RADIUS server configuration because does not belongs to my

Cannot disconnect radius user using radclient

2013-03-10 Thread Iftakhul Anwar
Hi All, I've successfully install coovachili anda freeradius using mysql database. Now I've just try to disconnect coovachilli user online with radclient command: I try with command bellow to disconect user=alice * echo User-Name=alice | radclient -x localhost:3779 disconnect testing123

Re: Cannot disconnect radius user using radclient

2013-03-10 Thread Muhammad Nadeem
*echo User-Name=alice | radclient -x 192.168.2.3:3779 disconnect testing123* *Sending Disconnect-Request of id 78 to 192.168.2.3 port 3779* * * * default port of freeradius is 1812 and 1813,, use these ports* On Sun, Mar 10, 2013 at 6:24 PM, Iftakhul Anwar an...@meruvian.org wrote: Hi All

Re: Cannot disconnect radius user using radclient

2013-03-10 Thread Alan DeKok
Iftakhul Anwar wrote: /echo User-Name=alice | radclient -x 192.168.2.3:3779 http://192.168.2.3:3779 disconnect testing123/ /Sending Disconnect-Request of id 78 to 192.168.2.3 port 3779/ / User-Name = alice/ /radclient: no response from server for ID 78 socket 3/ / / Note: 192.168.2.3 is ip

Re: Cannot disconnect radius user using radclient

2013-03-10 Thread Iftakhul Anwar
I've run server on debug mode. But when i try to execute : echo User-Name=alice | radclient -x 192.168.2.3:3779 disconnect testing123 [output bellow] *$ echo User-Name=alice | radclient -x 192.168.2.3:3779 disconnect testing123* *Sending Disconnect-Request of id 185 to 192.168.2.3 port 3779

Re: Cannot disconnect radius user using radclient

2013-03-10 Thread Alan DeKok
Iftakhul Anwar wrote: I've run server on debug mode. You didn't post it. As suggested in the FAQ, man page, web pages, and daily on this list. But when i try to execute : echo User-Name=alice | radclient -x 192.168.2.3:3779 disconnect testing123 You already said that. On server radius

Re: Cannot disconnect radius user using radclient

2013-03-10 Thread Iftakhul Anwar
...@deployingradius.comwrote: Iftakhul Anwar wrote: I've run server on debug mode. You didn't post it. As suggested in the FAQ, man page, web pages, and daily on this list. But when i try to execute : echo User-Name=alice | radclient -x 192.168.2.3:3779 disconnect testing123 You already said

Re: Cannot disconnect radius user using radclient

2013-03-10 Thread Alan DeKok
Iftakhul Anwar wrote: On site-avalaible/coa i've get this : You're supposed to READ IT. And ENABLE IT. You do know how to enable it, right? You know the difference between raddb/sites-enabled and raddb/sites-available? And the point of running the server in debugging mode is to READ

Re: Cannot disconnect radius user using radclient

2013-03-10 Thread Iftakhul Anwar
in 4.8 seconds. Cleaning up request 1 ID 6 with timestamp +181 Ready to process requests But when i try to execute command to disconnect , still not response: echo User-Name=alice | radclient -x 192.168.2.3:3779 disconnect testing123 Sending Disconnect-Request of id 78 to 192.168.2.3 port 3779 User

Re: Cannot disconnect radius user using radclient

2013-03-10 Thread Alan DeKok
. But when i try to execute command to disconnect , still not response: echo User-Name=alice | radclient -x 192.168.2.3:3779 disconnect testing123 Sending Disconnect-Request of id 78 to 192.168.2.3 port 3779 User-Name = alice Because the server isn't listening on that port. are there missing

Re: Radclient with VQP

2012-10-25 Thread Alan DeKok
Tarun Dixit wrote: 1. Is vqp support already enabled in freeradius(radclient and server both) by default? Or do I need to enable some flag before compiling freeradius for VQP support? VQP is in the server by default. It's not in radclient. 2. I want to test the functionality

Re: Radclient with VQP

2012-10-25 Thread Maarten Carels
On 25 Oct 2012, at 16:28 , Alan DeKok wrote: Tarun Dixit wrote: 1. Is vqp support already enabled in freeradius(radclient and server both) by default? Or do I need to enable some flag before compiling freeradius for VQP support? VQP is in the server by default. It's not in radclient

Re: radclient coa example

2012-10-23 Thread Alan DeKok
jobhunt...@aol.com wrote: I've read where radclient can be used to send a change-of-authorization message (COA) from the server to a NAS to change the bandwidth limit but I have not been able to find an example of this. Does any have an example of radclient sending a coa message to change

radclient coa example

2012-10-22 Thread jobhunts02
I've read where radclient can be used to send a change-of-authorization message (COA) from the server to a NAS to change the bandwidth limit but I have not been able to find an example of this. Does any have an example of radclient sending a coa message to change the bandwidth limit? - List

Re: FreeRadius 2.1.12: radclient without coa

2012-05-10 Thread Bjørn Mork
alan buxey a.l.m.bu...@lboro.ac.uk writes: what does 'which radclient' tell you and what does eg 'locate radclient' give you? Or the most obvious one: What does radclient -v say? Bjørn - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: FreeRadius 2.1.12: radclient without coa

2012-05-09 Thread Treusch Thorsten
Hi Alan, thanks for your reply but as far as i know nobody as edited our version of radclient ?! It was just a clean install done by one of my colleagues. And when he installed it the only purpose of freeradius was for authentication. We didn't even think about using CoA. When you say edited

Re: FreeRadius 2.1.12: radclient without coa

2012-05-09 Thread alan buxey
Hi, thanks for your reply but as far as i know nobody as edited our version of radclient ?! do yoi have multiple copies ont he server - ie do you have it installed via an RPM install (for example) of an old verion of freeradius what does 'which radclient' tell you and what does eg 'locate

Re: Freeradius-Users Digest, Vol 85, Issue 14 - Use Case Radclient (correction)

2012-05-07 Thread ulrich ramassamy
500A02B5383F27D9 ## BEGIN ## old_IFS=$IFS IFS=$'\n' for i in `cat file1` do echo $i | gawk '{print Acct-Session-Id=$3\nNAS-IP-Address=$1}' | radclient -p 100 -x 3.3.3.3:3799 disconnect ''secret'' done IFS=$old_IFS ## END ## But in this script the parameter -p is not used root@ulrich

radclient and -p

2012-05-07 Thread Alan DeKok
ulrich ramassamy wrote: I have one problem with an options of raclient tool's: Please start a new thread, and use a good subject line. It's awkward to respond to a message labeled Digest. And edit the message. There's no reason to have hundreds of lines of off-topic content. But in this

radclient

2012-05-06 Thread ulrich ramassamy
Hello, I am writing you because I need your help on using the tool radclient. I need to send Packet Of Disconnect (POD). I have one file (for example name file1) and in this file, I have 3 columns (IP, MSISDN, Acct-Session-Id): IP MSISDN Acct-Session-Id 1.1.1.1 3368894 500A02B2382F3D8E

FreeRadius 2.1.12: radclient without coa

2012-05-05 Thread Treusch Thorsten
always found radclient with the option coa to send/initiate CoA-Packets. And some of my colleagues (development) also use radclient for this purpose. BUT if i look at our radclient (v2.1.12) the coa option is missing there ? Last login: Sat May 5 15:17:27 2012 from dhcp-10-61-100-168.cisco.com

Re: FreeRadius 2.1.12: radclient without coa

2012-05-05 Thread Alan DeKok
Treusch Thorsten wrote: Now we have started to evaluate CoA on FreeRadius for both scenarios: a) Receive CoA packets from Node b) Send CoA-Requests to node (and analyze CoA-Ack, CoA-Nack Reading through several pages i always found radclient with the option coa to send/initiate CoA-Packets

Re: Freeradius crash with two radclient

2012-04-01 Thread fulvio fabiani
Hi all, we did several test using UnixODBC instead of OCI driver, results are good and issue seems to be fixed. Thanks all Fulvio 2012/3/22 Alan DeKok al...@deployingradius.com fulvio fabiani wrote: Hi all, sorry for the misunderstanding. We execute same test (with two radClient

Re: Freeradius crash with two radclient

2012-03-22 Thread fulvio fabiani
Hi all, sorry for the misunderstanding. We execute same test (with two radClient) on Freeradius 2.1.12 following the instruction in doc/bugs documentation, result is the same. Find attached the output. We are now executing same test on freeradius v2.1.x GIT, I will update with the results

Re: Freeradius crash with two radclient

2012-03-22 Thread fulvio fabiani
Hi all, please find attached also the output produced executing same test with 2.1.X GIT version, Best regards Fulvio 2012/3/22 fulvio fabiani fabiani.ful...@gmail.com Hi all, sorry for the misunderstanding. We execute same test (with two radClient) on Freeradius 2.1.12 following

Re: Freeradius crash with two radclient

2012-03-22 Thread Alan DeKok
fulvio fabiani wrote: Hi all, sorry for the misunderstanding. We execute same test (with two radClient) on Freeradius 2.1.12 following the instruction in doc/bugs documentation, result is the same. Find attached the output. It's crashing in the Oracle libraries. You're probably

Re: Freeradius crash with two radclient

2012-03-21 Thread fulvio fabiani
] 2012/3/21 Alan DeKok al...@deployingradius.com fulvio fabiani wrote: Hi Alan, We did same test with freeRadius version 2.1.12, unfortunately same result: as we start second radClient, Freeradius instance crash. Answering previous questions, no we don't use rlm_sql, we use perl module

Re: Freeradius crash with two radclient

2012-03-21 Thread Alan Buxey
hi, in previous emails you were asked to run 2.1.12 or the latest 2.1.x GIT release - but this output is from 2.1.11 alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius crash with two radclient

2012-03-21 Thread fulvio fabiani
Yes I know, we did not yet test the latest 2.1.x GIT release and test with 2.1.12 or 2.1.11 give same results. Is it mandatory? 2012/3/21 Alan Buxey a.l.m.bu...@lboro.ac.uk hi, in previous emails you were asked to run 2.1.12 or the latest 2.1.x GIT release - but this output is from

Re: Freeradius crash with two radclient

2012-03-21 Thread Alan Buxey
Hi, Yes I know, we did not yet test the latest 2.1.x GIT release and test with 2.1.12 or 2.1.11 give same results. well, you were asked to test the 2.1.x GIT release as it has some rather important fixes in it. as for the 2.1.12 - yes. mandatory as thats the latest release code to

Re: Freeradius crash with two radclient

2012-03-21 Thread Fajar A. Nugraha
On Thu, Mar 22, 2012 at 3:04 AM, fulvio fabiani fabiani.ful...@gmail.com wrote: Follow the server tracing output (each crash the same output): 2012/3/21 Alan DeKok al...@deployingradius.com  See doc/bugs So you decide to run strace instead of using gdb as written in doc/bugs? And how did you

Re: Freeradius crash with two radclient

2012-03-21 Thread Alan DeKok
fulvio fabiani wrote: Yes I know, we did not yet test the latest 2.1.x GIT release and test with 2.1.12 or 2.1.11 give same results. Is it mandatory? It's mandatory to follow instructions on this list. You were asked to do certain things which would let us help you. You've ignored

Re: Freeradius crash with two radclient

2012-03-20 Thread fulvio fabiani
Hi Alan, We did same test with freeRadius version 2.1.12, unfortunately same result: as we start second radClient, Freeradius instance crash. Answering previous questions, no we don't use rlm_sql, we use perl module, that via oracle perl driver, executes query on the database. BR, Fulvio

Re: Freeradius crash with two radclient

2012-03-20 Thread Alan Buxey
Hi, We did same test with freeRadius version 2.1.12, unfortunately same result: as we start second radClient, Freeradius instance crash. Answering previous questions, no we don't use rlm_sql, we use perl module, that via oracle perl driver, executes query on the database. cool

Re: Freeradius crash with two radclient

2012-03-20 Thread Alan DeKok
fulvio fabiani wrote: Hi Alan, We did same test with freeRadius version 2.1.12, unfortunately same result: as we start second radClient, Freeradius instance crash. Answering previous questions, no we don't use rlm_sql, we use perl module, that via oracle perl driver, executes query

Re: Freeradius crash with two radclient

2012-03-19 Thread fulvio fabiani
Hi Phil, thanks for your answer. Do the 2.1.12 fix this kind of problem? We did some additional analysis, we found that with this configuration: - 1 freeradius - 1 radclient everythings works, but with - 1 freeradius - 2 radlicent the freeradius instance crash as we start the second

Re: Freeradius crash with two radclient

2012-03-19 Thread Fajar A. Nugraha
on 2.1.12 We did some additional analysis, we found that with this configuration:   - 1 freeradius   - 1 radclient everythings works, but with  - 1 freeradius  - 2 radlicent the freeradius instance crash as we start the second client. Our application execute queries on Oracle Database

Re: Freeradius crash with two radclient

2012-03-19 Thread Alan Buxey
Hi, thanks for your answer. Do the 2.1.12 fix this kind of problem? did you try with 2.1.12 ? its got a lot of fixes related to this behaviour. there is really no need to question/query the advice given. use the latest version - IF there is still a problem then its important as then it

Freeradius crash with two radclient

2012-03-16 Thread fulvio fabiani
Hi all, i’ve a problem with concurrent accounting requests with free radius 2.1.11. In details: I’ve 2 free radius servers balanced by bigip f5 through roundrobin algorithm. I use to send account request using radclient on a machine placed in the same sub-netmask of f5, and it forward

Re: Freeradius crash with two radclient

2012-03-16 Thread Phil Mayers
On 16/03/12 16:57, fulvio fabiani wrote: Hi all, i’ve a problem with concurrent accounting requests with free radius 2.1.11. Upgrade to 2.1.12 and try again. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Problems with radzap: radclient:: failed to get value

2011-12-20 Thread Sean Reifschneider
. radwho -R is reporting a blank Framed-IP-Address = line, which causes radclient to choke (that was the source of the failed to get value messages). So, if I modify the radzap script to grep -v '^Framed-IP-Address', that should work. Thanks! Sean - List info/subscribe/unsubscribe? See http

Problems with radzap: radclient:: failed to get value

2011-12-19 Thread Sean Reifschneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to run a radzap and having no luck. For example, if I try: radzap -d /etc/raddb -N $NAS_IP -P 1 -u las $NAS_IP $NAS_PW radclient:: failed to get value radclient: Nothing to send. I've also tried it with the NAS name (52a2, from

Re: Problems with radzap: radclient:: failed to get value

2011-12-19 Thread Alan Buxey
Hi, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to run a radzap and having no luck. For example, if I try: radzap -d /etc/raddb -N $NAS_IP -P 1 -u las $NAS_IP $NAS_PW radclient:: failed to get value radclient: Nothing to send. I've also tried it with the NAS

How to send empty value via radclient?

2011-06-27 Thread Alexander Kubatkin
Hello, Need to send empty value in attribute via coa request for clear any value in current state of attribute and clear attribute itself: # /bin/echo Context-Name = local, Qos-Policing-Profile-Name='' , Qos-Metering-Profile-Name='' , Framed-IP-Address = yy.yy.yy.yy | /usr/local/bin/radclient

Re: How to send empty value via radclient?

2011-06-27 Thread Arran Cudbard-Bell
='' , Qos-Metering-Profile-Name='' , Framed-IP-Address = yy.yy.yy.yy | /usr/local/bin/radclient -x -t 3 -c 1 -r 2 -p 4 xx.xx.xx.xx:3799 coa xx Sending CoA-Request of id 121 to xx.xx.xx.xx port 3799 Context-Name = dhcp Qos-Policing-Profile-Name = Qos-Metering-Profile-Name

Re: How to send empty value via radclient?

2011-06-27 Thread Arran Cudbard-Bell
On Jun 27, 2011, at 9:38 AM, Arran Cudbard-Bell wrote: RFC 2865 Page 24 string1-253 octets containing binary data (values 0 through 255 decimal, inclusive). Strings of length zero (0) MUST NOT be sent; omit the entire attribute instead. If your

Re: How to send empty value via radclient?

2011-06-27 Thread Alexander Kubatkin
27.06.11 11:45, Arran Cudbard-Bell пишет: On Jun 27, 2011, at 9:38 AM, Arran Cudbard-Bell wrote: RFC 2865 Page 24 string1-253 octets containing binary data (values 0 through 255 decimal, inclusive). Strings of length zero (0) MUST NOT be sent; omit

Re: How to send empty value via radclient?

2011-06-27 Thread Arran Cudbard-Bell
`printf \0`, radclient *should* include an attribute with this value. This is only exit for now and it was first what has been done. Thanks for your answer. I will try to terror vendor of my box. Just for clarify - this restriction applied to VSA attributes? or only standard? or whole

radclient: no response

2010-12-03 Thread Jorge L. Herrera
-E9- C7 -51- 89 User-Password = mac Nas-IP-Address = 127.0.1.1 Nas-Port = 1812 Framed-Protocol = PPP radclient: no response from server for ID 208 socket 3 help to solve the problem - List info/subscribe/unsubscribe

Re: [PATCH] Use RADIUSD_VERSION instead of RCS Id keyword for radclient version

2010-09-23 Thread Alan DeKok
Bjørn Mork wrote: RCS keywords don't make sense with git, so use the RADIUSD_VERSION macro instead, like the server and radmin already do. Added, thanks. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

[PATCH] Use RADIUSD_VERSION instead of RCS Id keyword for radclient version

2010-09-22 Thread Bjørn Mork
/radclient.c index 1266502..8864798 100644 --- a/src/main/radclient.c +++ b/src/main/radclient.c @@ -927,7 +927,7 @@ int main(int argc, char **argv) timeout = atof(optarg); break; case 'v': - printf(radclient: $Id

Re: COA default configuration...Need help to test radclient

2010-05-17 Thread Johan Meiring
On 2010/05/15 08:28 AM, Alan DeKok wrote: ... Do I have to do anything more than any default configuration? In 2.1.8, there's an example CoA server in raddb/sites-available/coa The coa example was missing from 2.1.8. Please have a look here.

Re: COA default configuration...Need help to test radclient

2010-05-15 Thread Alan DeKok
Eric Martell wrote: I followed the direction of how to setup COA in the freeradius. Uncommented from client.conf coa_server = localhost-coa When I ran the sample radclient, I am not seeing any response back. ... Do I have to do anything more than any default configuration? In 2.1.8

Re: COA default configuration...Need help to test radclient

2010-05-15 Thread Eric Martell
Hi Alan,      Thanks for the reply. Pardon my ignorance but as you mentioned I did not find raddb/sites-available/coa. In 2.1.8, there's an example CoA server in raddb/sites-available/coa I only see, # ls -lart sites-available/ total 124 -rw-r- 1 root root  2538 May 14 15:37 vmps -rw-r-

Re: COA default configuration...Need help to test radclient

2010-05-15 Thread Alan DeKok
Eric Martell wrote: Hi Alan, Thanks for the reply. Pardon my ignorance but as you mentioned I did not find raddb/sites-available/coa. In 2.1.8, there's an example CoA server in raddb/sites-available/coa Ah... it's in 2.1.9, then. See http://git.freeradius.org/pre/ for a pre-release

Re: COA default configuration...Need help to test radclient

2010-05-15 Thread Eric Martell
. Thanks. --- On Sat, 5/15/10, Alan DeKok al...@deployingradius.com wrote: From: Alan DeKok al...@deployingradius.com Subject: Re: COA default configuration...Need help to test radclient To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Date: Saturday, May 15, 2010, 9:43 AM

format input to radclient (or radtest) for EAP-TTLS and EAP-PEAK (MSCHAPv2) test

2010-05-03 Thread bslee (HKBU)
Hi, I am using v2.1.8 in SuSE 11. Question1: I don't have the client and nas environment right now. I want to input EAP-TTLS and EAP-PEAP (MSCHAPv2) respectively into radclient (or radtest) to test my freeradius configuration. What should be the input to radclient (or radtest) (i.e

Re: format input to radclient (or radtest) for EAP-TTLS and EAP-PEAK (MSCHAPv2) test

2010-05-03 Thread Alan DeKok
bslee (HKBU) wrote: Question1: I don't have the client and nas environment right now. I want to input EAP-TTLS and EAP-PEAP (MSCHAPv2) respectively into radclient (or radtest) to test my freeradius configuration. What should be the input to radclient (or radtest) (i.e. the red string

Re: CoA-Ack and radclient/radiusd

2009-08-24 Thread Anton G.
of this? It involves looking through the hashes in src/lib/packet.c. It's not pretty... well, i have no choice, i should dig it out Not mentioning radiusd CoA, i`m pretty puzzled why radclient doesn`t want to handle CoA-ACK from nas.. I don't know... others have got this to work. i

Re: CoA-Ack and radclient/radiusd

2009-08-22 Thread Anton G.
provide me some tips to do further debug of this? Not mentioning radiusd CoA, i`m pretty puzzled why radclient doesn`t want to handle CoA-ACK from nas.. some# /usr/local/bin/radclient -t20 -r 1 -c 1 -f ./coa.rad -x 10.200.27.3:1700 coa su29 Sending CoA-Request of id 223 to 10.200.27.3 port 1700

Re: CoA-Ack and radclient/radiusd

2009-08-22 Thread Alan DeKok
in src/lib/packet.c. It's not pretty... Not mentioning radiusd CoA, i`m pretty puzzled why radclient doesn`t want to handle CoA-ACK from nas.. I don't know... others have got this to work. What's the OS / CPU? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org

CoA-Ack and radclient/radiusd

2009-08-21 Thread Anton G.
Hello, I have a strange problem with CoA-Ack receive I send test Coa packet to nas (juniper erx), the nas sees the packet and do corresponding action as well, and sends Coa-Ack back Nothing strange in nas debug or tcpdump But radclient says: some# /usr/local/bin/radclient -t20 -r 1 -c 1 -f

Re: CoA-Ack and radclient/radiusd

2009-08-21 Thread Alan DeKok
Anton G. wrote: I have a strange problem with CoA-Ack receive Which version of the software are you using? It works for me with the latest git stable tree... Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

radclient: no response from server ... please help newbe.

2009-06-17 Thread Gregory Machin
Hi Please could someone help a newbe ... I'm using the following stack FreeRADIUS Version 2.1.3 with coova-chilli-1.0.13 with Daloradius . I'm having issues with sending POD from Daloradius and radclient via the command line [r...@localhost ~]# echo User-Name='TC-Demo' | radclient -c '1

Re: radclient: no response from server ... please help newbe.

2009-06-17 Thread Nicolas Goutte
Am 17.06.2009 um 13:43 schrieb Gregory Machin: Hi Please could someone help a newbe ... I'm using the following stack FreeRADIUS Version 2.1.3 with coova- chilli-1.0.13 with Daloradius . I'm having issues with sending POD from Daloradius and radclient via the command line [r

Re: radclient: no response from server ... please help newbe.

2009-06-17 Thread Ivan Kalik
I'm using the following stack FreeRADIUS Version 2.1.3 with coova-chilli-1.0.13 with Daloradius . I'm having issues with sending POD from Daloradius and radclient via the command line Send it to NAS (coova-chilli), not radius server. Ivan Kalik Kalik Informatika ISP - List info/subscribe

RE: radclient: no response from server ... please help newbe.

2009-06-17 Thread Gregory Machin
From: freeradius-users-bounces+gregorym=techconcepts.co...@lists.freeradius.org [freeradius-users-bounces+gregorym=techconcepts.co...@lists.freeradius.org] On Behalf Of Ivan Kalik [...@kalik.net] Sent: Wednesday, June 17, 2009 1:57 PM To: FreeRadius users mailing list Subject: Re: radclient

Re: Radclient PHP

2009-04-02 Thread Patric
AHMED KHIDR wrote: Hii All , Please Any one have an idea how to make a PHP code to run Radclient in order to disconnect users , Thanks $Command = 'echo -e User-Name=\'.$UserName.'\, Framed-IP-Address = \'.$FramedIP.'\, NAS-IP-Address = \'.$NASIP.'\ | radclient -n 1 -r 3 -x '.$RadiusIP

Re: Radclient PHP

2009-04-02 Thread Marinko Tarlac
I don't know why bot sometimes radclient uses up to 30% of CPU radius.log is empty On Thu, Apr 2, 2009 at 8:14 AM, Patric patri...@gmail.com wrote: AHMED KHIDR wrote: Hii All , Please Any one have an idea how to make a PHP code to run Radclient in order to disconnect users

Re: Radclient PHP

2009-04-02 Thread new conf
hello to all; I have a question.. and i hope I'll have a reply or an idea!! If I have to store my files of configuration (eap, keys, randoms, dh..) in a usb device, have you an idea: how can I configure my freeradius? thanks you for your help! - List info/subscribe/unsubscribe? See

Re: Radclient PHP

2009-04-02 Thread tnt
I have a question.. and i hope I'll have a reply or an idea!! If I have to store my files of configuration (eap, keys, randoms, dh..) in a usb device, have you an idea: how can I configure my freeradius? Best advice - don't do that!!! Certificates are *much* safer on a server than on a USB device

Re: Radclient PHP

2009-04-02 Thread Mihamina Rakotomandimby (R12y)
new conf wrote: I have a question.. and i hope I'll have a reply or an idea!! I'll give you an idea: Dont hijack threads please. Make the effort of creating a new email from scratch. Thank you. -- Chef de projet chez Vectoris

Re: Radclient PHP

2009-04-02 Thread new conf
to Mihamina Rakotomandimby (R12y) : it was by inattention.. sorry! thank you Ivan Kalik for your replay!! I'll send you in another email! - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Radclient PHP

2009-04-01 Thread AHMED KHIDR
Hii All , Please Any one have an idea how to make a PHP code to run Radclient in order to disconnect users , Thanks - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Radclient PHP

2009-04-01 Thread Paul Bartell
try exec() or shell_exec() 2009/4/1 AHMED KHIDR a.kh...@gmail.com: Hii All , Please Any one have an idea how to make a PHP code to  run Radclient in order to disconnect users , Thanks - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Random quote

Re: Radclient PHP

2009-04-01 Thread AHMED KHIDR
Thanks , I tried it but didn't work , I found another method , Here is the code , ? $user=ahmedkhidr; $nas=1.1.1.2; $secret=password; $handle = popen('/bin/echo User-Name='.$user.' | /usr/local/bin/radclient -x '.$nas.':1700 disconnect '.$secret.' 21', 'r'); $read = fread($handle, 2096); echo

Re: radclient: problem with exit code 0 and 1

2009-03-20 Thread oz
2.1.5?) and built it without 'make install' on my AMD64-Machine. The problem in radclient is fixed, thank you Alan! I just had to append the new dictionary path in my scripts, because the dictionaries of my old inst do not work with the new radclient: ./radclient -d /usr/local/src/radiusd/share

Re: radclient: problem with exit code 0 and 1

2009-03-19 Thread oz
Hello, Alan DeKok wrote: oz wrote: for monitoring our radius-servers, I use radclient for a long time in a script. After migration to another platform, radclient seems to work else, than before. If a monitored radiusd is down or the Auth of my monitoring-user fails, radclient gets

Re: radclient: problem with exit code 0 and 1

2009-03-19 Thread oz
Alan DeKok wrote: oz wrote: the normal behavior of radclient seems to get lost somewhere in the versions later than freeradius-0.7, where it worked: That's nice... but 1.1.x will NOT be fixed. I've committed a fix that will be in the next release of the server. If you need

Re: radclient: problem with exit code 0 and 1

2009-03-19 Thread Alan DeKok
oz wrote: the normal behavior of radclient seems to get lost somewhere in the versions later than freeradius-0.7, where it worked: That's nice... but 1.1.x will NOT be fixed. I've committed a fix that will be in the next release of the server. If you need this functionality, upgrade

Re: radclient: problem with exit code 0 and 1

2009-03-19 Thread oz
Alan DeKok wrote: Uh... you *can* run just radclient from the new version of the server. You don't have to upgrade the server to run radclient. Yes, thanks, I built the latest 2.1.4 but it still has the bug: /usr/local/src/freeradius-server-2.1.4/src/main# ./radclient -d /usr/local/src

Re: radclient: problem with exit code 0 and 1

2009-03-19 Thread Alan DeKok
oz wrote: Thanks, but for some reasons I cannot do updates to the upcoming release on that server. Uh... you *can* run just radclient from the new version of the server. You don't have to upgrade the server to run radclient. Just make sure that the new version is installed

Re: radclient: problem with exit code 0 and 1

2009-03-19 Thread tnt
from that release. It was succesfully built, yeay, but has another bug with masking the password when it is used in the radtest-script :-/ Sending Access-Request of id 110 to 192.168.X.X:1812 User-Name = testuser User-Password =

Re: radclient: problem with exit code 0 and 1

2009-03-19 Thread oz
\217\343\361\214\370\326\351$ Not a bug. Shared secret is wrong. It looks like a wrong shared secret, ... usr/local/src/freeradius-0.9.2/src/main# ./radclient -d /usr/local/src/freeradius-0.9.2/share -f /home/me/radpacket -x 192.168.111.18:1812 auth test123 Sending Access-Request of id 20

radclient: problem with exit code 0 and 1

2009-03-18 Thread oz
Hello, for monitoring our radius-servers, I use radclient for a long time in a script. After migration to another platform, radclient seems to work else, than before. If a monitored radiusd is down or the Auth of my monitoring-user fails, radclient gets an expected answer, but exits

Re: radclient: problem with exit code 0 and 1

2009-03-18 Thread Alan DeKok
oz wrote: for monitoring our radius-servers, I use radclient for a long time in a script. After migration to another platform, radclient seems to work else, than before. If a monitored radiusd is down or the Auth of my monitoring-user fails, radclient gets an expected answer, but exits

radclient:: Failed to find IP address for dhcppc0

2009-03-18 Thread vnsquall
testing123 radclient:: Failed to find IP address for dhcppc0 radclient: Nothing to send. I try to test with ping command: [r...@dhcppc0 ~]# ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.046 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64

service deactivation with radclient

2009-01-16 Thread janardhan madabattula
radclient -f coa-file1 10.18.20.122:3799 coa test I tried differnt options in COA-file coa-file1 content: User-Name = t...@local Qos-Policy-Metering = (current this policy is active and I want to disable it) User-Name = t...@local Deactivate-Service = QOS-Policy-Metering Thanks Jana - List info

Re: service deactivation with radclient

2009-01-16 Thread Bjørn Mork
a service on a active sub. Here is the example, I am doing radclient -f coa-file1 10.18.20.122:3799 coa test I tried differnt options in COA-file coa-file1 content: User-Name = t...@local Qos-Policy-Metering = (current this policy is active and I want to disable it) User-Name = t...@local

  1   2   3   >