From owner-freebsd-current Wed May 7 06:55:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA23501 for current-outgoing; Wed, 7 May 1997 06:55:42 -0700 (PDT) Received: from bagpuss.visint.co.uk (bagpuss.vis.net.uk [194.207.134.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA23453; Wed, 7 May 1997 06:55:30 -0700 (PDT) Received: from bagpuss.visint.co.uk (bagpuss.vis.net.uk [194.207.134.1]) by bagpuss.visint.co.uk (8.7.5/8.7.3) with SMTP id PAA07449; Wed, 7 May 1997 15:07:06 +0100 (BST) Date: Wed, 7 May 1997 15:07:06 +0100 (BST) From: Stephen Roome To: freebsd-current@freebsd.org, freebsd-isp@freebsd.org Subject: tun0 problem in 3.0-970209-SNAP Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Not sure if this is a problem and whether is persists in newer versions. Anyway, it's fairly simple: here's a snip from ifconfig tun0: flags=8051 mtu 1524 inet 194.222.196.174 --> 158.152.1.222 netmask 0xffffff00 Now, I can ping the other end of this line at the moment. (I'm running ppp -alias -auto ) So, I type ifconfig tun0 down, and I can _STILL_ ping the other end of the line ? really that doesn't make a lot of sense to me. Either I'm missing something or this is really odd. Secondly, this machine does name lookups even on local emails, I haven't got the faintest idea where to try and stop this, as I don't want to have to hack sendmail.cf The best hack option so far seems to be to set a dfilter for ppp so that it won't dial out unless a machine other than the one with the modem is trying to initialise the connection. I thought I needed these lines in my config file.. set dfilter 0 deny 194.222.196.174 set dfilter 2000 permit 0/0 0/0 For some reason this doesn't work, I'm not sure why. This ia basically for an intranet router, which can handle internal and external mail, but I don't want the connection coming up because person A sends person B mail internally on the machine.... using PoP though, but that shouldn't make much difference, even typing this sets of my modem : root@visnet01# mail root Subject: hello test . EOT <---- modem makes connection now ----> root@visnet01# I don't want to have to run a DNS here to set this machine as it's mail exchanger, and this machine shouldn't need a mail exchanger for local stuff anyway. I just don't get it anymore =( -- Steve Roome Technical Systems Manager, Vision Interactive Ltd. E: steve@visint.co.uk M: +44 (0) 976 241 342 T: +44 (0) 117 973 0597 F: +44 (0) 117 923 8522