| Summary: | ipfw(8): Clarify syntax for use of tables with ipfw | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Mark Rowlands <mark.rowlands> |
| Component: | Books & Articles | Assignee: | Tom Rhodes <trhodes> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
trhodes 2006-10-09 22:12:09 UTC
FreeBSD src repository
Modified files:
sbin/ipfw ipfw.8
Log:
Add a note about rule syntax compared to the shell used so users do not get
frustraited when:
ipfw add 201 deny ip from any to table(2) in via xl1
returns "Badly placed ( )'s"
PR: 73638
Revision Changes Path
1.197 +4 -0 src/sbin/ipfw/ipfw.8
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->patched I added a note to the end of the manual page, under WARNINGS; however, I'm not sure how I feel about each manual page having this type of note. Responsible Changed From-To: freebsd-doc->trhodes Over to me. State Changed From-To: patched->closed Changes merged into RELENG_6, thanks! trhodes 2006-11-03 09:00:19 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sbin/ipfw ipfw.8
Log:
Paritially sync with CURRENT, kills hard sentence breaks, fixes some markup.
MFC: 1.197
Add a note about rule syntax compared to the shell used so users do not get
frustraited when:
ipfw add 201 deny ip from any to table(2) in via xl1
returns "Badly placed ( )'s"
PR: 73638
Approved by: re (hrs)
Revision Changes Path
1.175.2.10 +9 -3 src/sbin/ipfw/ipfw.8
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
|
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 Fix: Add warning to man page that "table(x,y)" may well be required dependant on particular shell... 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