feat: HA-Cluster v1.2.x — Split-Brain, TOTP, Enterprise-FW, Drift-Fix, VIP-Recovery

- keepalived: pg_role='standby' hat Vorrang vor role für BACKUP-Bestimmung
- keepalived-master.sh: gecrasht Dienste beim MASTER-Übergang starten (nicht nur reload)
- confighash: ip_addresses per Interface-Name hashen statt per FK (Cross-Node-Drift-Fix)
- TOTP/2FA: RFC 6238 — Setup-Flow, QR-Code, Admin-Disable; two-step Login
- Firewall-UI: Enterprise-Design — auto-Beschreibung, icon-only Actions, zero-hit Indikator
- fe80-Filter: Link-local IPv6 aus NTP/DNS Listen-Dropdowns entfernen
- VIP-Dashboard, Dual-Path VRRP, GW-Tracking (Migrations 0033/0034)
- Forward Proxy + DNS erweiterte Einstellungen (Migrations 0031/0032)
- unbound-control: edgeguard in unbound-Gruppe via postinst

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Debian
2026-05-31 18:18:31 +02:00
parent 49899e984c
commit 1d06b28064
55 changed files with 3132 additions and 672 deletions

View File

@@ -39,6 +39,11 @@ interface VIPSettingsValues {
vip_interface?: string
vip_auth_pass?: string
vrrp_router_id?: number
hb_interface?: string
hb_src_ip?: string
hb_peer_ip?: string
hb_router_id?: number
gw_check_ip?: string
}
export default function SettingsPage() {
@@ -839,6 +844,31 @@ export default function SettingsPage() {
extra={t('cluster.vipCard.vrrpRouterIdHelp')}>
<InputNumber min={1} max={255} disabled={isViewer} />
</Form.Item>
<Typography.Text strong style={{ display: 'block', marginBottom: 12, marginTop: 8 }}>
{t('cluster.vipCard.splitBrainSection')}
</Typography.Text>
<Form.Item label={t('cluster.vipCard.hbInterface')} name="hb_interface"
extra={t('cluster.vipCard.hbInterfaceHelp')}>
<Input placeholder="eth1" disabled={isViewer} />
</Form.Item>
<Form.Item label={t('cluster.vipCard.hbSrcIp')} name="hb_src_ip"
extra={t('cluster.vipCard.hbSrcIpHelp')}>
<Input placeholder="192.168.1.1" disabled={isViewer} />
</Form.Item>
<Form.Item label={t('cluster.vipCard.hbPeerIp')} name="hb_peer_ip"
extra={t('cluster.vipCard.hbPeerIpHelp')}>
<Input placeholder="192.168.1.2" disabled={isViewer} />
</Form.Item>
<Form.Item label={t('cluster.vipCard.hbRouterId')} name="hb_router_id"
extra={t('cluster.vipCard.hbRouterIdHelp')}>
<InputNumber min={1} max={255} disabled={isViewer} />
</Form.Item>
<Form.Item label={t('cluster.vipCard.gwCheckIp')} name="gw_check_ip"
extra={t('cluster.vipCard.gwCheckIpHelp')}>
<Input placeholder="89.163.205.1" disabled={isViewer} />
</Form.Item>
{!isViewer && (
<Form.Item>
<Button type="primary" htmlType="submit" loading={updateVIP.isPending}>