Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
f7e96e07
Commit
f7e96e07
authored
Mar 17, 2009
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the format of interface configuration.
parent
d8c78034
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
3 deletions
+27
-3
babel.man
babel.man
+27
-3
No files found.
babel.man
View file @
f7e96e07
...
@@ -122,9 +122,32 @@ as a wireless hop with no packet losses. A cost of 255 or less is
...
@@ -122,9 +122,32 @@ as a wireless hop with no packet losses. A cost of 255 or less is
interpreted as a wired link.
interpreted as a wired link.
.SH CONFIG FILE FORMAT
.SH CONFIG FILE FORMAT
The configuration file is a sequence of lines each of which specifies
The configuration file is a sequence of lines each of which specifies
a filter entry. Each of these lines has the following format:
either an interface or a filtering rule. Blank lines are ignored. Comments
are introduced with an octothorp
.RB `` # ''
and terminated by the end of line.
.SS Interface configuration
An interface is configured by a single line with the following format:
.IP
.IP
.I filter selector... action
.B interface
.I name
.RI [ parameter ...]
.PP
.I Name
is the name of the interface (something like
.BR eth0 ).
Each
.I parameter
specifies a parameter of the given interface. It can be one of:
.IP
.I (none defined yet)
.SS Filtering rules
A filtering rule is defined by a single line with the following format:
.IP
.I filter
.IR selector ...
.I action
.PP
.PP
.I Filter
.I Filter
specifies the filter to which this entry will be added, and can be one of
specifies the filter to which this entry will be added, and can be one of
...
@@ -133,7 +156,8 @@ specifies the filter to which this entry will be added, and can be one of
...
@@ -133,7 +156,8 @@ specifies the filter to which this entry will be added, and can be one of
or
or
.BR redistribute .
.BR redistribute .
.I Selector
Each
.I selector
specifies the conditions under which the given statement matches. It
specifies the conditions under which the given statement matches. It
can be one of
can be one of
.TP
.TP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment