Skip to content

Instantly share code, notes, and snippets.

@Fail-Safe
Fail-Safe / 999-ft-psk-vlan-reassignment-v5.patch
Last active June 6, 2026 20:32
Fifth, revised attempt at fixing the issue where PSK-to-VLAN mapping is mishandled during FT events
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -38,6 +38,7 @@
#include "sta_info.h"
#include "ieee802_1x.h"
#include "wpa_auth.h"
+#include "wpa_auth_i.h"
#include "pmksa_cache_auth.h"
#include "wmm.h"
#include "ap_list.h"
@nathan818fr
nathan818fr / haproxy.cfg
Last active April 26, 2026 04:45
Decoding the Minecraft handshake with HAProxy (protocol version, hostname, next-state) to choose which backend to use.
global
lua-load /path/to/haproxy_minecraft.lua
[...]
defaults
[...]
frontend mc_listener
bind *:25565
mode tcp