From owner-freebsd-ipfw@FreeBSD.ORG Fri Jul 25 20:47:55 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1AFF37B401 for ; Fri, 25 Jul 2003 20:47:54 -0700 (PDT) Received: from laptop.tenebras.com (laptop.tenebras.com [66.92.188.18]) by mx1.FreeBSD.org (Postfix) with SMTP id 5341C43FA3 for ; Fri, 25 Jul 2003 20:47:52 -0700 (PDT) (envelope-from kudzu@tenebras.com) Received: (qmail 34400 invoked from network); 26 Jul 2003 03:47:48 -0000 Received: from sapphire.tenebras.com (HELO tenebras.com) (192.168.188.241) by 0 with SMTP; 26 Jul 2003 03:47:48 -0000 Message-ID: <3F21F9E4.9060408@tenebras.com> Date: Fri, 25 Jul 2003 20:47:48 -0700 From: Michael Sierchio User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, zh-tw, zh-cn, fr, en, de-de MIME-Version: 1.0 To: Darren References: <13347545536.20030726003910@dazdaz.org> In-Reply-To: <13347545536.20030726003910@dazdaz.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ipfw@freebsd.org Subject: Re: no keep-state and and unpredictable ssh connections X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2003 03:47:55 -0000 Darren wrote: > Hello freebsd-ipfw, > > I'm not using keep-state and yet ssh'ing into my FreeBSD 4.8-STABLE > box does'nt happen every attempt, more like 1 attempt in every 15! > Incoming ssh connection work fine when firewall is disabled. > > My ips obviously changed. This is my rc.firewall script. > > Greatly appreciate some guidance, i've read some docs, but am missing > something. Is this a firewall-router, or are you trying to protect the box itself? (In other words, is $myip an address on this box?) The ruleset could use some refactoring -- that's the polite word -- but the direction depends on the answer to my question above. > #!/bin/sh > > fwcmd="/sbin/ipfw" > myip="11.11.203.114" Uh, Darren, some burly guys with shaved heads and no necks are going to be knocking on your door any minute now if you use that address. They were humorless before 9/11, think of how much fun they are now.