ipaddr match (from "Writing your own Netfilter module" PDF)

This commit is contained in:
Jan Engelhardt
2009-03-25 21:53:11 +01:00
committed by Jan Engelhardt
parent 48ebf55444
commit 867a920fd7
7 changed files with 424 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
.TP
[\fB!\fP] \fB--ipsrc\fP \fIaddr\fP
Match packets that have \fIaddr\fP as source address.
.TP
[\fB!\fP] \fB--ipdst\fP \fIaddr\fP
Match packets that have \fIaddr\fP as destination address.
.PP
The ipaddr module serves only as a demonstration. It is equivalent to the
iptables \fB-s\fP and \fB-d\fP options, but ipaddr does not support masks.