websockets and network interface datat added
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 0s
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2026-03-09 16:45:01 +01:00
parent e919853d07
commit 40d8b15417
8 changed files with 352 additions and 107 deletions

View File

@@ -4,6 +4,12 @@ export interface InterfaceAddress {
prefixlen: number;
}
export interface EthernetProfile {
speed_mbps?: number | null;
duplex?: string | null;
autoneg?: boolean | null;
}
export interface InterfaceInfo {
ifindex: number;
name: string;
@@ -11,6 +17,7 @@ export interface InterfaceInfo {
mac?: string | null;
mtu: number;
flags: string[];
ethernet_profile?: EthernetProfile | null;
addresses: InterfaceAddress[];
}
@@ -31,6 +38,7 @@ export interface BridgeInterfaceInfo {
ifname: string;
state?: string | null;
mtu?: number | null;
ethernet_profile?: EthernetProfile | null;
}
export interface BridgeInfo {
@@ -61,11 +69,7 @@ export interface BridgeMemberLinkStateInfo {
carrier_up?: boolean | null;
operstate?: string | null;
mtu?: number | null;
ethernet_profile?: {
speed_mbps?: number | null;
duplex?: string | null;
autoneg?: boolean | null;
} | null;
ethernet_profile?: EthernetProfile | null;
link_ready: boolean;
suppressed: boolean;
}
@@ -78,6 +82,7 @@ export interface BridgeLinkStateWatcherStatus {
last_error?: string | null;
last_action?: string | null;
suppressed_members: string[];
failure_holdoff_seconds?: number | null;
recovery_holdoff_seconds?: number | null;
degraded_recheck_seconds?: number | null;
members: Record<string, BridgeMemberLinkStateInfo>;
@@ -89,4 +94,5 @@ export interface FullState {
interfaces: InterfaceInfo[];
routes: RouteInfo[];
bridges: BridgeInfo[];
watchers: BridgeLinkStateWatcherStatus[];
}