Repository navigation
Cross-platform hostapd integration for wifit3 (Windows/macOS/Linux) #188
Replies: 4 comments 3 replies
|
a little update on this idea... i may have gone a tiny bit further down this rabbit hole than originally planned. not going to spoil anything just yet, but let's just say some things that looked pretty unrealistic a few hours ago are starting to look very different now. i'll leave it at that for now. 👀 sometimes you just have to try the stupid ideas and see what happens. xD |
|
well... this escalated a little. xD remember that experimental hostapd 2.12 port i mentioned? turns out i got a bit carried away. i now have hostapd running natively on windows 11, using a custom wpa_driver_ops backend and a python bridge to wifit3's userspace usb drivers. no linux wireless stack, no wsl, no vm. and it's not just compiling anymore. i've tested it with six different usb wifi adapters, including real over-the-air lab tests covering wpa2, wpa3-sae, pmf, enterprise/eap and quite a few more protocol paths. the goal has evolved from just adding enterprise support to porting essentially the entire hostapd ap/authentication stack to windows. ethernet/vlan functionality is intentionally out of scope since it isn't relevant to wifit3's auditing use cases. it's still experimental, and interoperability with regular clients needs more work. but the results so far are pretty encouraging. anyway, here's what i've been quietly working on: https://github.com/DensenDeluxe/wifit3-hostapd-windows not suggesting we merge this monster into wifit3 tomorrow, lol. i'd genuinely love to hear your thoughts on the architecture and whether this could become a useful foundation for future features. sometimes a stupid idea gets a little out of hand. |
|
I did not have "hostapd on windows" on my bingo card today. This is wild lol. I don't think I want to maintain a hostapd port but this is a really cool experiment. Someone was asking if wifit3 could act as a VLAN... I think the latency and throughput would be terrible, but your hostapd work sounds like it's at least possible. I need to split chips/ into a "wifit3-drivers" library/repo, to encourage this kind of tinkering. |
|
that would actually be really cool! splitting it would also make sense for my hostapd port. i could keep it completely standalone, using the shared drivers without adding another huge dependency to wifit3. whoever needs native hostapd functionality on windows could just use it. and i agree, there's no reason to force hostapd into wifit3 just for enterprise support if that can be implemented directly. no worries about maintaining the port either, that rabbit hole is mine now. xD |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I've been exploring ways to bring Linux-only Wi-Fi capabilities, particularly hostapd and EAPHammer-style WPA-Enterprise auditing, to Windows and macOS.
Three possible approaches:
nl80211with a userspace backend built around wifit3's existing USB mini-drivers.What I've built so far
I've put together an experimental hostapd 2.12 port specifically targeting wifit3, now in its second iteration.
It currently includes:
wpa_driver_opsbackend and Python IPC bridge.WlanInterfaceAPI.The remaining work is mostly around hardware-specific AP functionality, particularly reliable beacon transmission, station management, and encryption key installation. Native Windows/macOS builds also still need validation.
The interesting part: Rather than running Linux tools through VMs or compatibility layers, wifit3's existing userspace USB architecture could eventually support native hostapd functionality across all three operating systems.
I've packaged the current implementation as a proof of concept. It's not a finished Enterprise AP yet, but it provides a concrete starting point rather than just a theoretical proposal.
Would be interested in hearing what you guys think, especially whether this would make sense as a future wifit3 component.
hostapd-2.12-wifit3-crossplatform-v2.zip
All reactions