Counter reset

2005-10-13 Thread Andreas Korber
Hi,
i´m running freeradius 1.0.4 with mysql  chilli. Most of them works good
:-)
But i have some users, which won´t log out. And now comes the problem: if a
user has something like 4GB traffic up or download in one session his
traffic would get lost and the counter resets. i´m not sure, but is there a
buffer wich will overflowed? Or something like this??
Thanks


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


AW: Counter reset

2005-10-13 Thread Andreas Korber
Sorry
Which value. What query
Thanks for helping me, but i don´t really understand

andi 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Jonathan De Graeve
Gesendet: Donnerstag, 13. Oktober 2005 11:59
An: FreeRadius users mailing list
Betreff: RE: Counter reset

Yes there's a 4GB limit in the counter

You have to use smaller values (change your sql query to divided all values
by a given value)

J.

--
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
[EMAIL PROTECTED]

-
Always read the manual for the correct way to do things because the number
of incorrect ways to do things is almost infinite
-

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Andreas Korber
Verzonden: donderdag 13 oktober 2005 9:37
Aan: freeradius-users@lists.freeradius.org
Onderwerp: Counter reset

Hi,
i´m running freeradius 1.0.4 with mysql  chilli. Most of them works good
:-)
But i have some users, which won´t log out. And now comes the problem: if a
user has something like 4GB traffic up or download in one session his
traffic would get lost and the counter resets. i´m not sure, but is there a
buffer wich will overflowed? Or something like this??
Thanks


-
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


AW: Counter reset

2005-10-13 Thread Andreas Korber
Ok, now i understand. Thanks.
One more question. Where to set the octets value for recalculation?

Thanks
 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Jonathan De Graeve
Gesendet: Donnerstag, 13. Oktober 2005 15:22
An: FreeRadius users mailing list
Betreff: RE: Counter reset

Octet values are in bytes

So just calculated what it would be in MB or in GB. I recalculate the value
to be in MB so I force the max octets to like 1024MB for 1GB

Divide your end result with 1024*1024 or something

J.

--
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
[EMAIL PROTECTED]

-
Always read the manual for the correct way to do things because the number
of incorrect ways to do things is almost infinite
-

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Andreas Korber
Verzonden: donderdag 13 oktober 2005 15:13
Aan: 'FreeRadius users mailing list'
Onderwerp: AW: Counter reset

Sorry
Which value. What query
Thanks for helping me, but i don´t really understand

andi 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Jonathan De Graeve
Gesendet: Donnerstag, 13. Oktober 2005 11:59
An: FreeRadius users mailing list
Betreff: RE: Counter reset

Yes there's a 4GB limit in the counter

You have to use smaller values (change your sql query to divided all values
by a given value)

J.

--
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
[EMAIL PROTECTED]

-
Always read the manual for the correct way to do things because the number
of incorrect ways to do things is almost infinite
-

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Andreas Korber
Verzonden: donderdag 13 oktober 2005 9:37
Aan: freeradius-users@lists.freeradius.org
Onderwerp: Counter reset

Hi,
i´m running freeradius 1.0.4 with mysql  chilli. Most of them works good
:-)
But i have some users, which won´t log out. And now comes the problem: if a
user has something like 4GB traffic up or download in one session his
traffic would get lost and the counter resets. i´m not sure, but is there a
buffer wich will overflowed? Or something like this??
Thanks


-
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


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


AW: Counter reset

2005-10-13 Thread Andreas Korber
Ok thanks i´ll have a look this evening 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Jonathan De Graeve
Gesendet: Donnerstag, 13. Oktober 2005 17:03
An: FreeRadius users mailing list
Betreff: RE: Counter reset

In your SQL query 

J.

--
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
[EMAIL PROTECTED]

-
Always read the manual for the correct way to do things because the number
of incorrect ways to do things is almost infinite
-

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Andreas Korber
Verzonden: donderdag 13 oktober 2005 16:51
Aan: 'FreeRadius users mailing list'
Onderwerp: AW: Counter reset

Ok, now i understand. Thanks.
One more question. Where to set the octets value for recalculation?

Thanks
 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Jonathan De Graeve
Gesendet: Donnerstag, 13. Oktober 2005 15:22
An: FreeRadius users mailing list
Betreff: RE: Counter reset

Octet values are in bytes

So just calculated what it would be in MB or in GB. I recalculate the value
to be in MB so I force the max octets to like 1024MB for 1GB

Divide your end result with 1024*1024 or something

J.

--
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
[EMAIL PROTECTED]

-
Always read the manual for the correct way to do things because the number
of incorrect ways to do things is almost infinite
-

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Andreas Korber
Verzonden: donderdag 13 oktober 2005 15:13
Aan: 'FreeRadius users mailing list'
Onderwerp: AW: Counter reset

Sorry
Which value. What query
Thanks for helping me, but i don´t really understand

andi 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Jonathan De Graeve
Gesendet: Donnerstag, 13. Oktober 2005 11:59
An: FreeRadius users mailing list
Betreff: RE: Counter reset

Yes there's a 4GB limit in the counter

You have to use smaller values (change your sql query to divided all values
by a given value)

J.

--
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
[EMAIL PROTECTED]

-
Always read the manual for the correct way to do things because the number
of incorrect ways to do things is almost infinite
-

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Andreas Korber
Verzonden: donderdag 13 oktober 2005 9:37
Aan: freeradius-users@lists.freeradius.org
Onderwerp: Counter reset

Hi,
i´m running freeradius 1.0.4 with mysql  chilli. Most of them works good
:-)
But i have some users, which won´t log out. And now comes the problem: if a
user has something like 4GB traffic up or download in one session his
traffic would get lost and the counter resets. i´m not sure, but is there a
buffer wich will overflowed? Or something like this??
Thanks


-
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


- 
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


Certificate creation????

2005-05-31 Thread Andreas Korber
Hi,
What i am doing wrong? The creation of my certificates for EAP/TLS with
CA.all or CA.certs always end with an message like this:

-
Country Name (2 letter code) [AU]:State or Province Name (full name)
[Some-State]:Locality Name (eg, city) []:Organization Name (eg, company)
[Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common
Name (eg, YOUR name) []:Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:An optional company name []:Using configuration from
/etc/ssl/openssl.cnf
./demoCA/serial: No such file or directory
error while loading serial number
3164:error:02001002:system library:fopen:No such file or
directory:bss_file.c:276:fopen('./demoCA/serial','r')
3164:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:278:
Failed to do sign certificate
radius:/usr/local/etc/raddb/certs #


So i looked for the serial file. But it dosn´t exist. I think because of an
earlier message:

CA certificate filename (or enter to create)
unknown option -next_serial
usage: x509 args
 -inform arg - input format - default PEM (one of DER, NET or PEM)
 -outform arg- output format - default PEM (one of DER, NET or PEM)
 -keyform arg- private key format - default PEM
 -CAform arg - CA format - default PEM
 -CAkeyform arg  - CA key format - default PEM
 -in arg - input file - default stdin
 -out arg- output file - default stdout
 -passin arg - private key password source
 -serial - print serial number value
 -hash   - print hash value
 -subject- print subject DN
 -issuer - print issuer DN
 -email  - print email address(es)
 -startdate  - notBefore field
 -enddate- notAfter field
 -purpose- print out certificate purposes
 -dates  - both Before and After dates
 -modulus- print the RSA key modulus
 -pubkey - output the public key
 -fingerprint- print the certificate fingerprint
 -alias  - output certificate alias
 -noout  - no certificate output
 -ocspid - print OCSP hash values for the subject name and public
key
 -trustout   - output a trusted certificate
 -clrtrust   - clear all trusted purposes
 -clrreject  - clear all rejected purposes
 -addtrust arg   - trust certificate for a given purpose
 -addreject arg  - reject certificate for a given purpose
 -setalias arg   - set certificate alias
 -days arg   - How long till expiry of a signed certificate - def 30
days
 -checkend arg   - check whether the cert expires in the next arg seconds
   exit 1 if so, 0 if not
 -signkey arg- self sign cert with arg
 -x509toreq  - output a certification request object
 -req- input is a certificate request, sign and output.
 -CA arg - set the CA certificate, must be PEM format.
 -CAkey arg  - set the CA key, must be PEM format
   missing, it is assumed to be in the CA file.
 -CAcreateserial - create serial number file if it does not exist
 -CAserial arg   - serial file
 -set_serial - serial number to use
 -text   - print the certificate in text form
 -C  - print out C code forms
 -md2/-md5/-sha1/-mdc2 - digest to use
 -extfile- configuration file with X509V3 extensions to add
 -extensions - section from config file with X509V3 extensions to add
 -clrext - delete extensions before signing and input certificate
 -nameopt arg- various certificate name options
 -engine e   - use engine e, possibly a hardware device.
 -certopt arg- various certificate text options





Can anyone help me plaese??



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