From: Ozgur AKAN <akan@aiqa.com>
To: netfilter-devel@lists.netfilter.org
Subject: Re: mask for interface
Date: Fri, 26 Mar 2004 16:40:51 +0200 [thread overview]
Message-ID: <406440F3.8010203@aiqa.com> (raw)
In-Reply-To: <40629EB1.4080005@aiqa.com>
[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]
Hi,
In the manual of iptables there is nothing about the mask value of an
interface. + sign at the end of a few characters of an interface means
any interface which begins with this name will match.
Again what I wonder is the why iniface_mask value is used???
thanks,
Ozgur AKAN
---------------------------------------------------------------------
*-i, --in-interface *[!] [/name/]
Optional name of an interface via which a packet is received (for
packets entering the *INPUT*, *FORWARD* and *PREROUTING* chains).
When the "!" argument is used before the interface name, the sense
is inverted. If the interface name ends in a "+", then any interface
which begins with this name will match. If this option is omitted,
the string "+" is assumed, which will match with any interface name.
*-o, --out-interface *[!] [/name/]
Optional name of an interface via which a packet is going to be sent
(for packets entering the *FORWARD*, *OUTPUT* and *POSTROUTING*
chains). When the "!" argument is used before the interface name,
the sense is inverted. If the interface name ends in a "+", then any
interface which begins with this name will match. If this option is
omitted, the string "+" is assumed, which will match with any
interface name.
------------------------------------------------------------------------
[-- Attachment #2: Type: text/html, Size: 1714 bytes --]
next prev parent reply other threads:[~2004-03-26 14:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 8:56 mask for interface Ozgur AKAN
2004-03-25 11:46 ` Henrik Nordstrom
2004-03-25 12:09 ` Ozgur AKAN
2004-03-26 14:40 ` Ozgur AKAN [this message]
2004-03-27 0:56 ` Henrik Nordstrom
2004-03-30 8:32 ` Ozgur AKAN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=406440F3.8010203@aiqa.com \
--to=akan@aiqa.com \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.