From owner-freebsd-isdn Wed Jul 19 15:28: 1 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from jello276.jellocom.de (jello276.jellocom.de [195.27.27.18]) by hub.freebsd.org (Postfix) with ESMTP id CB79C37B5CC for ; Wed, 19 Jul 2000 15:27:57 -0700 (PDT) (envelope-from ingolf@jellonet.de) Received: from local.net (ppp23.jellonet.de [195.27.27.55]) by jello276.jellocom.de (8.10.1/8.10.1) with ESMTP id e6JMRq931007 for ; Thu, 20 Jul 2000 00:27:53 +0200 Received: (from ingolf@localhost) by local.net (8.10.2/8.10.2) id e6JMRmo24977 for freebsd-isdn@freebsd.org; Thu, 20 Jul 2000 00:27:48 +0200 (MEST) Date: Thu, 20 Jul 2000 00:27:47 +0200 From: Ingolf Koch To: freebsd-isdn@freebsd.org Subject: Alternate idle hangup algorithm Message-ID: <20000720002747.A21137@maus.local.net> Mail-Followup-To: freebsd-isdn@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-Faith: Jesus Christ Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, my ISP charges a fixed amount of money per started minute. And I would like the link to be idle for at least two minutes before it is hung up automatically (to keep an application running which only transmits packets every 1,5 minutes). If I understand the i4b manual correctly, this is not possible at the moment. It would be nice to have an alternate algorithm for the auto hangup which allows for minimum idle times which are longer than the unit length. This algorithm could be something like the following: 1. generally: store the timestamp of the last received/ transmitted packet somewhere (this is probably already implemented) 2. start a timer which times out seconds before the (expected) end of the current unit 3. when this timeout occurs, check if both the timestamps of the last received/transmitted packet are older than idletime-incoming/idletime-outgoing, hangup the connection, else repeat step #2 If my above assumption is wrong (i.e. if this is already possible with i4b-00.90.00), please correct me and point me to a solution of this problem. Thanks. Ingolf -- Ingolf Koch ICQ#60829470 Beste Kneipe in Jena-Ost PGP: 0x7B3B5661 213C 828E 0C92 16B5 05D0 4D5B A324 EC04 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message