From owner-freebsd-ipfw@FreeBSD.ORG Wed Jul 16 20:39:35 2008 Return-Path: Delivered-To: freebsd-ipfw@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D30DE1065691 for ; Wed, 16 Jul 2008 20:39:35 +0000 (UTC) (envelope-from mragusa@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.freebsd.org (Postfix) with ESMTP id 8C4978FC2E for ; Wed, 16 Jul 2008 20:39:35 +0000 (UTC) (envelope-from mragusa@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so2320756wra.27 for ; Wed, 16 Jul 2008 13:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=ub5plWE36yS1oFLX0Tcm4t3nLqXTFClv/3wNkVrv+Xg=; b=o4muS3J++EnaK6sAC/IMRYyc/Diw0ymOdQZ2rV9HRUd7F3RgEUMlg7tyueJVXw+gXn bFL5qG9XjoOYMlNUc63bKkatuc+Ka1q49d10/NmYz2Vihc/xeoZ8tPkGD4FWVaUel6np u5OxG0Uqwe7OJHrJagU2IwXYMPJonIsd+tTZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=sCFoTRkmIg6dojuU9fpTD/kCoXp6lLnP07t7PPfvE/P+WLR/Qplc2bHcS4G5uCSDo7 Qfya0l4sbq1BhjctlO00VyL3Gf3p4wxbHDLseTHWz3WzBkm9qX8mh5z1BAdIerp9C+Zy MfRkc3G+fgmwNdrGCuUmHdy+mzv4pB2gaLuPg= Received: by 10.90.91.9 with SMTP id o9mr2082229agb.95.1216239229174; Wed, 16 Jul 2008 13:13:49 -0700 (PDT) Received: by 10.90.98.15 with HTTP; Wed, 16 Jul 2008 13:13:49 -0700 (PDT) Message-ID: <523561090807161313l17d01288g29b4c7545d10d0d0@mail.gmail.com> Date: Wed, 16 Jul 2008 16:13:49 -0400 From: "Mike Ragusa" To: freebsd-ipfw@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: ipfw and dynamic rulesets X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2008 20:39:35 -0000 I am using fwknop 1.9.5 and freebsd 7-stable with ipfw compiled into the kernel. I am currently unable to get ipfw to update the dynamic rulesets after i knock on the firewall and open up the ssh port. My ruleset is as follows ipfw add 010 allow from any to any via lo0 ipfw add 200 check-state ipfw add 203 allow all from any to any out keep-state setup 00010 allow ip from any to any via lo0 00200 check-state 00203 allow ip from any to any out setup keep-state 65535 deny ip from any to any fwknop uses rule 201 to add to the firewall and adds the rule 00201 allow tcp from 156.132.40.212 to any dst-port 22 keep-state when i run ipfw list or ipfw show, i see my ruleset but i do not see the dynamic rules which causes the connection to die once the fwknopd reaches its 30 second time out because nothing has been added to the state table/dynamic ruleset. Suggestions are welcome :) Thank You, Mike