Date: Sun, 7 Nov 2004 10:00:19 GMT From: Mark Rowlands <mark.rowlands@mypost.se> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/73638: Clarify syntax for use of tables with ipfw Message-ID: <200411071000.iA7A0J1U039954@www.freebsd.org> Resent-Message-ID: <200411071010.iA7AARWt025421@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 73638 >Category: docs >Synopsis: Clarify syntax for use of tables with ipfw >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 07 10:10:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Mark Rowlands >Release: 4-10 >Organization: Qbranch AB >Environment: FreeBSD pcmarpxy.mine.nu 4.10-STABLE FreeBSD 4.10-STABLE #1: Wed Oct 6 21:27:47 CEST 2004 root@pcmarpxy.mine.nu:/usr/obj/web1/src/sys/MARK i386 >Description: man 8 ipfw describes syntax for table use in ipfw like this:- addr: [not] {any | me | table(number[,value]) | addr-list | addr-set} .. table(number[,value]) Running under bash / sh / csh ipfw add 2 deny ip from table(1) to me in via xl1 generates a syntax error. the table(x,y) entry seems to require quotes under most shells. I feel the man page should indicate this >How-To-Repeat: sh# ipfw add 201 deny ip from any to table(2) in via xl1 Syntax error: "(" unexpected csh# ipfw add 201 deny ip from any to table(2) in via xl1 Badly placed ()'s. bash# ipfw add 201 deny ip from any to table(2) in via xl1 Syntax error: "(" unexpected >Fix: Add warning to man page that "table(x,y)" may well be required dependant on particular shell... >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411071000.iA7A0J1U039954>