state synchronization
termKept in this browser · My desk
In a stateful cluster, the copying of runtime state, above all the connection or session table, from the active member to its peers, so that a member taking over can keep forwarding connections it did not open.
A firewall, load balancer or address translator drops or resets packets of connections it does not know, so a standby without the table turns every failover into a reset. Every implementation leaves something out: Check Point delays or skips short HTTP connections, FortiOS can skip sessions younger than 30 seconds, Palo Alto Networks does not carry decrypted SSL sessions, and a connection that survives may continue without inspection.
Mechanics. Check Point ClusterXL sends Delta Sync over UDP port 8116, about 90% of its Cluster Control Protocol traffic, after a Full Sync over TCP port 263 when a member joins; OpenBSD's pfsync collapses state changes and sends them within at most one second, and its defer option holds the first packet of a connection until a peer acknowledges the new state. Cost. Fortinet notes that with session pickup enabled, heartbeat traffic surges during a failover or when a unit joins, because the whole session table must be synchronized. Security. The pfsync manual warns that the protocol has no authenticity or integrity protection of its own, so spoofed packets could create states that bypass the ruleset; Check Point encrypts its Cluster Control Protocol by default. Limits. Researchers who interviewed middlebox vendors in 2015 found that flows active at a failure may bypass some security inspections afterwards, so the continuity of a connection and the continuity of its inspection are different promises.
Also known as: state sync, session synchronization, session sync, session pickup, connection mirroring, sincronização de estado
Sources
- Check Point, R82 ClusterXL Administration Guide, How State Synchronization Works (read 2026-11-16): Full Sync over TCP port 263 or 256 when a member joins, Delta Sync over UDP port 8116, about 90% of Cluster Control Protocol traffic
- Check Point, R82 ClusterXL Administration Guide, Configuring Services to Synchronize After a Delay (read 2026-11-16): short connections such as HTTP are likely to have finished before a failover, and every synchronized connection consumes resources
- Fortinet, FortiOS 7.6.6 Administration Guide, HA heartbeat interface (read 2026-11-16): heartbeats every 200 ms, 20 lost before failover, 4 seconds; heartbeat traffic surges during a failover with session pickup because the whole session table is synchronized; encryption and authentication disabled by default
- Fortinet, FortiOS 7.6.6 Administration Guide, Improving session sync performance (read 2026-11-16): session-pickup-delay synchronizes only sessions active for more than 30 seconds
- Palo Alto Networks, PAN-OS Administrator's Guide, PDF created 30 October 2026, High Availability chapter, pages 415 to 536 (read 2026-11-16): HA timer profiles, preemption disabled by default with a one-minute hold time, Flap Max, heartbeat backup against split brain, HA synchronization reference
- OpenBSD manual, pfsync(4) (read 2026-11-16): state changes collapsed and sent within at most one second, the defer option, the CARP demotion counter, no authenticity or integrity protection of its own
- Justine Sherry and others, Rollback-Recovery for Middleboxes, SIGCOMM 2015, section 2 (read 2026-11-16): vendors interviewed let flows active at a failure bypass some security inspections afterwards, without a correctness guarantee