naslist

2002-04-22 Thread Zohar Ram

Hello,

I've configured all my /etc/raddb/naslist to hold all NAS ip's description
and type, yet on my logs (/var/log/radacct )
I get the IP as the directory and not the description.

any idea?

TIA.

regards
Zohar Ram
Development  Networking
Knet
--
Tel: 03-6233640/658
Mobile: 972-52-755-641
Email: [EMAIL PROTECTED]
--



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: naslist

2002-04-22 Thread Zohar Ram

um,

I don't have that file (variables.txt) under doc nor I can find it on the
website..


regards
Zohar Ram
Development  Networking
Knet
--
Tel: 03-6233640/658
Mobile: 972-52-755-641
Email: [EMAIL PROTECTED]
--

- Original Message -
From: Alan DeKok [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 22, 2002 5:30 PM
Subject: Re: naslist


Zohar Ram [EMAIL PROTECTED] wrote:
 I've configured all my /etc/raddb/naslist to hold all NAS ip's description
 and type, yet on my logs (/var/log/radacct )
 I get the IP as the directory and not the description.

  You can configure the directory names that get created in
radiusd.conf.  The default is to use IP's.

  See 'doc/variables.txt' for more information.

  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: naslist

2002-04-22 Thread Zohar Ram

well,

When using Cistron radius , the directories are created by the radius for
accounting under /var/log/radacct
were named by the IP of the NAS or it's backresolve ptr. once I configured
the naslist file, the directories
names were to be created as the description of the NAS on that file.

Since I collect all logs once a day into a single file which then uploaded
into database, all directories
are deleted , and the radius recreates them when login accurse. (that is the
reason a link is not a good
solution for me, also the naslist IS generated from a database which could
be changed too).

In order to debug on the particular day (before logs are moved) it would be
easier to get the NAS name
instead of it's IP (since I have over 150 NASs).

(let me know if you need more information ...)

thanks :)

regards
Zohar Ram
Development  Networking
Knet
--
Tel: 03-6233640/658
Mobile: 972-52-755-641
Email: [EMAIL PROTECTED]
--

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 22, 2002 5:52 PM
Subject: Re: naslist


 I just created the directories in /var/log/radacct
 to be the nas name I wanted then created links for the IP's of the NAS to
 point to the right directory. I also might be misunderstanding what your
 point was, so ignore me if this is the case ;-).

 --
 Jay DeSotel
 Systems Administrator
 InterLink L.C.
 [EMAIL PROTECTED]
 Voice-(319)524-2895
 Fax-(319)524-3175

 On Mon, 22 Apr 2002, Zohar Ram wrote:

  um,
 
  I don't have that file (variables.txt) under doc nor I can find it on
the
  website..
 
 
  regards
  Zohar Ram
  Development  Networking
  Knet
  --
  Tel: 03-6233640/658
  Mobile: 972-52-755-641
  Email: [EMAIL PROTECTED]
  --
 
  - Original Message -
  From: Alan DeKok [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, April 22, 2002 5:30 PM
  Subject: Re: naslist
 
 
  Zohar Ram [EMAIL PROTECTED] wrote:
   I've configured all my /etc/raddb/naslist to hold all NAS ip's
description
   and type, yet on my logs (/var/log/radacct )
   I get the IP as the directory and not the description.
 
You can configure the directory names that get created in
  radiusd.conf.  The default is to use IP's.
 
See 'doc/variables.txt' for more information.
 
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: naslist

2002-04-22 Thread Zohar Ram

I've done all that already,
I have downloaded the new version and I do have 'doc/variables.txt' .
Yet, looking at it did not give me a clue of what should be replacing the
Client-IP-Address
in order to get the 'shortname' parameter from the naslist file.

from the man of naslist :
 shortname
  This  field  is  optional,  and  declares a short alias for
the NAS.  It is used in the /var/log/radwtmp
  accounting file, and to build the directory name for the
accounting detail file.

I did not see any variable that has to do with that parameter on the
radius.conf file nor the variables file...

I did try : %{Attribute-Name}
but I guess I do miss something here...
 (could be that the variables.txt file  is not a complete one?)

this is from the variables.txt file :

---
The variables defined by the server are:

 %{Attribute-Name}   Corresponding value for Attribute-Name
 in request
 %{request:Attribute-Name}   Corresponding value for Attribute-Name
 in request
 %{reply:Attribute-Name} Corresponding value for Attribute-Name
 in reply
 %{proxy-reply:Attribute-Name}   Corresponding value for Attribute-Name
 in the proxy reply (if it exists)



The following one-character variables are also defined.  However, they
are duplicates of the previous general cases, and are only provided
for backwards compatibility.  They may be removed in a future
release.

(note: They may be removed in a future release. !!!) (Zohar)


 %a   Protocol (SLIP/PPP)
 %c   Callback-Number
 %d   request day (DD)
 %f   Framed IP address
 %i   Calling Station ID
 %l   request timestamp
 %m   request month (MM)
 %n   NAS IP address
 %p   Port number
 %s   Speed (PW_CONNECT_INFO)
 %t   request in ctime format
 %u   User name
 %A   radacct_dir
 %C   clientname
 %D   request date (MMDD)
 %L   radlog_dir
 %M   MTU
 %R   radius_dir
 %S   request timestamp in SQL format
 %T   request timestamp in database format
 %U   Stripped User name
 %V   Request-Authenticator (Verified/None)
 %Y   request year ()
 %Z   All request attributes except password (must have big buffer)


---

regards
Zohar Ram
Development  Networking
Knet
--
Tel: 03-6233640/658
Mobile: 972-52-755-641
Email: [EMAIL PROTECTED]
--

- Original Message -
From: Chris Parker [EMAIL PROTECTED]
To: Zohar Ram [EMAIL PROTECTED]
Sent: Monday, April 22, 2002 8:05 PM
Subject: Re: naslist


 At 09:07 PM 4/22/2002 +0200, Zohar Ram wrote:
 I understood that,
   but I can't seem to find the string which goes in there
 
 I must be blind or something...

 detailfile = ${radacctdir}/%{Client-IP-Address}/detail

 Which part of Client-IP-Address is hard to figure out?  Also, follow
 alan's instructions to download a semi-recent version, which contains
 the 'doc/variables.txt' file.  That lists all of your options for putting
 in the line.

 Nobody is going to tell you what the answer is.  You've been given
pointers
 to where you can find the answer.  Finding the answer will require you to
 do some homework and possibly some testing.

 -Chris

 --
 \\\|||///  \  StarNet Inc.  \Chris Parker
 \ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
 | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
 oOo---(_)---oOo--\--
\ Wholesale Internet Services - http://www.megapop.net






- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: naslist

2002-04-22 Thread Zohar Ram

hmmm.

 *snip*

  %C   clientname

 *snip*

Actualy, I did try this one..
no result


Zohar

- Original Message -
From: Chris Parker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 22, 2002 8:49 PM
Subject: Re: naslist


 At 09:34 PM 4/22/2002 +0200, Zohar Ram wrote:
 I've done all that already,
 I have downloaded the new version and I do have 'doc/variables.txt' .
 Yet, looking at it did not give me a clue of what should be replacing the
 Client-IP-Address in order to get the 'shortname' parameter from the
 naslist file.
 
 from the man of naslist :
   shortname
This  field  is  optional,  and  declares a short alias
for
 the NAS.  It is used in the /var/log/radwtmp
accounting file, and to build the directory name for the
 accounting detail file.

 Hmmm, that documentation is a bit out of date.

 I did not see any variable that has to do with that parameter on the
 radius.conf file nor the variables file...
 
 I did try : %{Attribute-Name}

 Uhh, I hope you are kidding...  You have to put an actual radius
 attribute inplace of 'Attribute-Name'.  Its a fill in the blank.

 but I guess I do miss something here...
   (could be that the variables.txt file  is not a complete one?)

 Nope.  It's complete.

 this is from the variables.txt file :

 *snip*

  %C   clientname

 *snip*

 -Chris
 --
 \\\|||///  \  StarNet Inc.  \Chris Parker
 \ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
 | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
 oOo---(_)---oOo--\--
\ Wholesale Internet Services - http://www.megapop.net



 -
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



startup

2002-04-07 Thread Zohar Ram

Hello,

I've been working for quite a while using cistro radius, I had encountered
some problems and weird function lately, so I've decided to upgrade to
free-radius.

I've configured using: ./configure --localstatedir=/var --sysconfdir=/etc
as suggested in  doc/README in order to maintain my old configuration files
and locations.

I've copied scripts/rc.radiusd onto my old startup file.

NOW, when I try to run it I get this:
# /etc/rc3.d/S60radiusd start
Starting Freeradius server: radwatch/etc/rc3.d/S60radiusd:
start-stop-daemon: command not found
 radiusd.

I understand the script is searching for file/script/function called
`start-stop-daemon` , BUT I have no
idea where its located nor where to find it if a correct path is in order
here.

Please enlighten me ...

regards
Zohar Ram
Development  Networking
Knet
--
Tel: 03-6233640/658
Mobile: 972-52-755-641
Email: [EMAIL PROTECTED]
--


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Fw: startup

2002-04-07 Thread Zohar Ram

Sorry

Debian -- RedHat
I didn't see that coming.


regards
Zohar Ram
Development  Networking
Knet
--
Tel: 03-6233640/658
Mobile: 972-52-755-641
Email: [EMAIL PROTECTED]
--

- Original Message - 
From: Zohar Ram [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 04, 2002 7:47 PM
Subject: startup


Hello,

I've been working for quite a while using cistro radius, I had encountered
some problems and weird function lately, so I've decided to upgrade to
free-radius.

I've configured using: ./configure --localstatedir=/var --sysconfdir=/etc
as suggested in  doc/README in order to maintain my old configuration files
and locations.

I've copied scripts/rc.radiusd onto my old startup file.

NOW, when I try to run it I get this:
# /etc/rc3.d/S60radiusd start
Starting Freeradius server: radwatch/etc/rc3.d/S60radiusd:
start-stop-daemon: command not found
 radiusd.

I understand the script is searching for file/script/function called
`start-stop-daemon` , BUT I have no
idea where its located nor where to find it if a correct path is in order
here.

Please enlighten me ...

regards
Zohar Ram
Development  Networking
Knet
--
Tel: 03-6233640/658
Mobile: 972-52-755-641
Email: [EMAIL PROTECTED]
--



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html