You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
circuit-breaker drop-ratio 0.01 of matched window 5s threshold 5
148
+
# mss-clamp via eth0 1360 # optional — clamp TCP MSS for fast-pathed
149
+
# traffic egressing eth0 (closes the
150
+
# iptables-bypass MSS gap; v0.2.4+)
143
151
```
144
152
145
153
`dry-run on` makes the program count matched packets but always return `XDP_PASS` — the kernel handles forwarding as if PacketFrame weren't there. Counters tell you whether your allowlist matches the right traffic before you flip the switch.
@@ -161,7 +169,14 @@ sudo packetframe status # in another shell — live counters
161
169
162
170
### 5. Flip dry-run off when match ratios look right
163
171
164
-
Edit the config, change `dry-run on` to `dry-run off`, then `sudo systemctl reload packetframe` (if running under systemd) or `kill -HUP <pid>` (foreground). The change is delta-only; no detach.
172
+
Edit the config, change `dry-run on` to `dry-run off`, then trigger a reload (v0.2.4+):
173
+
174
+
```sh
175
+
sudo packetframe reconfigure # synchronous; exits non-zero on parse error
176
+
sudo systemctl reload packetframe # equivalent under systemd — both end up sending SIGHUP
177
+
```
178
+
179
+
What's hot-reloadable: `allow-prefix*`, `block-prefix`, `dry-run`, `forwarding-mode`, `mss-clamp`, VLAN-subif resolution, and the redirect devmap. Attach-set changes (interfaces added/removed), `route-source` config, `circuit-breaker` thresholds, and `local-prefix` still require a full restart. See [docs/runbooks/reconfigure.md](docs/runbooks/reconfigure.md).
165
180
166
181
### 6. Tear down
167
182
@@ -249,10 +264,16 @@ Quick directive index:
249
264
-`block-prefix <cidr>` — XDP-time drop for unrouteable destinations
250
265
-`ecmp-default-hash-mode {3|4|5}` — tuple width for ECMP hashing
251
266
267
+
**Module fast-path — TCP transforms (v0.2.4+)**
268
+
-`mss-clamp <mtu>` — global clamp ceiling for matched TCP SYN/SYN-ACK
`SIGHUP`reloads the config and applies delta-only changes to allowlists, VLAN-resolve, and devmap. Adding or removing an `attach` directive requires a restart.
276
+
`SIGHUP`(or `packetframe reconfigure` / `systemctl reload packetframe`) applies delta-only changes to allowlists, block-prefix, VLAN-resolve, devmap, mss-clamp, dry-run, and forwarding-mode bits. Adding or removing an `attach`, changing `route-source`, mutating `circuit-breaker` thresholds, or editing `local-prefix` requires a restart.
0 commit comments