From owner-freebsd-questions@FreeBSD.ORG Tue Aug 23 08:10:36 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 034BF16A41F; Tue, 23 Aug 2005 08:10:36 +0000 (GMT) (envelope-from vladone@spaingsm.com) Received: from mail.spaingsm.com (llwb135.servidoresdns.net [217.76.137.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98AD543D49; Tue, 23 Aug 2005 08:10:35 +0000 (GMT) (envelope-from vladone@spaingsm.com) Received: from SERVEREL (unknown [85.120.13.175]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.spaingsm.com (Postfix) with ESMTP id 4584024C775; Tue, 23 Aug 2005 09:55:58 +0200 (CEST) Date: Tue, 23 Aug 2005 11:10:33 +0300 From: vladone X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <163971811.20050823111033@spaingsm.com> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-ipfw@freebsd.org Subject: error when use table option with ipfw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vladone List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 08:10:36 -0000 Hi! I try to use table option but not work. First, i use Freebsd 5.4 release. In short i have: cmd="ipfw -q" $cmd table 1 add 192.168.0.0/24 $cmd table 1 add 192.168.2.0/24 $cmd table 1 add 192.168.3.0/24 $cmd table 1 add 192.168.4.0/24 $cmd add 700 count ip from table(1) to any via $lif When i run the script i receive an error about syntax error "ipfw.sh: 78: Syntax error: "(" unexpected". I dont understand where is error? Need some compiler options to work with this option? If i give: #ipfw table 1 list i have list of entries in this table without any error.