Move command registry from components/command/ into components/core/. New modules: mod_canbus, mod_honeypot, mod_fallback, mod_redteam, mod_ota. Replace mod_proxy with tun_core (multiplexed SOCKS5 tunnel). Kconfig extended with per-module settings and async worker config.
25 lines
506 B
C
25 lines
506 B
C
/*
|
|
* fb_captive.h
|
|
* Captive portal detection and bypass strategies.
|
|
*/
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum {
|
|
FB_PORTAL_NONE, /* No captive portal — internet is open */
|
|
FB_PORTAL_DETECTED, /* Captive portal detected (302 or non-204) */
|
|
FB_PORTAL_UNKNOWN, /* Couldn't determine (connection failed) */
|
|
} fb_portal_status_t;
|
|
|
|
fb_portal_status_t fb_captive_detect(void);
|
|
bool fb_captive_bypass(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|