Re: Session-Timeout

2003-10-20 Thread Kostas Kalevras
On Sun, 19 Oct 2003, Doron Shmaryahu wrote:

 Hi,

 I am using freeradius with mysql and dialupadmin. I have deleted the
 timeouts for users in the admin.conf file in dialup admin. I still seem
 to have users being disconnected after 2hrs with Session-Timeout as the
 cause. How could I remedy this ??

The admin.conf has nothing to do with the user information in the database. You
should change the user attributes for things to work ok.


 Thanks

 Doron Shmaryahu


--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]   National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf

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


Re: Session-Timeout

2003-10-16 Thread Ulrich Walcher
Am Don, 2003-10-16 um 08.20 schrieb Matt:
 How do I set a session and a Idle timeout with radius?  Can I just add it to
 my default setup below?
 
 Matt
 
 DEFAULT Auth-Type := Local
 Service-Type = Framed-User,
 Framed-Protocol = PPP,
 Framed-Routing = Broadcast-Listen,
 Fall-Through = 1

Just add:
Session-Timeout = 1200
Idle-Timeout = 300

Both attributes take integer values.


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


RE: Session Timeout

2003-07-27 Thread Kostas Kalevras
On Fri, 25 Jul 2003, Alex Chen wrote:

 After digging into the rlm_counter code, I finally find out what went wrong.
 If there is a setting of 'allowed-servicetype' in the counter configuration,
 when the counter module will check for the 'Service-Type' in the accounting
 request when accounting stops.  If there is no 'Service-Type' attribute in
 the
 request, the module simply returns RLM_MODULE_NOOP, and nothing is done.

 After tracing through the code, I double checked the comments in
 radiusd.conf and
 got the following brief description:

   #  The allowed-servicetype attribute can be used to only take
   #  into account specific sessions. For example if a user first
   #  logs in through a login menu and then selects ppp there will
   #  be two sessions. One for Login-User and one for Framed-User
   #  service type. We only need to take into account the second one.

 This may be clear to people always know much about the behavior.  For newbie
 like
 me it does not really bring a bell.

 I think more explanation of the configuration elements for counter will be
 great,
 or add some debug message in rlm_counter.c like:

 if((proto_vp = pairfind(request-packet-vps, PW_SERVICE_TYPE)) == NULL)
 {
 DEBUG2(rlm_counter: Service-Type is not set in the request, returns
 'noop'\n);
 return RLM_MODULE_NOOP;

Ok I 've added a few more debug statements, Thanks



--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]   National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf

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


Re: Session Timeout

2003-07-25 Thread Alan DeKok
Alex Chen [EMAIL PROTECTED] wrote:
 2. Counter uses 'User-Name' as the key and creates a counter for it.
It looks for a counter attribute, 'Acct-Session-Time', in the accounting
packets and increments the value of this attribute in its DB by the
amount specified in the request.

  Are you sure?  Have you tried running it in debugging mode to see
this happening?

 The example uses Max-Daily-Session, but these is no such attribute name and
 radiusd fails to start if I set it, so I used 'Session-Timeout'.

  And you expect it to work?

  The instructions an examples in radiusd.conf are there for a
REASON.  FOLLOW THEM.

 The setting in radiusd.conf
 
 module {
 ...
   counter daily {
...

  You do realise that the 'counter' module will be totally ignored,
unless you also list it in the 'accounting' section?

  Have you read the REST of 'radiusd.conf', to see where else the
counter module should be used?


  I fail to understand why you've only read half of 'radiusd.conf',
and why you've done something OTHER than what it says to do.  I'm even
more surprised that you're wondering why it doesn't work.

  While I understand that the documentation for the server could use
some work, it is MORE than adequate to solve the problem you're trying
to address.

  Alan DeKok.

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


RE: Session Timeout

2003-07-25 Thread Alex Chen
 PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Alan DeKok
 Sent: Friday, July 25, 2003 2:21 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Session Timeout


 Alex Chen [EMAIL PROTECTED] wrote:
  2. Counter uses 'User-Name' as the key and creates a counter for it.
 It looks for a counter attribute, 'Acct-Session-Time',
 in the accounting
 packets and increments the value of this attribute in
 its DB by the
 amount specified in the request.

   Are you sure?  Have you tried running it in debugging mode to see
 this happening?

  The example uses Max-Daily-Session, but these is no such
 attribute name and
  radiusd fails to start if I set it, so I used 'Session-Timeout'.

   And you expect it to work?

   The instructions an examples in radiusd.conf are there for a
 REASON.  FOLLOW THEM.

  The setting in radiusd.conf
 
  module {
  ...
  counter daily {
 ...

   You do realise that the 'counter' module will be totally ignored,
 unless you also list it in the 'accounting' section?

   Have you read the REST of 'radiusd.conf', to see where else the
 counter module should be used?


   I fail to understand why you've only read half of 'radiusd.conf',
 and why you've done something OTHER than what it says to do.  I'm even
 more surprised that you're wondering why it doesn't work.

   While I understand that the documentation for the server could use
 some work, it is MORE than adequate to solve the problem you're trying
 to address.

   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: Session Timeout

2003-07-25 Thread Alex Chen
After digging into the rlm_counter code, I finally find out what went wrong.
If there is a setting of 'allowed-servicetype' in the counter configuration,
when the counter module will check for the 'Service-Type' in the accounting
request when accounting stops.  If there is no 'Service-Type' attribute in
the
request, the module simply returns RLM_MODULE_NOOP, and nothing is done.

After tracing through the code, I double checked the comments in
radiusd.conf and
got the following brief description:

#  The allowed-servicetype attribute can be used to only take
#  into account specific sessions. For example if a user first
#  logs in through a login menu and then selects ppp there will
#  be two sessions. One for Login-User and one for Framed-User
#  service type. We only need to take into account the second one.

This may be clear to people always know much about the behavior.  For newbie
like
me it does not really bring a bell.

I think more explanation of the configuration elements for counter will be
great,
or add some debug message in rlm_counter.c like:

if((proto_vp = pairfind(request-packet-vps, PW_SERVICE_TYPE)) == NULL)
{
DEBUG2(rlm_counter: Service-Type is not set in the request, returns
'noop'\n);
return RLM_MODULE_NOOP;
}

 -Original Message-
 From: Alex Chen [mailto:[EMAIL PROTECTED]
 Sent: Friday, July 25, 2003 4:42 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: Session Timeout


 I did read the whole thing. I did not include settings of
 other sections because
 I thought they took too much space in the mail,
 but I did uncomment the 'daily' stanza in the accounting section.

 Currently I have:

 module {
 ...
   counter daily {
   filename = ${raddbdir}/db.daily
   key = User-Name
   count-attribute = Acct-Session-Time
   reset = daily
   counter-name = Daily-Session-Time
   check-name = Max-Daily-Session
   allowed-servicetype = Outbound-User
   cache-size = 5000
   }
 
 }

 instantiate {
   expr
   daily
 }

 authorize {
   preprocess
   sql
   files
   daily
 }

 accounting {
   acct_unique
   sql
   detail
   daily
   radutmp
 }

 And I have the following setting in 'users'
 Alex  Max-Daily-Session := 30
 DEFAULT   Max-Daily-Session := 20

 This is the log I get from radisud

 =
 rad_recv: Access-Request packet from host 192.168.1.100:2100,
 id=40, length=68
   User-Name = Alex
   User-Password = alextest
   NAS-IP-Address = 192.168.1.100
   NAS-Port = 1
   NAS-Port-Type = Ethernet
   NAS-Port-Id = 1234
 modcall: entering group authorize
 
 rlm_counter: Entering module authorize code
 rlm_counter: Key = User-Name, string value = Alex
 rlm_counter: Check VP name = Max-Daily-Session, value = 30
 rlm_counter: Set user_counter to 0
 rlm_counter: Search for key_datum.dptr 'Alex'
 rlm_counter: gdbm_fetch returns count_datum.dptr == NULL
 rlm_counter: Counter attribute = 'Acct-Session-Time'
 rlm_counter: create reply item Session-Timeout, value = 30
 rlm_counter: (Check item - counter) is greater than zero
 rlm_counter: Authorized user Alex, check_item=30, counter=0
 rlm_counter: Sent Reply-Item for user Alex,
 Type=Session-Timeout, value=30
   modcall[authorize]: module daily returns ok
 modcall: group authorize returns ok
 auth: type Crypt
 Sending Access-Accept of id 40 to 192.168.1.100:2100
   Service-Type := Outbound-User
   Class := 0x566973612050726570616964
   Session-Timeout = 30
 Finished request 0
 =


 ( The extra rlm_counter messages are from the DEBUG2
 statements I sprinkled in
   rlm_counter.c to see the code flow.)

 So far so good.  I then sent in account start/stop requests

 =
 rad_recv: Accounting-Request packet from host
 192.168.1.100:2101, id=41, length=61
   User-Name = Alex
   Acct-Status-Type = Start
   NAS-IP-Address = 192.168.1.100
   NAS-Port = 1
   NAS-Port-Type = Ethernet
   Acct-Session-Id = 100
   NAS-Port-Id = 1234
 modcall: entering group accounting
 
 rlm_counter: We only run on Accounting-Stop packets.
 
 modcall: group accounting returns ok
 Sending Accounting-Response of id 41 to 192.168.1.100:2101
 Finished request 1
 ...
 rad_recv: Accounting-Request packet from host
 192.168.1.100:2102, id=42, length=61
   User-Name = Alex
   Acct-Status-Type = Stop
   NAS-IP-Address = 192.168.1.100
   NAS-Port = 1
   NAS-Port-Type = Ethernet
   Acct-Session-Id = 100
   Acct-Session-Time = 10
 ...
 modcall: entering group accounting
 ...
 rlm_counter: Packet Unique ID = 'ac378b971733fdb1'
   modcall[accounting]: module daily returns noop
 ...
 Sending Accounting-Response of id 42 to 192.168.1.100:2102
 Finished request 2
 ...
 rad_recv: Access-Request packet from host 192.168.1.100:2103,
 id=43, length=68
   User-Name = Alex

Re: Session Timeout

2003-07-24 Thread Alan DeKok
Alex Chen [EMAIL PROTECTED] wrote:
rlm_counter?
 
 How is it used?  Where can I find a document about this?

  Have you tried reading the configuration files?

 I tried to use the 'counter daily' module, but do not know how the format of
 /usr/local/etc/raddb/db.daily.

  Why would you care?

  The 'file' command told me that the file is GNU dbm file format.  I
 am using MySQL, can it read this file?

  No.  Why would you want MySQL to read this file?

 Another question:  Can the 'accounting_stop_query' SQL statement in the
 sql.conf file update two tables at all?

  No.  There was a patch posted a while ago which let the server do
this.


 In my previous mail, I added another 'UPDATE' statement after the
 original one, following the ';' SQL command separator. I got an
 error message from the server. If I typed the same command from
 'mysql', it worked fine.

  Then the 'mysql' tool pre-parses the statements in a way that the
'mysqld' daemon does not.

  Alan DeKok.

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


RE: Session Timeout

2003-07-23 Thread Alex Chen
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Alan DeKok
 Sent: Tuesday, July 22, 2003 10:44 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Session Timeout


 Alex Chen [EMAIL PROTECTED] wrote:
  I am trying to use Session-Timeout as the way to account for how
  much total time the user is allowed to stay connect, and
  Acct-Session-Time for the time the user spend on a session. Once the
  summation of the Acct-Session-Time for all sessions of a user
  reaches the Session-Timeout, the user is denied service.

   rlm_counter?

   Alan DeKok.


How is it used?  Where can I find a document about this?
I cannot find one under /usr/local/share/doc/freeradius-0.9.0 or from man
page .

I tried to use the 'counter daily' module, but do not know how the format of
/usr/local/etc/raddb/db.daily.  The 'file' command told me that the file is
GNU dbm file format.   I am using MySQL, can it read this file?

Another question:  Can the 'accounting_stop_query' SQL statement in the
sql.conf file
   update two tables at all?  In my previous mail, I added
another 'UPDATE'
   statement after the original one, following the ';' SQL
command separator.
   I got an error message from the server. If I typed the
same command from
   'mysql', it worked fine.


 -
 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: Session Timeout

2003-07-22 Thread Alan DeKok
Alex Chen [EMAIL PROTECTED] wrote:
 I am trying to use Session-Timeout as the way to account for how
 much total time the user is allowed to stay connect, and
 Acct-Session-Time for the time the user spend on a session. Once the
 summation of the Acct-Session-Time for all sessions of a user
 reaches the Session-Timeout, the user is denied service.

  rlm_counter?

  Alan DeKok.

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


Re: Session Timeout

2003-07-21 Thread Habib Seifzadeh

Why you don't use triggers? you can add a triger witch updates radreply table 
automatically when you update radacct.
by the way, which client do you use for this schema? and which db server? do 
you have any problem with postgresql?




On Tuesday 22 July 2003 04:05 am, Alex Chen wrote:
 I am trying to use Session-Timeout as the way to account for how much total
 time
 the user is allowed to stay connect, and Acct-Session-Time for the time the
 user
 spend on a session. Once the summation of the Acct-Session-Time for all
 sessions
 of a user reaches the Session-Timeout, the user is denied service.

 The scheme is like this:
 radreply has the Session-Timeout attribute. When the user is accepted,
 the value is sent to the client.  The Radius client starts accounting if
 the Session-Timeout is  0.  When the user disconnects, the Radius client
 stops the accounting and sends back the new Session-Timeout value, which is
 the difference of the original value minus the time the user spent.
 I modified the server's SQL accounting_stop_query to update not only
 'radacct', but
 also 'radreply':

   accounting_stop_query = UPDATE ${acct_table2} SET AcctStopTime = '%S',
 AcctSessionTime = '%{Acct-Session-Time}',
 AcctInputOctets = '%{Acct-Input-Octets}', AcctOutputOctets =
 '%{Acct-Output-Octets}',
 AcctTerminateCause = '%{Acct-Terminate-Cause}', AcctStopDelay =
 '%{Acct-Delay-Time}',
 ConnectInfo_stop = '%{Connect-Info}'
 WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName =
 '%{SQL-User-Name}' AND NASIPAddress = '%{NAS-IP-Address}'
 AND AcctStopTime = 0; UPDATE ${authreply_table} SET Value =
 %{Session-Timeout} WHERE UserName = '%{SQL-User-Name}'
 AND Attribute = 'Session-Timeout'

 Notice there are two UPDATE statements here.

 But I got the following error in the debug output:

 radius_xlat:  'Alex'
 rlm_sql (sql): sql_set_user escaped user -- 'Alex'
 radius_xlat:  'UPDATE radacct SET AcctStopTime = '2003-07-21 14:57:48',
 AcctSessionTime = '5', AcctInputOctets = '', AcctOutputOctets = '',
 AcctTerminateCause = '', AcctStopDelay = '', ConnectInfo_stop = '' WHERE
 AcctSessionId = '1' AND UserName = 'Alex' AND NASIPAddress = '192.168.2.1'
 AND AcctStopTime = 0; UPDATE radreply SET Value = 0 WHERE UserName = 'Alex'
 AND Attribute = 'Session-Timeout''
 rlm_sql (sql): Reserving sql socket id: 3
 rlm_sql_mysql: MYSQL check_error: 1064 received
 rlm_sql (sql): Couldn't update SQL accounting STOP record - You have an
 error in your SQL syntax near '; UPDATE radreply SET Value = 0 WHERE
 UserName = 'Alex' AND Attribute = 'Session' at line 1
 rlm_sql (sql): Released sql socket id: 3
   modcall[accounting]: module sql returns fail
 modcall: group accounting returns fail

 If I manually type in the second update statement to change the
 Session-Timeout value in the radreply, it worked fine.

 What could be the problem?

 If this does not work as the way I expected, how can I get the server to
 update the total time allowed for the user
 after each accounting start-stop session from within the server?



 -
 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: Session Timeout

2003-07-21 Thread Alex Chen
I am using MySQL and I do not believe currently MySQL supports triggers.

I am writing my own client and use 'radclient' as a mean to communicate
with the server.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Habib
 Seifzadeh
 Sent: Thursday, March 27, 2003 2:05 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Session Timeout
 
 
 
 Why you don't use triggers? you can add a triger witch 
 updates radreply table 
 automatically when you update radacct.
 by the way, which client do you use for this schema? and 
 which db server? do 
 you have any problem with postgresql?
 
 
 
 
 On Tuesday 22 July 2003 04:05 am, Alex Chen wrote:
  I am trying to use Session-Timeout as the way to account 
 for how much total
  time
  the user is allowed to stay connect, and Acct-Session-Time 
 for the time the
  user
  spend on a session. Once the summation of the 
 Acct-Session-Time for all
  sessions
  of a user reaches the Session-Timeout, the user is denied service.
 
  The scheme is like this:
  radreply has the Session-Timeout attribute. When the user 
 is accepted,
  the value is sent to the client.  The Radius client starts 
 accounting if
  the Session-Timeout is  0.  When the user disconnects, the 
 Radius client
  stops the accounting and sends back the new Session-Timeout 
 value, which is
  the difference of the original value minus the time the user spent.
  I modified the server's SQL accounting_stop_query to update not only
  'radacct', but
  also 'radreply':
 
  accounting_stop_query = UPDATE ${acct_table2} SET 
 AcctStopTime = '%S',
  AcctSessionTime = '%{Acct-Session-Time}',
  AcctInputOctets = '%{Acct-Input-Octets}', AcctOutputOctets =
  '%{Acct-Output-Octets}',
  AcctTerminateCause = '%{Acct-Terminate-Cause}', AcctStopDelay =
  '%{Acct-Delay-Time}',
  ConnectInfo_stop = '%{Connect-Info}'
  WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName =
  '%{SQL-User-Name}' AND NASIPAddress = '%{NAS-IP-Address}'
  AND AcctStopTime = 0; UPDATE ${authreply_table} SET Value =
  %{Session-Timeout} WHERE UserName = '%{SQL-User-Name}'
  AND Attribute = 'Session-Timeout'
 
  Notice there are two UPDATE statements here.
 
  But I got the following error in the debug output:
 
  radius_xlat:  'Alex'
  rlm_sql (sql): sql_set_user escaped user -- 'Alex'
  radius_xlat:  'UPDATE radacct SET AcctStopTime = 
 '2003-07-21 14:57:48',
  AcctSessionTime = '5', AcctInputOctets = '', AcctOutputOctets = '',
  AcctTerminateCause = '', AcctStopDelay = '', 
 ConnectInfo_stop = '' WHERE
  AcctSessionId = '1' AND UserName = 'Alex' AND NASIPAddress 
 = '192.168.2.1'
  AND AcctStopTime = 0; UPDATE radreply SET Value = 0 WHERE 
 UserName = 'Alex'
  AND Attribute = 'Session-Timeout''
  rlm_sql (sql): Reserving sql socket id: 3
  rlm_sql_mysql: MYSQL check_error: 1064 received
  rlm_sql (sql): Couldn't update SQL accounting STOP record - 
 You have an
  error in your SQL syntax near '; UPDATE radreply SET Value = 0 WHERE
  UserName = 'Alex' AND Attribute = 'Session' at line 1
  rlm_sql (sql): Released sql socket id: 3
modcall[accounting]: module sql returns fail
  modcall: group accounting returns fail
 
  If I manually type in the second update statement to change the
  Session-Timeout value in the radreply, it worked fine.
 
  What could be the problem?
 
  If this does not work as the way I expected, how can I get 
 the server to
  update the total time allowed for the user
  after each accounting start-stop session from within the server?
 
 
 
  -
  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: Session-Timeout

2003-07-13 Thread Alan DeKok
Emel`chenko Alexander [EMAIL PROTECTED] wrote:
 why radius does`t send Session-Timeout if
 
 in acct_users:

  Session-Timeout cannot be used in accounting packets.  See the
RFC's.

  Alan DeKok.

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


Re: session-timeout cisco 5800

2002-08-19 Thread Chris Parker

At 03:17 PM 8/19/2002 +0200, [EMAIL PROTECTED] wrote:
hi,

how must i configure my cisco and radius to use session-timeout and
max-month-session.

i use a cisco 5800 with c5800-p4-mz.121-7.bin
and freeradius 0.7

here are my configs:

cisco 5800
==

aaa authentication login dialin group radius
aaa authentication ppp dialin local group radius
aaa authorization exec default none
aaa authorization network dialin local group radius if-authenticated
aaa accounting network dialin start-stop group radius


radius
==

adm Auth-Type := local, User-Password == adm
 Service-Type = Framed-User,
 Session-Timeout = 3600,
 Fall-Through = Yes


it looks like, that the radius don't send the session-timeout attribute.

What does radius tell you when you run the server in debug mode?  Note that
you have 'Fall-Through = Yes', so you may be overwriting/modifying the
profile with other entries.  Run the server in debug mode and it will tell
you exactly what it is doing.

-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: session timeout attribute

2002-05-29 Thread Hooman Amini

I have tried cisco debitcard.tcl but i has some error in using credit amount
that's why i am looking for an automatic session timeout attribute to purge my
session automatically.

--- Rodrigo Gonzalez [EMAIL PROTECTED] wrote:
 h323-credit-time
 it depends on tcl if it use the return value or not, check your tcl before
 using it
 
 - Original Message -
 From: Hooman Amini [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, May 29, 2002 9:14 AM
 Subject: session timeout attribute
 
 
  Hi,
  I have used freeradius for our prepaid calling card system.I am looking
 for an
  attribute to timeout our voip ivr sessions like session-timout. checking
  session-timeout i have got no result.
 
  any idea?
 
  Hooman
  --- Giovanni P. Tirloni [EMAIL PROTECTED] wrote:
   * Stefan Immel ([EMAIL PROTECTED]) wrote:
Our radius just died again, this time without an sig 11:
   
Wed May 29 11:49:53 2002 : Error: Trying to look up name of unknown
 client
   8.193.44.64.
Wed May 29 11:49:53 2002 : Error: Accounting-Request packet sent to a
   non-accounting port from cl
ient UNKNOWN-CLIENT:0 - ID 2 : IGNORED
   
After that it was dead. No sig 11, no core file.
  
   Hi,
  
SIG11 usually means hardware problems but since this time you say it
 died
   from no aparent reason and without core dumping I don't know. Are you
 seeing
   this behaviour with other apps on your system ?
  
   - Giovanni
  
   -
   List info/subscribe/unsubscribe? See
  http://www.freeradius.org/list/users.html
 
 
  __
  Do You Yahoo!?
  Yahoo! - Official partner of 2002 FIFA World Cup
  http://fifaworldcup.yahoo.com
 
  -
  List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
 
 
 
 - 
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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



Re: session timeout attribute

2002-05-29 Thread Rodrigo Gonzalez

If you explain which error you had maybe someone could help you

- Original Message -
From: Hooman Amini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 10:11 AM
Subject: Re: session timeout attribute


 I have tried cisco debitcard.tcl but i has some error in using credit
amount
 that's why i am looking for an automatic session timeout attribute to
purge my
 session automatically.

 --- Rodrigo Gonzalez [EMAIL PROTECTED] wrote:
  h323-credit-time
  it depends on tcl if it use the return value or not, check your tcl
before
  using it
 
  - Original Message -
  From: Hooman Amini [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, May 29, 2002 9:14 AM
  Subject: session timeout attribute
 
 
   Hi,
   I have used freeradius for our prepaid calling card system.I am
looking
  for an
   attribute to timeout our voip ivr sessions like session-timout.
checking
   session-timeout i have got no result.
  
   any idea?
  
   Hooman
   --- Giovanni P. Tirloni [EMAIL PROTECTED] wrote:
* Stefan Immel ([EMAIL PROTECTED]) wrote:
 Our radius just died again, this time without an sig 11:

 Wed May 29 11:49:53 2002 : Error: Trying to look up name of
unknown
  client
8.193.44.64.
 Wed May 29 11:49:53 2002 : Error: Accounting-Request packet sent
to a
non-accounting port from cl
 ient UNKNOWN-CLIENT:0 - ID 2 : IGNORED

 After that it was dead. No sig 11, no core file.
   
Hi,
   
 SIG11 usually means hardware problems but since this time you say
it
  died
from no aparent reason and without core dumping I don't know. Are
you
  seeing
this behaviour with other apps on your system ?
   
- Giovanni
   
-
List info/subscribe/unsubscribe? See
   http://www.freeradius.org/list/users.html
  
  
   __
   Do You Yahoo!?
   Yahoo! - Official partner of 2002 FIFA World Cup
   http://fifaworldcup.yahoo.com
  
   -
   List info/subscribe/unsubscribe? See
  http://www.freeradius.org/list/users.html
  
 
 
  -
  List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html


 __
 Do You Yahoo!?
 Yahoo! - Official partner of 2002 FIFA World Cup
 http://fifaworldcup.yahoo.com

 -
 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: session timeout attribute

2002-05-29 Thread Hooman Amini

Hi,
the problem is that when i use app_Debitcad.2.0.2.2.tcl , after authentication
time which returns the values of h323-retun-code and h323-credit-amount and
h323-credit-time my execution program goes to the state of not recieveing tel
number without any delay.Also the section of reading credit numbers and time
don't work.

Regards,
Hooman
--- Rodrigo Gonzalez [EMAIL PROTECTED] wrote:
 If you explain which error you had maybe someone could help you
 
 - Original Message -
 From: Hooman Amini [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, May 29, 2002 10:11 AM
 Subject: Re: session timeout attribute
 
 
  I have tried cisco debitcard.tcl but i has some error in using credit
 amount
  that's why i am looking for an automatic session timeout attribute to
 purge my
  session automatically.
 
  --- Rodrigo Gonzalez [EMAIL PROTECTED] wrote:
   h323-credit-time
   it depends on tcl if it use the return value or not, check your tcl
 before
   using it
  
   - Original Message -
   From: Hooman Amini [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Wednesday, May 29, 2002 9:14 AM
   Subject: session timeout attribute
  
  
Hi,
I have used freeradius for our prepaid calling card system.I am
 looking
   for an
attribute to timeout our voip ivr sessions like session-timout.
 checking
session-timeout i have got no result.
   
any idea?
   
Hooman
--- Giovanni P. Tirloni [EMAIL PROTECTED] wrote:
 * Stefan Immel ([EMAIL PROTECTED]) wrote:
  Our radius just died again, this time without an sig 11:
 
  Wed May 29 11:49:53 2002 : Error: Trying to look up name of
 unknown
   client
 8.193.44.64.
  Wed May 29 11:49:53 2002 : Error: Accounting-Request packet sent
 to a
 non-accounting port from cl
  ient UNKNOWN-CLIENT:0 - ID 2 : IGNORED
 
  After that it was dead. No sig 11, no core file.

 Hi,

  SIG11 usually means hardware problems but since this time you say
 it
   died
 from no aparent reason and without core dumping I don't know. Are
 you
   seeing
 this behaviour with other apps on your system ?

 - Giovanni

 -
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
   
   
__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
   
-
List info/subscribe/unsubscribe? See
   http://www.freeradius.org/list/users.html
   
  
  
   -
   List info/subscribe/unsubscribe? See
  http://www.freeradius.org/list/users.html
 
 
  __
  Do You Yahoo!?
  Yahoo! - Official partner of 2002 FIFA World Cup
  http://fifaworldcup.yahoo.com
 
  -
  List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
 
 
 
 - 
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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