NAS-PORT-ID in the auth. log instead of NAS-PORT

2009-09-03 Thread Amr el-Saeed
Hi All, Can i log the NAS-PORT-ID in the log file instead of the NAS-PORT? Thu Sep 3 10:53:10 2009 : Auth: Login OK: [627...@tedata.net.eg] (from client MNSREST port 4060295476) thanks Amr - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

checkval module

2009-06-03 Thread Amr el-Saeed
Hi every one I am using freeradius 1.1.7 i am configuring checkval to check for Nas-Port-Type , i need to make it checks for Nas-Port-Id also . this is the radius.conf checkval sections checkval { item-name = NAS-Port-Id check-name = NAS-Port-Id item-name = NAS-Port-Type check-name =

Re: checkval module

2009-06-03 Thread Amr el-Saeed
Hi Franois Thank you it worked out thanks a lot :-) Regards, Amr el-Saeed Senior Systems Engineer 94 Tahrir St., Maghraby Plaza, Dokki, Giza 12311, Egypt T: +20 (2) 33 32 0700 | Ext: 1107 F: +20 (2) 33 32 0800 | E: amr.elsa...@tedata.net www.tedata.net Franois Mehault wrote

Re: SNMP error

2008-05-20 Thread Amr el-Saeed
Hi Alan, Can't it be applied to 1.1.7 release, as there are many changes in the conf. files between 1.1.7 and 2.0 ?? Thanks Amr [EMAIL PROTECTED] wrote: hi, just a quick check... the smux.c patches ARE applied to the 2.0.x smux.c (but not part of the last 1.1.7 release). the

Re: SNMP error

2008-05-18 Thread Amr el-Saeed
Hi Alan, I have patches attached from RedHat for freeradius 1.1.3 . Can we have a patched release from freeradius 1.1.7 ?? Thanks Amr Alan DeKok wrote: Edvin Seferovic wrote: I am also curious about the answer on this question ! Are there any plans to implement AgentX

Re: SNMP error

2008-02-05 Thread Amr el-Saeed
Hi, any suggestions about what to do to make snmp work on 64-bit?? Amr el-Saeed wrote: Dear Alan, i build from the source file that i downloaded from freeradius.org i suspected the 64-bit i made several trials , and here is the result freeradius-1.1.7 , snmp-5.0.9-2.30E.20 , RHEL3 , 32

Re: SNMP error

2008-01-28 Thread Amr el-Saeed
Dear Alan, i build from the source file that i downloaded from freeradius.org i suspected the 64-bit i made several trials , and here is the result freeradius-1.1.7 , snmp-5.0.9-2.30E.20 , RHEL3 , 32-bitworking freeradius-1.1.7 , snmp-5.0.9-2.30E.20 , RHEL5 , 32-bitworking

Re: SNMP error

2008-01-24 Thread Amr el-Saeed
i have OS RHEL5 Amr el-Saeed wrote: Hi Alan, yes, i'm sure i added the option in the SPEC file and then build the RPM and about the second issue , i didn't have a debugging kernel but i got one and install it and boot with it and got the same output !! and ideas ?? thanks for help (gdb

Re: SNMP error

2008-01-23 Thread Amr el-Saeed
Hi Alan, yes, i'm sure i added the option in the SPEC file and then build the RPM and about the second issue , i didn't have a debugging kernel but i got one and install it and boot with it and got the same output !! and ideas ?? thanks for help (gdb) set logging file gdb-radiusd.log

Re: SNMP error

2008-01-13 Thread Amr el-Saeed
hi alan, i searched the freeradius.org for the debug instructions, but i found nothing. what do you mean exactly by debug instructions i already have this in the radius debug mode SMUX read start SMUX connection closed: 66 SMUX connect try 1 SMUX open oid: 1.3.6.1.4.1.3317.1.3.1 SMUX open

SNMP error

2008-01-10 Thread Amr el-Saeed
Dear All, I have freeradius-1.1.7-1. it was installed on RHEL 3 SNMP net-snmp-5.0.9-2.30E.22 every thing was going OK i just installed RHEL 564-bit recompiled the freeradius on the new OS and reinstall the radius is working Ok i have SNMP version net-snmp-5.3.1-19.el5 but every time

Re: SNMP error

2008-01-10 Thread Amr el-Saeed
operation: 1 SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1 SMUX register priority: -1 SMUX register operation: 1 Waking up in 14 seconds... Kevin Bonner wrote: On Thursday 10 January 2008 08:41:30 Amr el-Saeed wrote: but every time i wanted to snmpwalk from the radius i got that error RADIUS-AUTH

There are no DB handles to use

2008-01-03 Thread Amr el-Saeed
Dear Alan, I want to check some thing. When i got the error ( There are no DB handles to use ) in my log file, will the request be discarded and the router must resend it again or the RADIUS will buffer the request and wait till a DB connection is free to use and then process the

RADIUS SNMP

2007-12-02 Thread Amr el-Saeed
Dear All, I want to monitor the RADIUS with SNMP. but i need to know exactly what is that OID means ( radiusAccServTotalNoRecords ) i searched and found that it means The number of RADIUS Accounting-Request packets which were received and responded to but not recorded but i can't understand

replace the log file with mysql records

2007-11-28 Thread Amr el-Saeed
Dear All, I have this line in my log file ( Auth: Invalid user (rlm_checkval: This NAS-Port-Type is not allowed for the user): ) I just want to make the radius to insert it in mysql server like post auth as it inserts the Access accepts and rejects, i want to replace the log file with

Re: RADIUS Stress Test tool

2007-11-19 Thread Amr el-Saeed
Hi All i used radclient -f attr -p 10 -c 1 localhost:1812 auth local but also got one entry in my log file !! i guess i must get 10 entries . any idea ? Amr el-Saeed wrote: sorry but i was unsubscribed from the milling list, i don't know why ? so, i didn't get the answer !! can u just

Re: RADIUS Stress Test tool

2007-11-17 Thread Amr el-Saeed
Dear All, i know this is too late to say that :-) but , i used radclient to test my freeradius server i wanted to use the ( -p num Send 'num' packets from a file in parallel. ) thats my command ( radclient -f attr -p 100 localhost:1812 auth local ) this is the file attr ( User-Name =

Re: RADIUS Stress Test tool

2007-11-17 Thread Amr el-Saeed
sorry but i was unsubscribed from the milling list, i don't know why ? so, i didn't get the answer !! can u just send it again if u not mind ?? thanks [EMAIL PROTECTED] wrote: any idea ? You have asked this a couple of days ago. Try reading the answer. Ivan Kalik Kalik Informatika ISP

Re: RADIUS Stress Test tool

2007-11-15 Thread Amr el-Saeed
Dear All, i know this is too late to say that :-) but , i used radclient to test my freeradius server i wanted to use the ( -p num Send 'num' packets from a file in parallel. ) thats my command ( radclient -f attr -p 100 localhost:1812 auth local ) this is the file attr ( User-Name =

Accounting requests and LDAP relation

2007-10-24 Thread Amr el-Saeed
Dear All, Is there any relation between the accounting requests and the LDAP, in case i'm using LDAP for authentication and MySql for accounting. Now i have many accounting requests and my DB machine is loaded , but what i can't understand is why my LDAP machine is loaded too. i make a debug

Re: Accounting requests and LDAP relation

2007-10-24 Thread Amr el-Saeed
i just noticed that this happens in the Interim-Update packet only not the Start or the Stop !! Alan DeKok wrote: Amr el-Saeed wrote: Is there any relation between the accounting requests and the LDAP, in case i'm using LDAP for authentication and MySql for accounting

Re: Accounting requests and LDAP relation

2007-10-24 Thread Amr el-Saeed
can i just drop the Interim-Update packet from the RADIUS server ?? Amr el-Saeed wrote: i just noticed that this happens in the Interim-Update packet only not the Start or the Stop !! Alan DeKok wrote: Amr el-Saeed wrote: Is there any relation between the accounting requests

Re: Server crashes

2007-10-16 Thread Amr el-Saeed
the configuration you sent. the server didn't start, so i guess it OS problem as you said but how to fix it ?? can you help me with that ?? thanks again Amr Alan DeKok wrote: Amr el-Saeed wrote: Sorry the config. was in the first email I have this configuration . ... thread stuff. There's

Re: Server crashes

2007-10-16 Thread Amr el-Saeed
i'm running Linux version 2.4.21-51.EL ([EMAIL PROTECTED]) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-58)) Amr el-Saeed wrote: Dear Alan, Thanks for your reply first, i have about 200,000 users but there is some thin g in the configuration that makes the users connects

Re: Server crashes

2007-10-16 Thread Amr el-Saeed
after the server finishes starting the mysql connections, it prints that error Error: FATAL: Thread create failed: Cannot allocate memory , and starts to connect to mysql again and the error again and so on Amr el-Saeed wrote: i'm running Linux version 2.4.21-51.EL ([EMAIL PROTECTED]) (gcc

Re: Server crashes

2007-10-12 Thread Amr el-Saeed
buff i need 10,000 per second Alan DeKok wrote: Amr el-Saeed wrote: OS: Red Hat Enterprise Linux AS release 3 FreRadius : freeradius-1.1.0-1 Why not 1.1.7? Let me guess... RedHat doesn't ship it. Number of requests : i need about 10,000 request concurrent I

Re: Server crashes

2007-10-12 Thread Amr el-Saeed
?? thanks Alan DeKok wrote: Amr el-Saeed wrote: the log file each less than a minute logs that the server can't allocate memory Error: FATAL: Thread create failed: Cannot allocate memory Odds are that the server is trying to start too many threads, and that there is some OS limitation

Server crashes

2007-10-11 Thread Amr el-Saeed
Dear All, I have a big problem with my freeRadius server the log file each less than a minute logs that the server can't allocate memory Error: FATAL: Thread create failed: Cannot allocate memory I have this configuration start_servers = 20 max_servers = 400 min_spare_servers = 30

RADIUS Stress Test tool

2007-10-04 Thread Amr el-Saeed
Dear All, Does any one have any tool to stress test the freeRadius ?? regards, Amr el-Saeed - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Nas-Port-Type Attribute

2007-08-22 Thread Amr el-Saeed
Hi, I put this line in the users file ( DEFAULT NAS-Port-Type == PPPoEoA, Auth-Type = Accept). I just want any user with that NAS-Port-Type to be accepted, but the RDAIUS doesn't start at all when i do this !! I know that this Value ( PPPoEoA ) is not a standard NAS-Port-Type

Re: User not found using LDAP

2007-07-08 Thread Amr el-Saeed
-port-id but with empty user-name ?? regards, Alan DeKok wrote: Amr el-Saeed wrote: ... but i still get the message ( rlm_ldap: Attribute User-Name is required for authentication ) Then you've set Auth-Type := LDAP. Don't do that. Alan DeKok. - List info/subscribe

Re: User not found using LDAP

2007-07-05 Thread Amr el-Saeed
attribute than the User-Name ?? i need to authenticate the customers with NasPortID or Calling StationID , is that possible ?? regards, Alan DeKok wrote: Amr el-Saeed wrote: i'm using freeradius-1.1.0-1 Why? 1.1.6 has been out for months. i need to make a default action

Re: User not found using LDAP

2007-07-05 Thread Amr el-Saeed
for authentication ) i guess it must check the users file first then the LDAP module , am i right ?? regards, Alan DeKok wrote: Amr el-Saeed wrote: another question , can freeRdaius authenticate any one with a different attribute than the User-Name ?? i need to authenticate the customers

User not found using LDAP

2007-07-04 Thread Amr el-Saeed
Dear all, i'm using freeradius-1.1.0-1 i need to make a default action if a user is not found . i need to make this action ( allow) for a while, i mean if the radius searched the LDAP and didn't find the user reply to the router with OK. i didn't find anything in the docs. any ideas ??

execute more than one sql query

2007-05-10 Thread Amr el-Saeed
' how can i do it ?? Thanks Amr el-Saeed - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: RE : Radius Authentication

2006-07-20 Thread amr el-saeed
Dear Thibault, thanx for ur help yes ,my DB server used for accounting only not authentication. but i tried what u said, as i understand it makes the RADIUS be down while the DB is down. i don't want this. i need the RADIUS to authenticate the users without inserting accounting info into

Radius Authentication

2006-07-19 Thread amr el-saeed
authenticate the users without insert records in the DB. thanks for your help -- regards, Amr el-Saeed - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Band-Width Limitation

2006-06-14 Thread amr el-saeed
code of-course. what i want is to change that code !! how can i do something like that ?? thanks for your help -- regards, Amr el-Saeed - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html