Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "otik@e-posta.sk" <otik@e-posta.sk>
To: netfilter@vger.kernel.org
Subject: ebtables fix changing source MAC
Date: Sat, 04 Apr 2015 09:26:44 +0200	[thread overview]
Message-ID: <551F9234.2040308@e-posta.sk> (raw)

Hi all,

I need to connect LINUX to ethernet device. Everything would work except 
that device after SYN packet starts to send packet with 
changing/random/mascilious MAC. It seems linux would drop such(mac and 
IP not match records) packet. This is expected to reduce 
Inject/Man-On-Side attack.

Device computer is too expensive to be replaced. Also original box can 
comunicate with it with no problem making change with no point. Original 
solution runs on Windows which seems to be more permissive on this 
issue. I can confirm this. I ran simple SW to resend stream on Windows 
and all communications was ok. However i can not use this solution in 
production.

The things are even more complicated as my Linux box is located 12 hour 
fly and another 4 driving, with no internet access. I got last shot to 
try it, so I'm waiting even your brain storm ideas.

My basic idea was to have ebtables SNAT rule, but I need it to run 
before routing decision to work. As I understand SNAT works on 
postrouting - too late. Im running bridge on my box to remove need have 
external switch.

Oto


             reply	other threads:[~2015-04-04  7:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-04  7:26 otik [this message]
2015-04-04 13:38 ` ebtables fix changing source MAC Noel Kuntze
2015-04-05 16:47   ` otik

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=551F9234.2040308@e-posta.sk \
    --to=otik@e-posta.sk \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox