diff options
author | luigi <luigi@FreeBSD.org> | 2002-08-19 04:52:15 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2002-08-19 04:52:15 +0000 |
commit | 7a01faeb986e02cda904c1b3b06dd18b9a262bb4 (patch) | |
tree | e23b24de7b84c2126b36b8a067714ae5045329ca /sbin/gpt | |
parent | 62cbc8d62166854d8b5f67f46c338dd60c55fca5 (diff) | |
download | FreeBSD-src-7a01faeb986e02cda904c1b3b06dd18b9a262bb4.zip FreeBSD-src-7a01faeb986e02cda904c1b3b06dd18b9a262bb4.tar.gz |
Major cleanup of the parser and printing routines in an attempt to
render the syntax less ambiguous.
Now rules can be in one of these two forms
<action> <protocol> from <src> to <dst> [options]
<action> MAC dst-mac src-mac mac-type [options]
however you can now specify MAC and IP header fields as options e.g.
ipfw add allow all from any to any mac-type arp
ipfw add allow all from any to any { dst-ip me or src-ip me }
which makes complex expressions a lot easier to write and parse.
The "all from any to any" part is there just for backward compatibility.
Manpage updated accordingly.
Diffstat (limited to 'sbin/gpt')
0 files changed, 0 insertions, 0 deletions