From owner-freebsd-questions@FreeBSD.ORG Wed Jun 29 18:22:37 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5A4B16A41C for ; Wed, 29 Jun 2005 18:22:37 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04CAF43D1F for ; Wed, 29 Jun 2005 18:22:36 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.51 #0 (FreeBSD 4.11-STABLE)) id 1DnhCh-000OVi-Ub by authid for ; Wed, 29 Jun 2005 21:22:31 +0300 Date: Wed, 29 Jun 2005 21:22:31 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20050629182231.GD53518@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.9i (2005-03-13) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.9i Subject: Device access - /dev/ipnat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 18:22:37 -0000 Hello FreeBSD lovers, In the current FreeBSD ports, squid-2.5STABLE10 has a patch that allows it to run without dying even though it does not have access to /dev/ipnat. This access is important where squid is running in a transparent proxy setup. I am running several FreeBSD 5.x boxes with squid in transparent proxy mode, so this problem is a big one for me. The patch seems to be a workaround, but I'd really like to give squid access to this device anyway. My thinking was that I can solve the problem of access to /dev/ipnat using /etc/devfs.conf. However, my reading of the comments in this file does not give me any clear method of achieving what I want. Am I right in my thinking that /dev/ipnat device is created on the fly in FreeBSD 5.x? As such I cannot change the permissions on it, yes? How do I solve my problem, if anyone can advise me? It will server as my first lesson with devices in 5.x. Thanks in advance. -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ When we are planning for posterity, we ought to remember that virtue is not hereditary. -- Thomas Paine