• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

PPP Monitoring Utility

Man, I've been all over the net trying to find a PPP monitoring utility for Linux, and I'm coming up empty-handed.
Has noone made anything like this yet, or am I just looking in the wrong places? What I need is a utility(preferably GUI) that would show who's connected, how long they've been connected, and ideally the bandwith they're using.
PLEASE HELP.
0
tibori
Asked:
tibori
  • 4
  • 2
1 Solution
 
kiffneyCommented:
These might be too simple, but I just use 'w' (shows the start time of the connection) and 'pppstats pppx' (shows bytes sent and received, replace pppx with the device number). For GUI, I know of  pload at
http://www.engr.utk.edu/~mdsmith/pload).  or there's http://sunsite.auc.dk/qweb/kpppload/

0
 
tiboriAuthor Commented:
Thanks kiffney. That's nice for the bandwith, but I still don't know the names of the users that are connected and which terminal device they're connected to. The only way I have currently of knowing this is checking the mgetty logs. BTW, I'm running a ppp dialin server using mgetty and pppd, and I would like to have a way of monitoring(in real time) when someone connects, disconnects, etc.
0
 
kiffneyCommented:
So 'w' doesn't show you login names on your ttySx lines?  It works here.  If you edit mgetty's login.conf on the ppp line, and change the third entry to @, it will put the username in utmp and 'w' should show you the usernames of logged-in ppp users.  I think.  Give it a shot.  (I think any monitoring program you find might be expecting utmp to have the username so you might have to do this anyway, whether or not it makes 'w' work)
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
modulusCommented:
Not _exactly_ what you want, but EtherApe will display some of the info
http://etherape.sourceforge.net/
and Netwatch has an "experimental" version that monitors ppp connections
http://www.slctech.org/~mackay/netwatch.html
0
 
tiboriAuthor Commented:
Adjusted points from 24 to 30
0
 
tiboriAuthor Commented:
Comment accepted as answer
0
 
tiboriAuthor Commented:
Actually "w" does work. A bit simple but adequate.
Thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now