Changeset View
Changeset View
Standalone View
Standalone View
sbin/ipfw/main.c
Show All 39 Lines | |||||
"ipfw syntax summary (but please do read the ipfw(8) manpage):\n\n" | "ipfw syntax summary (but please do read the ipfw(8) manpage):\n\n" | ||||
"\tipfw [-abcdefhnNqStTv] <command>\n\n" | "\tipfw [-abcdefhnNqStTv] <command>\n\n" | ||||
"where <command> is one of the following:\n\n" | "where <command> is one of the following:\n\n" | ||||
"add [num] [set N] [prob x] RULE-BODY\n" | "add [num] [set N] [prob x] RULE-BODY\n" | ||||
"{pipe|queue} N config PIPE-BODY\n" | "{pipe|queue} N config PIPE-BODY\n" | ||||
"[pipe|queue] {zero|delete|show} [N{,N}]\n" | "[pipe|queue] {zero|delete|show} [N{,N}]\n" | ||||
"nat N config {ip IPADDR|if IFNAME|log|deny_in|same_ports|unreg_only|unreg_cgn|\n" | "nat N config {ip IPADDR|if IFNAME|log|deny_in|same_ports|unreg_only|unreg_cgn|\n" | ||||
" reset|reverse|proxy_only|redirect_addr linkspec|\n" | " reset|reverse|proxy_only|redirect_addr linkspec|\n" | ||||
" redirect_port linkspec|redirect_proto linkspec}\n" | " redirect_port linkspec|redirect_proto linkspec|\n" | ||||
" port_range lower-upper}\n" | |||||
"set [disable N... enable N...] | move [rule] X to Y | swap X Y | show\n" | "set [disable N... enable N...] | move [rule] X to Y | swap X Y | show\n" | ||||
"set N {show|list|zero|resetlog|delete} [N{,N}] | flush\n" | "set N {show|list|zero|resetlog|delete} [N{,N}] | flush\n" | ||||
"table N {add ip[/bits] [value] | delete ip[/bits] | flush | list}\n" | "table N {add ip[/bits] [value] | delete ip[/bits] | flush | list}\n" | ||||
"table all {flush | list}\n" | "table all {flush | list}\n" | ||||
"\n" | "\n" | ||||
"RULE-BODY: check-state [PARAMS] | ACTION [PARAMS] ADDR [OPTION_LIST]\n" | "RULE-BODY: check-state [PARAMS] | ACTION [PARAMS] ADDR [OPTION_LIST]\n" | ||||
"ACTION: check-state | allow | count | deny | unreach{,6} CODE |\n" | "ACTION: check-state | allow | count | deny | unreach{,6} CODE |\n" | ||||
" skipto N | {divert|tee} PORT | forward ADDR |\n" | " skipto N | {divert|tee} PORT | forward ADDR |\n" | ||||
▲ Show 20 Lines • Show All 584 Lines • Show Last 20 Lines |