Re: FreeRADIUS FreeBSD port

2007-01-23 Thread Mike Jakubik
On Mon, January 22, 2007 11:28 pm, David Wood wrote: > This is an rcorder thing - you may find man 8 rcorder and the output of: > rcorder /etc/rc.d/* /usr/local/etc/rc.d/* > interesting. > > I probably need to add extra entries to the REQUIRE line of > /usr/local/etc/rc.d/radiusd when some of the

Re: FreeRADIUS FreeBSD port

2007-01-22 Thread Mike Jakubik
On Sun, January 21, 2007 7:55 pm, David Wood wrote: > I'm not saying that I've got everything yet, but I think the port is now > in good shape. If anyone wants to suggest further changes, or audits the > port and finds any problems, I'm listening. Patches are particularly > welcome, of course. Th

Re: Accounts staying online past Session Timeout value

2006-11-28 Thread Mike Jakubik
Alan DeKok wrote: Also, sometimes i have users who are getting disconnected and can not reconnect because they are still shown to be online, and i am limiting the sessions to 1. Again, would this be a problem with the NAS/network because freeradius is not receiving the stop packet? Yes

Re: Accounts staying online past Session Timeout value

2006-11-28 Thread Mike Jakubik
Alan DeKok wrote: Also, sometimes i have users who are getting disconnected and can not reconnect because they are still shown to be online, and i am limiting the sessions to 1. Again, would this be a problem with the NAS/network because freeradius is not receiving the stop packet? Yes

Accounts staying online past Session Timeout value

2006-11-28 Thread Mike Jakubik
Hello, I am having some problems lately with freeradius 1.1.2 + mysql, and users staying online past their session timeout value (4 hours). Can anyone shed some light on the matter? I can not find any problems with the server itself, the loads are low and everything seems to be functioning OK

Re: Error: Discarding duplicate request

2006-07-27 Thread Mike Jakubik
Aleksandar Stojilkovic wrote: Hello, My log is full of this kind of errors: Owww, my eyes! Please don't post to mailing lists using HTML, and do everyone a favor, get rid off that yellow dot background from your email template. - List info/subscribe/unsubscribe? See http://www.fre

Re: Called-Station-Id not logged to sql when login fails csid check

2006-07-01 Thread Mike Jakubik
Alan DeKok wrote: Mike Jakubik <[EMAIL PROTECTED]> wrote: It seems that the Called-Station-Id is not logged to SQL when the login fails the Called-Station-Id check using the rlm_checkval module. Any ideas why that is? It makes troubleshooting impossible. Do the SQL queries i

Called-Station-Id not logged to sql when login fails csid check

2006-06-29 Thread Mike Jakubik
Hello, It seems that the Called-Station-Id is not logged to SQL when the login fails the Called-Station-Id check using the rlm_checkval module. Any ideas why that is? It makes troubleshooting impossible. Thanks. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: How the hell do you use multiple NOT values with rlm_checkval and sql??

2006-06-04 Thread Mike Jakubik
Alan DeKok wrote: Mike Jakubik <[EMAIL PROTECTED]> wrote: If there is a way to accomplish this outside of SQL, im quite open to suggestions. As long as i can refer to the groups which are in SQL. Basically, i need to be able to restrict certain user groups from dialing certain n

Re: How the hell do you use multiple NOT values with rlm_checkval and sql??

2006-06-01 Thread Mike Jakubik
Alan DeKok wrote: Mike Jakubik <[EMAIL PROTECTED]> wrote: First of all, the above can be accomplished in SQL using the checkval module and the += OP. Thats great and dandy until you need to specify numbers that users can NOT dial to. In any case that will not work for me, as i need

Re: How the hell do you use multiple NOT values with rlm_checkval and sql??

2006-05-31 Thread Mike Jakubik
Alan DeKok wrote: Mike Jakubik <[EMAIL PROTECTED]> wrote: Great, now, how the heck do you specify NOT items? I want to specify the numbers that users can NOT dial to. This seems impossible. And what do you want to do after that? Reject the request? Then configure that.

How the hell do you use multiple NOT values with rlm_checkval and sql??

2006-05-30 Thread Mike Jakubik
Ok, so after much frustration someone finally pointed out that using multiple values with checkval and sql is possible wen using the += OP. Great, now, how the heck do you specify NOT items? I want to specify the numbers that users can NOT dial to. This seems impossible. I have tried regexp, an

Re: How to specify multiple values for Called-Station-Id (checkval)

2006-05-29 Thread Mike Jakubik
Kostas Kalevras wrote: Well, it does not in my case. Here is the table: +++---+++ | id | GroupName | Attribute | op | Value | +++---+++ | 11 | restricted | Called-Station-Id | := | 41662

Re: How to specify multiple values for Called-Station-Id (checkval)

2006-05-29 Thread Mike Jakubik
Alan DeKok wrote: Mike Jakubik <[EMAIL PROTECTED]> wrote: Well, it does not in my case. Here is the table: +++---+++ | id | GroupName | Attribute | op | Value | +++---++

Re: How to specify multiple values for Called-Station-Id (checkval)

2006-05-29 Thread Mike Jakubik
Kostas Kalevras wrote: As i said before you should just add more attribute/value pairs. It works. What does your radgroupcheck table look like when you add more than one number? Could someone please help me with this? I am stumped, is there a bug in the rlm_checkval module? --- Well, it do

Re: How to specify multiple values for Called-Station-Id (checkval)

2006-05-26 Thread Mike Jakubik
Kostas Kalevras wrote: As i said before you should just add more attribute/value pairs. It works. What does your radgroupcheck table look like when you add more than one number? Well, it does not in my case. Here is the table: +++---+++ | id |

Re: How to specify multiple values for Called-Station-Id (checkval)

2006-05-25 Thread Mike Jakubik
Kostas Kalevras wrote: On Wed, 24 May 2006, Mike Jakubik wrote: Hello, I am trying to setup group checks for Called-Station-Id in freeradius 1.1.1 and mysql. I have enabled the checkval module in radiusd.conf and set notfound-reject = yes. In my radgroupcheck table when i specify

How to specify multiple values for Called-Station-Id (checkval)

2006-05-24 Thread Mike Jakubik
Hello, I am trying to setup group checks for Called-Station-Id in freeradius 1.1.1 and mysql. I have enabled the checkval module in radiusd.conf and set notfound-reject = yes. In my radgroupcheck table when i specify "restricted Called-Station-Id := number", it works fine. However i need to s

Re: Trouble with Freeradius 1.1.1 built with FreeBSD ports on 4.11

2006-05-21 Thread Mike Jakubik
Chris Knipe wrote: Hi Mark, sql: postauth_table = "radpostauth" sql: postauth_query = "" sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" Bus error I went through the same thing not to long ago. Compile FreeRadius without thread support (--withou

Re: Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Mike Jakubik
Kostas Kalevras wrote: On Thu, 18 May 2006, Mike Jakubik wrote: Hello, I need help restricting users based on the number they called. I am using Freeradius 1.1.1 and a MySQL backend. I tried adding Called-Station-Id == "number,number,..." in to radgroupcheck, but it does not

Re: Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Mike Jakubik
Christopher Carver wrote: In radgroupcheck set up something like this: ++-+--++-+ | id | GroupName | Attribute | op | Value | ++-+--++-+ | 1 | restricted | Called-

Re: Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Mike Jakubik
Christopher Carver wrote: In the users file you could have a line... DEFAULT Called-Station-ID == 111222, Auth-Type := Reject As i mentioned, i need to do this in the sql database and for each group. Adding the Called-Station-ID to radgroupcheck results in the following error: Thu May

Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Mike Jakubik
Hello, I need help restricting users based on the number they called. I am using Freeradius 1.1.1 and a MySQL backend. I tried adding Called-Station-Id == "number,number,..." in to radgroupcheck, but it does not seem to be functioning. Could someone shed some light on the problem? Thanks. -