Re: Problem with proxying request

2012-12-18 Thread A . L . M . Buxey
hi, server has mulitple interfaces? ensure that the listener etc are bound to the IPs that you want the packet to go out from - the remote system is likely to only accept requests from a particular IP.if the packet comes from a different interface that IP will be different.. the remote ser

freeradius+mysql

2012-12-18 Thread nanthitha shanmugam
Hi, I am using mysql with free radius for user authorization and accounting with assignment of ip pools from iptables in mysql. These all are working. But, I would like to know if we can bypass the authorization phase with mysql and use only ip pool assignment. Can you help in this part. Like

Re: [SOLVED] Return Access-Accept/-Reject depending on other active sessions during post-authentication

2012-12-18 Thread Matthias Nagel
Hello, problem solved. I post this message for the sake of completeness and in case, if anyone will ever need to solve a similar problem. Of course, any comments on how my solution can be improved are welcomed. 1) At the SQL side I created a view (active_users) with three columns (nasipaddress

Re: Problem with proxying request

2012-12-18 Thread Phil Mayers
On 18/12/12 15:29, BALSIANOK, Peter wrote: No iptables, ipfw, pf, etc. . When i use radclient and sends accounting request ( from server were freeradius is placed ) to 3rdparty radius i got correct answer. Then use ordinary system diagnostic tools (strace, etc.) to determine why the packet isn

RE: Problem with proxying request

2012-12-18 Thread BALSIANOK, Peter
No iptables, ipfw, pf, etc. . When i use radclient and sends accounting request ( from server were freeradius is placed ) to 3rdparty radius i got correct answer. -Original Message- From: freeradius-users-bounces+peter.balsianok=orange...@lists.freeradius.org [mailto:freeradius-users-bo

Re: Problem with proxying request

2012-12-18 Thread Phil Mayers
On 18/12/12 13:11, BALSIANOK, Peter wrote: Hi, I try to send proxy request via freeradius-2.2.0, but as i can see in the debug output, freeradius didn`t process Accounting Response ( tcpdump shows, that server got response ) Firewall (iptables, ipfw, pf, etc.) - List info/subscribe/unsubscribe

Problem with proxying request

2012-12-18 Thread BALSIANOK, Peter
Hi, I try to send proxy request via freeradius-2.2.0, but as i can see in the debug output, freeradius didn`t process Accounting Response ( tcpdump shows, that server got response ) rad_recv: Accounting-Request packet from host 127.0.0.1 port 49935, id=13, length=202 X-Ascend-D

Re: Problem in xlat.c code

2012-12-18 Thread Alan DeKok
BALSIANOK, Peter wrote: > I have recompiled freeradius-2.2.0 ( with new version of xlat.c ), I get > segmentation fault when i tried accounting request And don't replace just one file. Grab a new version of the code from git. The v2.x.x branch. Alan DeKok. - List info/subscribe/unsubscribe

Re: Problem in xlat.c code

2012-12-18 Thread Alan DeKok
BALSIANOK, Peter wrote: > I have recompiled freeradius-2.2.0 ( with new version of xlat.c ), I get > segmentation fault when i tried accounting request See doc/bugs Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Problem in xlat.c code

2012-12-18 Thread BALSIANOK, Peter
I have recompiled freeradius-2.2.0 ( with new version of xlat.c ), I get segmentation fault when i tried accounting request [radiusd@tdrad1 ggsn]$ /app/radius/freeradius-2.2.0/sbin/radiusd -Xxx -d /app/radius/raddb/ggsn/ Tue Dec 18 11:26:55 2012 : Info: FreeRADIUS Version 2.2.0, for host i686-p

Re: Problem in xlat.c code

2012-12-18 Thread Alan DeKok
BALSIANOK, Peter wrote: > i have found problem in xlat.c code. I've pulled a fix from the "master' branch. It should now work. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Problem in xlat.c code

2012-12-18 Thread Alan DeKok
BALSIANOK, Peter wrote: > I have changed xlat.c > > [radiusd@tdrad1 main]$ diff xlat.c xlat.c.backup > > 1043a1044,1046 > >> if (isdigit(*p)) { > >>module_name = xlat_str = p; > >> } else { > >

Problem in xlat.c code

2012-12-18 Thread BALSIANOK, Peter
Hi all, i have found problem in xlat.c code. Original code doesn`t work when i want to use in acct_users: DEFAULT Called-Station-Id == "orangewap" Called-Station-Id := "%{Called-Station-Id}.%{3GPP-SGSN-Address}" I have changed xlat.c [radiusd@tdrad1 main]$ diff xlat.c xlat.c.bac