(E-Mail Removed) wrote:
> Hi,
> What could be the reason for pppd to *not* reset the idle counter even
> though there's traffic?
Setting the pppd active-filter option to ignore certain traffic when
measuring elapsed idle time would do it.
> This is on RH9 with Portslave_2002.10.21 and Equinox modem-pool.
> If you look at the output of 'w' below, one user has idle-time of 32
> mins, but a tcpdump reveals plenty of traffic on the ppp interface for
> this user.
> I have also included /etc/ppp/options and the ppp options from the
> portslave config file below.
> Thanks
> Tobias Skytte
> Extract of output from 'w'
> **************************
> 08:23:47 up 5 days, 21:14, 6 users, load average: 0.07, 0.07, 0.04
> USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
> ******** ttyQ1a1 000:P.10.80 7:51am 32:24 0.00s 0.00s pppd
> lock crtsc
> ******** ttyQ1a2 001:P.10.81 8:15am 8:06 0.00s 0.00s pppd
> lock crtsc
It appears the IDLE time shown here is the cumulative idle time for
the program WHAT associated with user USER and terminal TTY since
USER started (or restarted after using another program) using WHAT.
What's the problem (no pun intended)? The pppd idle time you specified
was 3600 seconds, or 60 minutes. So pppd will exit when 60 minutes
have elapsed without *any* traffic through the PPP link, and not before
(in the absence of the active-filter option or external intervention).
You said there was "plenty of traffic" so the (cumulative) IDLE time
above could be well above 60 minutes and pppd would still be running.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
/* Speak softly and carry a sucker rod (See man syslogd, footnote to
recommendation 4 under SECURITY THREATS). */