2 Commits

Author SHA1 Message Date
Your Name 552d51df77 fix: use timeout-loop sniff for Windows/Npcap compatibility
L2pcapListenSocket on Windows does not support 'stopper' kwarg.
Replace with timeout=1.0 polling loop that respects stop_event.
2026-07-13 16:53:15 +08:00
Your Name ea8eb2b5f9 feat: WinDHCPD — Windows-native DHCP server
Python 3 + Scapy DHCP server with:
- Full DORA handshake (DISCOVER/OFFER/REQUEST/ACK)
- Multi-scope support with DHCP relay
- Static MAC-to-IP bindings
- Lease persistence (JSON) with auto-prune
- NACK for invalid requests
- Flask web management panel (dark theme, live refresh)
- Admin-privileged scapy sniff on UDP 67
2026-07-13 16:22:19 +08:00