aboutsummaryrefslogtreecommitdiffstats
path: root/src/l2_packet/l2_packet_freebsd.c
Commit message (Collapse)AuthorAgeFilesLines
* l2_packet: Allow initialization without RX handlingJouni Malinen2020-04-191-1/+1
| | | | | | | This can be used to minimize resource use when receive path is not needed. Signed-off-by: Jouni Malinen <j@w1.fi>
* Work around Linux packet socket regressionJouni Malinen2015-01-311-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Linux kernel commit 576eb62598f10c8c7fd75703fe89010cdcfff596 ('bridge: respect RFC2863 operational state') from 2012 introduced a regression for using wpa_supplicant with EAPOL frames and a station interface in a bridge. Since it does not look like this regression is going to get fixed any time soon (it is already two years from that commit and over 1.5 from a discussion pointing out the regression), add a workaround in wpa_supplicant to avoid this issue. The wpa_supplicant workaround uses a secondary packet socket to capture all frames (ETH_P_ALL) from the netdev that is in a bridge. This is needed to avoid the kernel regression. However, this comes at the price of more CPU load. Some of this is avoided with use of Linux socket filter, but still, this is less efficient than a packet socket bound to the specific EAPOL ethertype. The workaround gets disabled automatically, if the main packet socket interface on the bridge interface turns out to be working for RX (e.g., due to an old kernel version being used or a new kernel version having a fix for the regression). In addition, this workaround is only taken into use for the special case of running wpa_supplicant with an interface in a bridge. Signed-off-by: Jouni Malinen <j@w1.fi>
* l2_packet: Add support for DHCP packet filter in l2_packet_linuxKyeyoon Park2014-10-271-0/+7
| | | | Signed-off-by: Kyeyoon Park <kyeyoonp@qca.qualcomm.com>
* Update license notification in files initially contributed by SamJouni Malinen2012-06-301-8/+2
| | | | | | | | This updates these files to use the license notification that uses only the BSD license. The changes were acknowledged by email (Sam Leffler <sam@errno.com>, Sat, 30 Jun 2012 07:57:53 -0700). Signed-hostap: Jouni Malinen <j@w1.fi>
* Solaris: Add support for wired IEEE 802.1X clientMasashi Honma2010-08-281-0/+31
| | | | | | | | | This patch adds support for wired IEEE 802.1X client on the Solaris. I have tested with these: OS : OpenSolaris 2009.06 EAP : EAP-MD5 Switch : Cisco Catalyst 2950
* wpa_supplicant: fix FTBFS on Debian GNU/kFreeBSDKel Modderman2010-03-061-1/+1
| | | | | | | | This patch allows wpa_supplicant to compile on Debian's kfreebsd architectures. Patch by Stefan Lippers-Hollmann based on work done by Petr Salinger and Emmanuel Bouthenot for 0.6.X (http://bugs.debian.org/480572).
* Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 releaseJouni Malinen2008-02-281-0/+285