Here at Erindale College (one of the campuses of the University of
Toronto) we have two Pormaster PM2e units. The first has thirty ports
and runs 14.4kbps dial-ins for our SPARCserver 20; shell-logins only.
The second has thirty ports as well, but only the first fifteen are
currently in use, with 28.8kbps modems for PPP only.
We have a relatively small number of PPP users (8:1 line ratio, so
max 120 users) ergo we maintain them in the Portmaster's own user
table. The lines are set up only for dial-in PPP, and the Portmaster
is dynamically assigning user IP addresses from a pool, rather than
each user getting their own IP.
Ideally, what we want to do is limit PPP connections to three hours
in length. What I need to know how to do is get information on the
currently logged-in PPP users. We can do this from the Portmaster
command line (telnetting in) and using "show sessions".
>From this information, we can poll every x minutes and determine who
has been on for longer than three hours, and then issue a port reset
command.
Now, my question is how can we retrieve this information for all 30
ports? We have tried using pmcommand, but since the output from the
"show sessions" command is paged ("press return for more") it stops
after the first fifteen ports have been displayed. Mailing support
at livingston got me "a known problem, with no workaround."
Does anybody here manage a Portmaster for PPP connections, and have
those connections time-limited? How did you accomplish this? Any
input would be appreciated.
[ CHRIS W. REA [UL] ... University of Toronto, Computer Science ]
[ cwrea@credit.erin.utoronto.ca ak786@torfree.net cwrea@msn.com ]