From owner-freebsd-isdn Mon May 28 9:48:24 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from leka.almamedia.fi (leka.yhteys.mtv3.fi [62.236.224.129]) by hub.freebsd.org (Postfix) with SMTP id B8F6037B423 for ; Mon, 28 May 2001 09:48:20 -0700 (PDT) (envelope-from jml@cubical.fi) Received: (qmail 5464 invoked from network); 28 May 2001 16:48:18 -0000 Received: from dyn-f-161.yhteys.mtv3.fi (HELO snafu.intra.net) (@62.236.230.161) by leka.yhteys.mtv3.fi with SMTP; 28 May 2001 16:48:18 -0000 Received: from cubical.fi (huilu.intra.net [192.168.2.2]) by snafu.intra.net (8.11.1/8.11.1) with ESMTP id f4SGmEJ01776; Mon, 28 May 2001 19:48:15 +0300 (EEST) (envelope-from jml@cubical.fi) Message-ID: <3B128149.23993AC3@cubical.fi> Date: Mon, 28 May 2001 19:48:09 +0300 From: Juha-Matti Liukkonen Organization: Cubical Solutions Ltd X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: hm@hcs.de Cc: freebsd-isdn@freebsd.org Subject: Re: AVM B1/T1 support available in FreeBSD's isdn4bsd Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi again, Hellmuth Michaelis wrote: > I have just committed a CAPI driver (see http://www.capi.org/) and a > hardware driver for the AVM B1 and AVM T1 cards to FreeBSD-current > (and will make a 4.x-stable update-procedure available in the next days). Regarding the update procedure, could I coax you to modifying the overinstall scripts a bit to be more cross-compilation friendly? By this I mean specifically: * allow overriding of $R_UNAME and $OSRELDATE (because the target source and build host may not be the same revision) * honor $DESTDIR (which may not be /) and $SRC (because kernel sources may not be in /usr/src) * do not remove/create device nodes if $DESTDIR/dev does not exist (or perhaps if $DESTDIR/dev/i4b does not exist, leaving the installer [person] to run MAKEDEV manually). This naturally stems from the fact that our *BSD build is based on different FreeBSD version than what our build hosts are running (both are x86 and 4.x though, so they are mainly compatible, at least until 5.0 comes out and the servers get upgraded :-) >> This really is not a big deal <<, but would be nice (we'd get rid of one special-case patch from our build system) and hopefully encourage others (port builders) to consider cross-compilers as well. I could put together a new FreeBSD overinstall.sh addressing these issues if you'd like. This is actually a considerable pain when trying to build ports for a specific target environment -- too many makefiles and build scripts use un-overridable `uname` to determine the target system, and so on... I haven't yet come across a upgrade-friendly solution I would be comfortable with in the long run :-P Cheers, - Juha -- Juha-Matti Liukkonen, Cubical Solutions Ltd Phone: +358(0)405280142 Email: jml@cubical.fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue May 29 18:55:22 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from tao.org.uk (genesis.tao.org.uk [212.135.162.62]) by hub.freebsd.org (Postfix) with ESMTP id 3B03637B422 for ; Tue, 29 May 2001 18:55:19 -0700 (PDT) (envelope-from joe@tao.org.uk) Received: by tao.org.uk (Postfix, from userid 100) id 44D7855E; Wed, 30 May 2001 02:55:18 +0100 (BST) Date: Wed, 30 May 2001 02:55:18 +0100 From: Josef Karthauser To: ren hao Cc: isdn@freebsd.org Subject: Re: Could you help me,here is china? Message-ID: <20010530025517.A5491@tao.org.uk> References: <20010530014734.14725.qmail@mailasia.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010530014734.14725.qmail@mailasia.com>; from shenhua@mailasia.com on Wed, May 30, 2001 at 09:47:34AM +0800 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi there, You really want to be asking this kind of question to the freebsd-isdn list (Cc'd). Can anyone help him off the tops of their heads? Thanks, Joe On Wed, May 30, 2001 at 09:47:34AM +0800, ren hao wrote: > Dear Mr. Josef Karthauser: > How are you! > I am a programmer from china,I am working ISDN,could I ask you several qu= estions? > First,How isdn4bsd support the Layer 2 PPP encapsulation,whether does it = realize them by itself in isdn4bsd or depend on the FreeBSD main PPP? > Second ,How isdn4bsd do MP(MultiPoint) and bind 2 B channels? > Third,what=A1=AFs the raw B channel?when I need to use it expect telephno= y facility? > At last,please forgive me for giving you so much trouble. > Thank you very much!! > Yours sincerely > simonjiang >=20 > --=20 >=20 > Get your free email from www.mailasia.com=20 >=20 >=20 > Powered by Outblaze --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjsUUwUACgkQXVIcjOaxUBacOACfSI0L12j3tJzoM+U6ciJAM2ou U6IAoN0NTH0HEndp5nvhktINGcTbIqvd =KES5 -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue May 29 21: 2:56 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from casimir.physics.purdue.edu (casimir.physics.purdue.edu [128.210.146.111]) by hub.freebsd.org (Postfix) with ESMTP id 0289837B424 for ; Tue, 29 May 2001 21:02:48 -0700 (PDT) (envelope-from will@physics.purdue.edu) Received: by casimir.physics.purdue.edu (Postfix, from userid 1000) id B64DF17D0C; Tue, 29 May 2001 23:01:43 -0500 (EST) Date: Tue, 29 May 2001 23:01:43 -0500 From: Will Andrews To: ren hao Cc: freebsd-isdn@FreeBSD.org Subject: Re: Could I ask you several questions ? Message-ID: <20010529230143.K7406@casimir.physics.purdue.edu> Reply-To: FreeBSD ISDN References: <20010530013226.12297.qmail@mailasia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010530013226.12297.qmail@mailasia.com>; from shenhua@mailasia.com on Wed, May 30, 2001 at 09:32:26AM +0800 X-Operating-System: Linux 2.2.18 sparc64 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [ To freebsd-isdn: this guy sent me a private email message with the following questions. Sorry to impose on you. ] On Wed, May 30, 2001 at 09:32:26AM +0800, ren hao wrote: > First,How isdn4bsd support the Layer 2 PPP encapsulation,whether does it > realize them by itself in isdn4bsd or depend on the FreeBSD main PPP? > Second ,How isdn4bsd do MP(MultiPoint) and bind 2 B channels? > Third,what??s the raw B channel?when I need to use it expect telephnoy > facility? Sorry, I don't give help for things I do not know. For info on isdn4bsd, send an email to the isdn4bsd guys at freebsd-isdn@FreeBSD.org, whom I've cc:'d. G'day. -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue May 29 23:38:26 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from ws1.hk3.outblaze.com (ws1.hk3.outblaze.com [203.161.224.100]) by hub.freebsd.org (Postfix) with SMTP id 2695637B423 for ; Tue, 29 May 2001 23:38:24 -0700 (PDT) (envelope-from shenhua@mailasia.com) Received: (qmail 14409 invoked by uid 1001); 30 May 2001 06:38:23 -0000 Message-ID: <20010530063823.14408.qmail@mailasia.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 4.104 (Entity 4.117) From: "ren hao" To: freebsd-isdn@freebsd.org Date: Wed, 30 May 2001 14:38:23 +0800 Subject: Could you help me? Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org dear sir: How are you! I am a programmer from china,I am working ISDN, I got your email addresses from FreeBSD website,could I ask you several questions? First,How isdn4bsd support the Layer 2 PPP encapsulation,whether does it realize them by itself in isdn4bsd or depend on the FreeBSD main PPP? Second ,How isdn4bsd do MP(MultiPoint) and bind 2 B channels? Third,what¡¯s the raw B channel?when I need to use it except telephnoy facility? At last,please forgive me for giving you so much trouble. Thank you very much!! Yours sincerely -- Get your free email from www.mailasia.com Powered by Outblaze To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue May 29 23:43:35 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from ws1.hk3.outblaze.com (ws1.hk3.outblaze.com [203.161.224.100]) by hub.freebsd.org (Postfix) with SMTP id 23D2337B422 for ; Tue, 29 May 2001 23:43:33 -0700 (PDT) (envelope-from shenhua@mailasia.com) Received: (qmail 14892 invoked by uid 1001); 30 May 2001 06:43:32 -0000 Message-ID: <20010530064332.14891.qmail@mailasia.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 4.104 (Entity 4.117) From: "ren hao" To: freebsd-isdn@freebsd.org Date: Wed, 30 May 2001 14:43:32 +0800 Subject: Could you help me? Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org dear sir: How are you! I am a programmer from china,I am working ISDN, I got your email addresses from FreeBSD website,could I ask you several questions? First,How isdn4bsd support the Layer 2 PPP encapsulation,whether does it realize them by itself in isdn4bsd or depend on the FreeBSD main PPP? Second ,How isdn4bsd do MP(MultiPoint) and bind 2 B channels? Third,what¡¯s the raw B channel?when I need to use it except telephnoy facility? At last,please forgive me for giving you so much trouble. Thank you very much!! Yours sincerely -- Get your free email from www.mailasia.com Powered by Outblaze To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed May 30 0:34:35 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 7C9F737B422 for ; Wed, 30 May 2001 00:34:32 -0700 (PDT) (envelope-from h.kroonen@brinktech.nl) Received: from [195.173.234.248] (helo=server.brinktech.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.22 #1) id 1550Uw-0002Mx-00 for freebsd-isdn@FreeBSD.ORG; Wed, 30 May 2001 07:34:31 +0000 Received: from brink106 (brink106 [192.168.1.106]) by server.brinktech.demon.nl (Postfix) with ESMTP id DBD67BA9E for ; Wed, 30 May 2001 09:32:09 +0000 (GMT) From: "Harry Kroonen" To: freebsd-isdn@FreeBSD.ORG Date: Wed, 30 May 2001 09:35:50 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: (newbie) Idletime disconnect Reply-To: h.kroonen@brinktech.nl Message-ID: <3B14BEF6.5005.29BE979@localhost> In-reply-to: <200105251211.f4PCBOg01790@hak.lan.Awfulhak.org> References: Message from Eduardo Huertas of "24 May 2001 12:35:45 CST." <20010524183545.13768.qmail@nwcst334.netaddress.usa.net> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello to all, I'm running (kernel) i4b on a FreeBSD gateway for my LAN, only using dialup, with IPFilter for the firewall/NAT stuff. Incoming packets that are blocked by IPFilter do reset the idletime disconnect counter, so when a random host on the internet keeps on trying to connect to my system, disconnect doesn't happen for _quite_a_while_, driving up my phonebill unneccessarily. I guess the way to handle this is to put some counter on the firewall traffic, and use that to decide on disconnecting, and not use the idletime counter. Considering the fact that I am pretty new to all this BSD stuff, is there anyone who has put together something similar, or who can point me in the right direction? Thanks, Harry Kroonen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed May 30 1:54:58 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from mailout03.sul.t-online.de (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id B5F8637B43C for ; Wed, 30 May 2001 01:54:54 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from fwd02.sul.t-online.de by mailout03.sul.t-online.de with smtp id 1551kg-0006qc-03; Wed, 30 May 2001 10:54:50 +0200 Received: from peedub.muc.de (320038014727-0001@[62.155.144.20]) by fmrl02.sul.t-online.com with esmtp id 1551kX-1LqodsC; Wed, 30 May 2001 10:54:41 +0200 Received: by peedub.muc.de (8.11.3/8.11.1) id f4U8snm05541; Wed, 30 May 2001 10:54:49 +0200 (CEST) (envelope-from garyj) Content-Type: text/plain; charset="iso-8859-1" From: Gary Jennejohn Reply-To: garyj@jennejohn.org To: "ren hao" , freebsd-isdn@freebsd.org Subject: Re: Could you help me? Date: Wed, 30 May 2001 10:54:48 +0200 X-Mailer: KMail [version 1.2] References: <20010530063823.14408.qmail@mailasia.com> In-Reply-To: <20010530063823.14408.qmail@mailasia.com> MIME-Version: 1.0 Message-Id: <01053010544803.04515@peedub.muc.de> Content-Transfer-Encoding: 8bit X-Sender: 320038014727-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wednesday 30 May 2001 08:38, ren hao wrote: > dear sir: > How are you! > I am a programmer from china,I am working ISDN, I got your email addresses > from FreeBSD website,could I ask you several questions? First,How isdn4bsd > support the Layer 2 PPP encapsulation,whether does it realize them by > itself in isdn4bsd or depend on the FreeBSD main PPP? There are two dofferent ways to do PPP with isdn4bsd 1) use sppp. In this case all the PPP encapsulation is done either in if_spppsubr.c (-stable) or i4b_ispppsubr.c (-current). 2) use the userland PPP (/usr/sbin/ppp). In this case the encapsulation is handled somewhere in the ppp code. brian@Awfulhak.org would know more about that, since he maintains the code. > Second ,How isdn4bsd > do MP(MultiPoint) and bind 2 B channels? this is only supported by /usr/sbin/ppp. > Third,what¡¯s the raw B channel?when I need to use it except telephnoy > facility? AFAIK the raw channels send the data over the B-Channel without adding any HDLC headers. The ISDN chips are also set up in a different mode for this, although I can't remember off the top of my head how the setups differ. You'll have to look at the code. This is used for telephony and /usr/sbin/ppp in conjunction with isdn4bsd. I might have some of the details wrong. -- Gary Jennejohn garyj@jennejohn.org gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed May 30 2:53:36 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from leka.almamedia.fi (leka.yhteys.mtv3.fi [62.236.224.129]) by hub.freebsd.org (Postfix) with SMTP id 49F1B37B423 for ; Wed, 30 May 2001 02:53:30 -0700 (PDT) (envelope-from jml@cubical.fi) Received: (qmail 9261 invoked from network); 30 May 2001 09:53:27 -0000 Received: from dyn-h-069.yhteys.mtv3.fi (HELO snafu.intra.net) (@62.236.232.69) by leka.yhteys.mtv3.fi with SMTP; 30 May 2001 09:53:27 -0000 Received: from cubical.fi (huilu.intra.net [192.168.2.2]) by snafu.intra.net (8.11.1/8.11.1) with ESMTP id f4U9rOJ03800; Wed, 30 May 2001 12:53:25 +0300 (EEST) (envelope-from jml@cubical.fi) Message-ID: <3B14C30F.A822002D@cubical.fi> Date: Wed, 30 May 2001 12:53:19 +0300 From: Juha-Matti Liukkonen Organization: Cubical Solutions Ltd X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ren hao Cc: freebsd-isdn@freebsd.org Subject: Re: Could you help me? References: <20010530064332.14891.qmail@mailasia.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, FreeBSD's ISDN support is best used with the normal 'ppp' daemon, see manual pages ppp(8), tun(4) and /usr/share/examples/ppp for configuration samples (basically, use 'set speed sync' in /etc/ppp.conf). The ppp daemon supports multilink (use 'set mrru '). There is also a kernel ppp driver, but I personally find it lacking in functionality for general use (can use only one set of credentials -> not usable for multiuser dialins, no multilink capability). For raw telephony, use /dev/i4btel#, in isdnd.rc set "b1protocol=raw". Access to the device (read+write) should be done in (multiple of) 2048 byte blocks. You can dial out on i4btel# by writing string "Dnnnn" to the corresponding i4bteld# (the 'd' stands for 'dialer'), and hang up by writing "H". This script dials out on i4btel0 to the number given as its argument, outputs an .au file, and records the response (max 60 seconds=240 2K blocks): #!/bin/sh unit=0 # dial out echo -n > /tmp/.$unit.$1 echo -n "D$1" > /dev/i4bteld$unit # wait for call to be connected (regexpr event removes the file) maxwait=30 while [ "$maxwait" -gt "0" -a -e /tmp/.$unit.$1 ]; maxwait=`expr $maxwait - 1` sleep 1 done if [ "$maxwait" = "0" ]; then # timeout, no answer rm -f /tmp/.$unit.$1 exit 1 fi # send our message dd if=/usr/lib/isdn/message.au of=/dev/i4btel$unit bs=2k # flush the input queue & record reply, max 60 sec isdntelctl -u $unit -c dd if=/dev/i4btel$unit of=/var/tmp/reply.$1.au bs=2k count=240 # hang up to be sure the line doesn't stay up echo -n "H" > /dev/i4bteld$unit I hope this helps you to get started, - Juha ren hao wrote: > > dear sir: > How are you! > I am a programmer from china,I am working ISDN, I got your email addresses from FreeBSD website,could I ask you several questions? > First,How isdn4bsd support the Layer 2 PPP encapsulation,whether does it realize them by itself in isdn4bsd or depend on the FreeBSD main PPP? > Second ,How isdn4bsd do MP(MultiPoint) and bind 2 B channels? > Third,what¡¯s the raw B channel?when I need to use it except telephnoy facility? > At last,please forgive me for giving you so much trouble. > Thank you very much!! > Yours sincerely > > -- > > Get your free email from www.mailasia.com > > Powered by Outblaze > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isdn" in the body of the message -- Juha-Matti Liukkonen, Cubical Solutions Ltd Phone: +358(0)405280142 Email: jml@cubical.fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed May 30 3:24:15 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from arg1.demon.co.uk (arg1.demon.co.uk [194.222.34.166]) by hub.freebsd.org (Postfix) with ESMTP id 7CC2637B424 for ; Wed, 30 May 2001 03:24:12 -0700 (PDT) (envelope-from arg@arg1.demon.co.uk) Received: by arg1.demon.co.uk (Postfix, from userid 300) id E69BA9B03; Wed, 30 May 2001 11:24:10 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by arg1.demon.co.uk (Postfix) with ESMTP id DF00B5D1C; Wed, 30 May 2001 11:24:10 +0100 (BST) Date: Wed, 30 May 2001 11:24:10 +0100 (BST) From: Andrew Gordon X-X-Sender: To: Harry Kroonen Cc: Subject: Re: (newbie) Idletime disconnect In-Reply-To: <3B14BEF6.5005.29BE979@localhost> Message-ID: <20010530111759.M92263-100000@server.arg.sj.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 30 May 2001, Harry Kroonen wrote: > > I'm running (kernel) i4b on a FreeBSD gateway for my LAN, only using > dialup, with IPFilter for the firewall/NAT stuff. > > Incoming packets that are blocked by IPFilter do reset the idletime > disconnect counter, so when a random host on the internet keeps on trying > to connect to my system, disconnect doesn't happen for _quite_a_while_, > driving up my phonebill unneccessarily. > > I guess the way to handle this is to put some counter on the firewall traffic, > and use that to decide on disconnecting, and not use the idletime counter. One option is to use /usr/sbin/ppp rather than the built-in i4bisppp (or ipr, whichever you are using now). /usr/sbin/ppp has its own firewall features, and in particular has separate filters for which packets are allowed to cause a connection to be dialled, and which packets cause the connection to be kept alive (ie. reset the timeout). You can still use ipf or ipfw for your main firewall: just leave the "in" and "out" filters on ppp wide open, and set the "dial" and "alive" filters to suit your purposes. I have used this in the past to allow sensible use of ntpd with a dial-on-demand link: the ntp packets are allowed through the firewall, but blocked from the dial/alive filters, so ntpd won't keep the connection dialled up all day, but whenever I happen to be online for other purposes the ntp packets can then get through and keep the clocks up to date. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu May 31 7:52:11 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131]) by hub.freebsd.org (Postfix) with ESMTP id 9CFFF37B422 for ; Thu, 31 May 2001 07:52:06 -0700 (PDT) (envelope-from Hans-Guenter.Hemmetter@mch20.sbs.de) X-Envelope-Sender-Is: Hans-Guenter.Hemmetter@mch20.sbs.de (at relayer goliath.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.11.1/8.11.1) with ESMTP id f4VEq0420362 for ; Thu, 31 May 2001 16:52:00 +0200 (MET DST) Received: from mchp9d1a.mch.sbs.de (mchp9d1a.mch.sbs.de [139.25.137.19]) by mail2.siemens.de (8.11.0/8.11.0) with ESMTP id f4VEpxB25910 for ; Thu, 31 May 2001 16:51:59 +0200 (MET DST) Received: by mchp9d1a.mch.sbs.de with Internet Mail Service (5.5.2653.19) id ; Thu, 31 May 2001 16:52:01 +0200 Message-ID: <93AB7D1FAEF5D41197BD00D0B7E037F8287D4E@MCHP9H2A> From: Hemmetter Hans-Guenter To: freebsd-isdn@FreeBSD.ORG Subject: Date: Thu, 31 May 2001 16:52:00 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > unsubscribe freebsd-isdn > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message