From owner-freebsd-questions Mon Jan 1 17:46:36 2001 From owner-freebsd-questions@FreeBSD.ORG Mon Jan 1 17:46:34 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from relay3.inwind.it (relay3.inwind.it [212.141.53.74]) by hub.freebsd.org (Postfix) with ESMTP id B2CC737B400 for ; Mon, 1 Jan 2001 17:46:33 -0800 (PST) Received: from bartequi.ottodomain.org (62.98.170.150) by relay3.inwind.it (5.1.056) id 3A40BF86002130D1; Tue, 2 Jan 2001 02:46:00 +0100 From: Salvo Bartolotta Date: Tue, 02 Jan 2001 01:48:00 GMT Message-ID: <20010102.1480000@bartequi.ottodomain.org> Subject: Re: Writing firewall rules To: "Tommy Forrest - KE4PYM" Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <200101012133.PAA09574@mailbox.mcs.net> References: <200101012133.PAA09574@mailbox.mcs.net> X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 1/1/01, 10:36:08 PM, "Tommy Forrest - KE4PYM" wrote regarding Writing firewall rules: > Hi folks. > I'm a little confused about writing firewall rules. Many of my rules > are as follows > ipfw add 1001 deny tcp from any to any 161 > So I tried to do a little writing of my own. Specfically, I want to > deny outside access (xl0) to port 901. So I tried: > ipfw add 1099 deny tcp from xl0 to xl0 901 > And it failed. Just got a screen full of ipfw fussing at my that I'd > done the wront thing (tm). You may wish to have a look at ipfw(8), as well as browsing... the man pages and the freebsd site (there is some material around), the archives (-question, -security). > Also, why would the OS (4.0) report that a user has mail when, in > real life, they start pine and find they have no mail? For example, > as root, I get my daily output logs in my mail box. But when I > delete them, log out and log back in I'm told I have mail, start pine > and there is no mail. You may wish to have a look at /var/mail/ ... Best regards, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message