All of lore.kernel.org
 help / color / mirror / Atom feed
From: Evgeni Gechev <etg@setcom.bg>
To: lartc@vger.kernel.org
Subject: [LARTC] arptables in kernel 2.4
Date: Tue, 22 Jul 2003 21:52:11 +0000	[thread overview]
Message-ID: <marc-lartc-105891196807556@msgid-missing> (raw)

Is it not fully implemented, or I'm wrong somewhere?
I'm trying to make a filter based on the MAC address, but have no success.
Using iptables with the mac extension works, but only for the IP. But I want 
to filter other protocols (0x8863 and 0x8864 - PPPOE). So I can't use 
iptables.
I tried arptables - no errors when creating chains (kernel 2.4.21), but there 
are only some occasional matches, and honestly said, I'm not sure till now 
when they occur (which packets are matched). Next week I'll try kernel 2.5.75 
(2.6.0-test1 is too buggy:)), but have no time now, since it could be done 
only on a different PC. Can somebody clear the situation?

~# arptables -A INPUT --source-mac XX:XX:XX:XX:XX:XX -j DROP
~# arptables -L -nvx
Chain INPUT (policy ACCEPT 57158 packets, 1600K bytes)
-j DROP -i * -o * --src-mac XX:XX:XX:XX:XX:XX , pcntD -- bcnt\x1232

Chain OUTPUT (policy ACCEPT 27359 packets, 766K bytes)

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

                 reply	other threads:[~2003-07-22 21:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=marc-lartc-105891196807556@msgid-missing \
    --to=etg@setcom.bg \
    --cc=lartc@vger.kernel.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.