From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: Logging MAC
Date: Sat, 22 May 2004 17:17:20 +0100 [thread overview]
Message-ID: <200405221717.20889.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <200405221157.32312.Alistair@nerdnet.ca>
On Saturday 22 May 2004 4:57 pm, Alistair Tonner wrote:
> On May 22, 2004 08:33 am, Antony Stone wrote:
> >
> > I guess (without having looked at the source) that it should be a simple
> > enough hack to get ipt_LOG.c to log MAC addresses for all chains.
>
> should be ridiculously simple -- the limiter is a wrapping if statement
>
> if ( in && !out) {
>
> (logging of MAC code)
> }
>
> I suspect that the clever hacker will want to re-wrap that if statement
> such that it only logs it if there IS a MAC address present. Not being a
> maven with such, I'm NOT gonna make any suggestions as to how.
I would guess that such a check is already present (still not having bothered
to look at the source code), because as you said yourself earlier in this
thread:
> > I note that iptables doesn't log mac addresses it cannot see (i.e. not
> > directly connected)
And this is true even for the INPUT chain (eg: when you are using a ppp
interface), so presumably the check for "only show MAC if one exists" is
already coded.
Regards,
Antony.
--
"Note: Windows 98, Windows 98SE and Windows 95 are not affected by [MS
Blaster]. However, these products are no longer supported. Users of these
products are strongly encouraged to upgrade to later versions."
(which *are* affected by MS Blaster...)
http://www.microsoft.com/security/security_bulletins/ms03-026.asp
Please reply to the list;
please don't CC me.
prev parent reply other threads:[~2004-05-22 16:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-21 13:39 Logging MAC Marcelus Trojahn
2004-05-21 13:53 ` Antony Stone
2004-05-21 14:17 ` Re[2]: " Marcelus Trojahn
2004-05-21 14:34 ` Antony Stone
2004-05-21 15:07 ` Re[4]: " Marcelus Trojahn
2004-05-21 15:25 ` Antony Stone
2004-05-22 1:47 ` Alistair Tonner
2004-05-22 9:06 ` Antony Stone
2004-05-22 12:09 ` Alistair Tonner
2004-05-22 12:33 ` Antony Stone
2004-05-22 15:57 ` Alistair Tonner
2004-05-22 16:17 ` Antony Stone [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=200405221717.20889.Antony@Soft-Solutions.co.uk \
--to=antony@soft-solutions.co.uk \
--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