From owner-freebsd-questions@FreeBSD.ORG Tue Oct 3 05:08:11 2006 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 5222016A403 for ; Tue, 3 Oct 2006 05:08:11 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8A1543D45 for ; Tue, 3 Oct 2006 05:08:10 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 17582 invoked from network); 3 Oct 2006 15:08:10 +1000 Received: from andromeda.lef.com.au (HELO localhost) (210.8.93.2) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Oct 2006 15:08:10 +1000 Date: Tue, 3 Oct 2006 15:08:07 +1000 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20061003150807.21598eeb@localhost> In-Reply-To: <10e099e37d6.vdemart1@tin.it> References: <10e099e37d6.vdemart1@tin.it> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.8.20; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Vittorio Subject: Re: ipfw & cups 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: Tue, 03 Oct 2006 05:08:11 -0000 On Mon, 2 Oct 2006 16:22:13 +0100 (GMT+01:00) Vittorio wrote: > To my ipfw firewall I have added, according to what I found in the > internet, the following rule to allow the use of cupsd on the same box: > > 00520 allow ip from any to any dst-port 631 in > > to no avail because it > is not even checked as you can see below from the log (obtained from > kde kcontrol center trying (and failing) to display the connected cups' > printers): > > Am I missing something? > What should I do? > Ciao > Vittorio > ...................................... > NbBSD# ipfw -td list > 00500 check-state > 00501 Mon Oct 2 17:10:13 > 2006 deny tcp from any to any established > 00502 > deny ip from any to any frag > 00503 Mon Oct 2 17:10:13 2006 allow ip > from any to any via lo0 > 00514 deny ip from any > to any not verrevpath in > 00520 allow ip from > any to any dst-port 631 in > 00525 deny ip from > any to 127.0.0.0/8 > ....................................................................... > ....................................................................... > 00609 allow tcp from 10.155.102.6 1491 to any > 00610 allow tcp from me to any dst-port 53 out > via fxp0 keep-state > 00612 allow udp from me to > any dst-port 53 out via fxp0 keep-state > 00700 > allow icmp from 10.155.0.0/16 to any via fxp0 > 65535 Mon Oct 2 17:10:13 > 2006 deny ip from any to any can you please send your rules again , making sure there is no dates inserted all over the place? thx _________________________ {Beto|Norberto|Numard} Meijome "Throughout the centuries there were [people] who took first steps down new paths armed only with their own vision." Ayn Rand I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.