[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poptop-server
Subject:    Re: [Poptop-server] How can I see current connected users?
From:       rgreiner <mrgreiner () gmail ! com>
Date:       2008-11-18 19:45:57
Message-ID: 49231B75.7040108 () gmail ! com
[Download RAW message or body]

I'm using radius (Freeradius) to authenticate my poptop users. That way,
with a <radwho> command (in the radius server, of course) I can see who
is logged in, and <radlast> gives me a recent history. Also, enabling
the freeradius logs, you get a relatively extensive log of who connected
when, from where, what IP was attributed, and other details.

Info on how to use radius with poptop is in the poptop site itself, if
I'm not mistaken.

Hope this helps.

Roberto

Ricardo Augusto de Souza wrote:
>
> Hi,
>
>  
>
> I AM using poptop under OpenBSD.
>
> It ´s working pretty well **BUT** I think logs are kind poor.
>
> I ´d like to know which users are connected right now, how can I do that?
>
>  
>
> I saw this at process:
>
>  
>
> root     22477  0.0  0.1   472   824 ??  I      2:57PM    0:00.03
> pptpctrl                                : pptpd [189.33.147.222:0100 -
> 0D00] (pptpctrl)
>
> root     31598  0.0  0.2   772  1892 ??  S      2:57PM    0:00.38
> /usr/sbin/ppp -direct pptp
>
> ricardo   6425  0.0  0.0   636   500 p0  Is     9:00AM    0:00.02 -sh (sh)
>
>  
>
>  
>
>  
>
> logs:
>
>  
>
> # tail -f /var/log/ppp.log
>
> Nov 18 15:37:16 Fw ppp[31598]: LCP: deflink: LayerFinish
>
> Nov 18 15:37:16 Fw ppp[31598]: LCP: deflink: State change Starting -->
> Initial
>
> Nov 18 15:37:16 Fw ppp[31598]: Phase: deflink: Disconnected!
>
> Nov 18 15:37:16 Fw ppp[31598]: Phase: deflink: Connect time: 2382
> secs: 11161 octets in, 5943 octets out
>
> Nov 18 15:37:16 Fw ppp[31598]: Phase: deflink: 95 packets in, 48
> packets out
>
> Nov 18 15:37:16 Fw ppp[31598]: Phase:  total 7 bytes/sec, peak 591
> bytes/sec on Tue Nov 18 14:57:43 2008
>
> Nov 18 15:37:16 Fw ppp[31598]: Phase: deflink: lcp -> closed
>
> Nov 18 15:37:16 Fw ppp[31598]: Phase: bundle: Dead
>
> Nov 18 15:37:16 Fw ppp[31598]: Phase: PPP Terminated (normal).
>
> Nov 18 15:37:16 Fw ppp[31598]: Warning: 10.10.9.19: Cannot determine
> ethernet address for proxy ARP
>
>  
>
>  
>
> /etc/pptpd.conf
>
> # cat /etc/pptpd.conf
>
> speed 230400
>
> debug
>
> option /etc/ppp/ppp.conf
>
> logfile /var/log/pptpd.log
>
> localip 10.10.100.254
>
> remoteip 10.10.9.5-20
>
> listen xxx.xxx.xxx.xxx #  hiding
>
> nobsdcomp
>
> proxyarp
>
> +chapms-v2
>
> mppe-40
>
> mppe-128
>
> mppe-stateless
>
> noipparam
>
> #
>
>  
>
>  
>
> At /etc/ppp/ppp.conf:
>
>  
>
> loop:
>
>  set timeout 0
>
>  set log phase chat connect lcp ipcp command
>
>  set device localhost:pptp
>
>  set dial
>
>  set login
>
>  set mppe * stateful
>
> set server /var/tmp/loop "" 0177
>
>  
>
> loop-in:
>
>  set timeout 0
>
>  set log phase lcp ipcp command
>
>  allow mode direct
>
>  
>
>  
>
> pptp:
>
>  set timeout 0
>
>  set speed 115200
>
>  set log phase chat connect lcp ipcp command
>
>  set dial
>
>  set login
>
>  enable mssfixup
>
>  set ifaddr 10.10.100.253 10.10.9.5-10.10.9.20 255.255.255.0
> 255.255.255.255
>
> enable chap
>
>  disable pap
>
>  enable mschapv2
>
>  disable deflate pred1
>
>  deny deflate pred1
>
>  disable ipv6
>
>  accept mppe
>
>  enable proxy
>
>  accept dns
>
>  set dns 10.10.0.2 10.10.100.253
>
>  set device !/etc/ppp/secure
>
>  
>
>  
>
>  
>
> Btw, I am running it using pptpd –d –i
>
>  
>
>  
>
> Suggestions are welcome.
>
>  
>
>  
>
>  
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Poptop-server mailing list
> Poptop-server@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/poptop-server
>   


-- 
  -----------------------------------------------------
                Marcos Roberto Greiner

   Os otimistas acham que estamos no melhor dos mundos
    Os pessimistas tem medo de que isto seja verdade
                                       Murphy
  -----------------------------------------------------


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Poptop-server mailing list
Poptop-server@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/poptop-server

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic