From owner-freebsd-isdn Fri Dec 31 4:34: 8 1999 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 C72DD1556B for ; Fri, 31 Dec 1999 04:34:04 -0800 (PST) (envelope-from arg@arg1.demon.co.uk) Received: from localhost (arg@localhost) by arg1.demon.co.uk (8.8.8/8.8.8) with ESMTP id MAA11141; Fri, 31 Dec 1999 12:33:36 GMT (envelope-from arg@arg1.demon.co.uk) Date: Fri, 31 Dec 1999 12:33:35 +0000 (GMT) From: Andrew Gordon X-Sender: arg@server.arg.sj.co.uk To: Peter Spekreijse Cc: freebsd-isdn@freebsd.org Subject: Re: feauture request In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 31 Dec 1999, Peter Spekreijse wrote: > > Is it possible to let i4b dial for a certain type of traffic and discard > other traffic? Something like a dialer-list on a cisco router. > > I'm running ntp at home and like to sync my clock with the one at work. > I don't want my system to dial for this kind of traffic. ntp can sync > when the line is open for "interesting" traffic. I believe that the only way to do what you want is to use /usr/sbin/ppp and the rbch interface to i4b, rather than the built-in isp0: interface. With /usr/sbin/ppp you have separate packet filters for controlling the dial and keep-alive behaviour, distinct from the packet filters that stop the traffic getting out. With /usr/sbin/ppp, you can use something like: set filter dial 0 deny udp dst eq ntp set filter alive 0 deny udp dst eq ntp to do what you want. I don't understand Hellmuth's comment that you can do this with ipfw/ipfilter: even if you adjust your filters when the link is opened/closed, you still have the problem that an ntp transaction will reset the link idle timer and so keep the link open for longer than it should be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message