Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 1999 12:33:35 +0000 (GMT)
From:      Andrew Gordon <arg@arg1.demon.co.uk>
To:        Peter Spekreijse <peter@echelon.nl>
Cc:        freebsd-isdn@freebsd.org
Subject:   Re: feauture request
Message-ID:  <Pine.BSF.4.21.9912311227580.11130-100000@server.arg.sj.co.uk>
In-Reply-To: <m123yaA-000PqxC@Charlie.Echelon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9912311227580.11130-100000>