*BSD News Article 55772


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!newsfeed.internetmci.com!howland.reston.ans.net!Germany.EU.net!news.dfn.de!news.dkrz.de!tubsibr!rznb12.rz.tu-bs.de!y0001415
From: y0001415@ws.rz.tu-bs.de (Martin Butkus)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Killing Idling SLIP sessions
Date: 24 Nov 1995 17:11:12 GMT
Organization: TU Braunschweig, Informatik (Bueltenweg), Germany
Lines: 21
Distribution: world
Message-ID: <494ubg$566@ra.ibr.cs.tu-bs.de>
References: <492q06$9ln@nic.wat.hookup.net>
NNTP-Posting-Host: rznb12.rz.tu-bs.de
X-Newsreader: TIN [version 1.2 PL2]

Thomas Schroecker (thomas@canadian-agra.com) wrote:
: Any quick way to kill people who establish a slip session, and then not 
: do anything.  The only way I can tell that tehir idling is that when I 
: type netstat -i, and number of in packets, and number of outpackets don't 
: change for a while.  So is there a way to see the traffic throught the 
: slip port, and kill the session if there isn't any for a specified amount 
: of time?!?

: Thanks in advance.
: TS.

In (iij)ppp there is  an idle timer that hangs up the line after a specified
time of silence on the line. If you have to use slip, maybe you can configure
the modem appropriately. Some of them have idle timers.

hope this helps

--
Martin Butkus					>>> Live long and prosper. <<<
Phone/Fax: +49.5331.298710
Am Stadtwege 10, 38304 Wolfenbuettel, Germany