All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Laurino <nfcan.x.jimlaur@dfgh.net>
To: netfilter@lists.netfilter.org
Subject: Re: iptables/mac address filtering question (nfcan: to exclusive)
Date: Sat, 11 Aug 2007 14:55:51 -0400	[thread overview]
Message-ID: <1186858551l.31324l.0l@soapy> (raw)
In-Reply-To: <1b5f39a10708111046w55a4b00axb39c018a0ab54fb9@mail.gmail.com> (from +nfcan+jimlaur+0d697027d9.jsprenkle#gmail.com@spamgourmet.com on Sat Aug 11 13:46:51 2007)

On 08/11/2007 01:46:51 PM, Jay Sprenkle - jsprenkle@gmail.com wrote:

....
> I've put in a rule in my iptables chain but notice when I try to
> connect it's rejected. The mac address I'm getting is not the same as
> what iwconfig reports on my device. If a packet is passed through
> routers on it's way to my box do they change the mac address of the
> packet?

Yes, the MAC address is lost when a packet leaves an ethernet segment.
Recall that a MAC address is how devices sharing an ethernet address each other.
Routers operate on IP addresses and do not use or preserve ethernet addresses.
Maybe bridging, if you could do that, would preserve the MAC address.

Regards,

-- 
Jim Laurino
nfcan.x.jimlaur@dfgh.net
Please reply to the list.
Only mail from the listserver reaches this address.



      parent reply	other threads:[~2007-08-11 18:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-11 17:46 iptables/mac address filtering question Jay Sprenkle
2007-08-11 18:41 ` Канивец Николай
2007-08-11 18:55 ` Jim Laurino [this message]

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=1186858551l.31324l.0l@soapy \
    --to=nfcan.x.jimlaur@dfgh.net \
    --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 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.