npppd sessions log

2013-08-13 Thread Radek
Hi @misc, 

I can't find any way/option to log npppd sessions on a VPN gateway. 
What I need to log: 
- username
- user's source_IP
- user's VPN_internal_IP
- session start_time
- session end_time

Current npppd sessions I can see via npppctl session all/brief but I need a 
history log.

Thanks for help,
Radek 



Re: npppd sessions log

2013-08-13 Thread Vijay Sankar

Quoting Radek alee...@gmail.com:


Hi @misc,

I can't find any way/option to log npppd sessions on a VPN gateway.
What I need to log:
- username
- user's source_IP
- user's VPN_internal_IP
- session start_time
- session end_time

Current npppd sessions I can see via npppctl session all/brief but  
I need a history log.


Thanks for help,
Radek




/var/log/messages or /var/log/daemon has all those details.



Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca

-
This message was sent using ForeTell-POST 4.9



Re: npppd sessions log

2013-08-13 Thread Marko Cupać
On Tue, 13 Aug 2013 14:24:49 +0200
Radek alee...@gmail.com wrote:

 Hi @misc, 
 
 I can't find any way/option to log npppd sessions on a VPN gateway. 
 What I need to log: 
 - username
 - user's source_IP
 - user's VPN_internal_IP
 - session start_time
 - session end_time

I do accounting, as well as authentication, by help of radius server.

-- 
Marko Cupać



Re: npppd sessions log

2013-08-13 Thread Radek
It was my fault. 
I started npppd -d (for test only), so logs went to stdout and there was 
nothing in /var/log/*. 
If I start it as a daemon, session logs go to /var/log/daemon and 
/var/log/messages.

I do accounting, as well as authentication, by help of radius server.
VPN with RADIUS  - it's in my TODO list.
Thanks!

On Tue, 13 Aug 2013 07:33:20 -0500
Vijay Sankar vsan...@foretell.ca wrote:

 Quoting Radek alee...@gmail.com:
 
  Hi @misc,
 
  I can't find any way/option to log npppd sessions on a VPN gateway.
  What I need to log:
  - username
  - user's source_IP
  - user's VPN_internal_IP
  - session start_time
  - session end_time
 
  Current npppd sessions I can see via npppctl session all/brief but  
  I need a history log.
 
  Thanks for help,
  Radek
 
 
 
 /var/log/messages or /var/log/daemon has all those details.
 
 
 
 Vijay Sankar, M.Eng., P.Eng.
 ForeTell Technologies Limited
 vsan...@foretell.ca
 
 -
 This message was sent using ForeTell-POST 4.9
 
 
Radek