How nfqws/nfqws2-keenetic works
This repository packages and integrates nfqws2 for router firmware rather than implementing the packet-modification engine itself. The user installs the package on an Entware-based router (with an OpenWrt-specific entry point also present); during operation, nfqws2 modifies TCP traffic handled through NFQUEUE and raw sockets. Configuration, lists, and payload blobs are distinct runtime inputs. No source excerpts were provided, so internal call relationships are omitted; dashed links indicate likely runtime wiring that the available documentation does not verify.
Main entry points: nfqws2.conf Main configuration · lists Domain lists · blobs Protocol blobs · init.d Entware lifecycle
Components 11
Traffic processing
- nfqws2 engine
- NFQUEUE and raw sockets
Runtime configuration
- Main configuration
etc/nfqws2/nfqws2.conf - Domain lists
etc/nfqws2/lists - Protocol blobs
etc/nfqws2/blobs
Router integration
- Entware lifecycle
etc/init.d - NDM netfilter hook
etc/ndm/netfilter.d/100-nfqws2.sh - OpenWrt entry point
openwrt/entrypoint.sh - IPK lifecycle hooks
common/ipk
Other components
- Router administrator
- Router traffic
Connections 10
- Router administrator → nfqws2 engine: installs package
README.md - Router traffic → nfqws2 engine: processes TCP
README.md - nfqws2 engine → NFQUEUE and raw sockets: uses
README.md - Main configuration → nfqws2 engine: configures
- Domain lists → nfqws2 engine: supplies rules
- Protocol blobs → nfqws2 engine: supplies payloads
- Entware lifecycle → nfqws2 engine: manages lifecycle
- NDM netfilter hook → nfqws2 engine: integrates traffic
- OpenWrt entry point → nfqws2 engine: starts runtime
- IPK lifecycle hooks → nfqws2 engine: manages package