diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2026-11-05 16:21:57 +0200 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2026-11-09 13:09:17 +0200 |
| commit | 6668b84c70ec7d9b6c9f8aae852c341797e3a084 (patch) | |
| tree | 9fbeb0391e28d24d074057d3af6c5e1609f51e1d /src/migration-scripts/ipoe-server | |
| parent | 1f1bc06c2645c9cc2675298ce3ad72e1e29a1bc4 (diff) | |
| download | vyos-1x-6668b84c70ec7d9b6c9f8aae852c341797e3a084.tar.gz vyos-1x-6668b84c70ec7d9b6c9f8aae852c341797e3a084.zip | |
load-balancing: T9466: Fix listen-address check for VRF, link-local and new IPv6 addresses
The listen-address check ignored the HAProxy VRF. An address on an
interface in that VRF was reported as not assigned. With "vrf default"
the port check always failed.
Changing the VRF only reloaded HAProxy, so it kept running in the old
VRF.
HAProxy cannot parse a link-local address with its "%interface" scope.
The commit passed, but HAProxy failed to load the config.
A new IPv6 address cannot be used until duplicate address detection
finishes. Adding it together with the listen-address, as on every boot,
was refused as "port used by another service".
Now:
- addresses and ports are checked inside the HAProxy VRF, and "default"
means no VRF
- HAProxy restarts when its VRF changes
- a link-local address is passed to HAProxy as "bind <address> interface
<interface>"; one without an interface is refused
- the check waits until a new IPv6 address can be used
Diffstat (limited to 'src/migration-scripts/ipoe-server')
0 files changed, 0 insertions, 0 deletions
