lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <m3txnhmrdm.fsf@intrepid.localdomain>
Date:	Mon, 08 Apr 2013 09:08:21 +0200
From:	Krzysztof Halasa <khc@...waw.pl>
To:	<netdev@...r.kernel.org>
Subject: Ignoring destination MAC address in incoming packets

Hi,

I have a bit unusual problem today. Is there a way to ignore destination
MAC address in incoming packets?

I need to do this on Atheros Wi-Fi. Basically what I need to achieve is
a sniffer.

Something like this:
- ATH5k working in ad-hoc mode, certain ESSID and channel selected.
- UDP packets in certain range are to be forwarded to other IPs.
- the wifi interface must be able to normally communicate (within its
  ESSID and channel).
- it has to work with iptables etc. (DNAT, routing).

I know I can change a line in the kernel (the one setting pkt_type to
OTHER_HOST) but perhaps there is some standard way for things like this?

Or should I use AF_PACKET and forward the data with userspace helper?

Any other idea?

TIA.
-- 
Krzysztof Halasa
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ