Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Gavin" <gavin@raha.com>
To: netfilter@lists.netfilter.org
Subject: iptables, voip, mac match
Date: Fri, 11 Oct 2002 11:04:56 +0300	[thread overview]
Message-ID: <065501c270fc$e3f10c10$583a29c4@ghome> (raw)

hello,

just reporting a funny one:

One of our clients was trying to use a VOIP application through a linux
gateway (iptables-1.2.3). The client had a MAC address of a:b:c:d:e:f and an
IP address of 1.2.3.4

When I used this rule on the gateway (FORWARD policy DROP):
iptables -A INPUT -i eth1 -m mac --mac a:b:c:d:e:f -j ACCEPT
     -     the client could not establish an audio channel to his VOIP
server

But when I used this line:
iptables -A INPUT -i eth1 -s 1.2.3.4 -j ACCEPT
    -    he could make calls fine.

Just in case anyone runs over this in future.  It was unexpected, to say the
least.  As far as I understand it, both lines should have worked.

Gavin




             reply	other threads:[~2002-10-11  8:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11  8:04 Gavin [this message]
2002-10-11  9:49 ` iptables, voip, mac match Robert P. J. Day
2002-10-11 10:06   ` Gavin
2002-10-11 10:27     ` Robert P. J. Day

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='065501c270fc$e3f10c10$583a29c4@ghome' \
    --to=gavin@raha.com \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox