Commit Graph
408 Commits
Author SHA1 Message Date
Mike Reeves cf3a4ebc27 Isolate the Kratos admin API on a dedicated soauth docker network
The Kratos admin API is unauthenticated by design and relies on network
isolation, but so-kratos published 0.0.0.0:4434:4434 and daemon.json leaves
userland-proxy at its default of true. Docker therefore ran a proxy listener
on the host, and any container reached the admin API through the manager IP
or the bridge gateway regardless of its docker network.

so-kratos now sits alone on a new soauth network and no longer publishes
4434. 4433 is still published, so nginx is unchanged. so-soc is dual homed
and reaches the admin API over soauth, with publicHostUrl set explicitly.
so-user reaches it through docker exec, and wait_for_kratos polls the
container address instead of the host port.

firewall/iptables.jinja hardcoded sobridge in every generated DNAT, ACCEPT,
masquerade and isolation rule, so it is now driven by a docker:networks map
and a per-container networks list. Containers that do not declare one
default to sobridge, and .ip still resolves to the primary network's
address. soauth is only created on the roles that run so-kratos.

Setup already allows a custom docker range, so it now also prompts for the
auth network range and writes it to the docker pillar. Grids on the default
range need no decision during soup, since they get the same 172.17.2.0/24 a
fresh install would. Grids that set a custom range are prompted, defaulting
to the adjacent /24, and unattended upgrades take that default with a notice
rather than blocking.

so-kratos and so-soc are removed in up_to_3.4.0 so the highstate recreates
them with the correct network membership.
2026-09-09 16:09:00 -04:00
Mike Reeves ecb92d43fc Limit management bond setup to ISO installs 2026-05-05 15:30:09 -04:00
Mike Reeves 3b714db0bf Show management bond option consistently 2026-05-05 15:22:40 -04:00
Mike Reeves f17da4e68b Add management bond setup option 2026-05-05 15:13:24 -04:00
Josh Patterson 6feb06e623 cleanup preflight 2026-03-16 17:02:36 -04:00
Mike Reeves d2cee468a0 Remove support for non-Oracle Linux 9 operating systems
Security Onion now exclusively supports Oracle Linux 9. This removes
detection, setup, and update logic for Ubuntu, Debian, CentOS, Rocky,
AlmaLinux, and RHEL.
2026-03-16 16:44:07 -04:00
Jason Ertel 9bd5e1897a prepare for nextgen docs 2026-02-27 13:09:55 -05:00
reyesj2 a84df14137 rename forward node -> sensor node 2025-11-06 15:23:55 -06:00
Josh Patterson e5920b6465 add managerhype back to whiptail 2025-08-28 09:21:20 -04:00
Josh Patterson 9617da1791 remove managerhype from whiptail 2025-08-07 16:13:59 -04:00
Josh Patterson 44a5b3b1e5 MANAGERHYPE setup is now complete! 2025-03-12 21:05:04 -04:00
m0duspwnens a84a32c075 increase whiptail by 1 2024-12-10 16:24:18 -05:00
m0duspwnens 52e52f35f7 hyper setup init 2024-07-31 15:49:32 -04:00
m0duspwnens ea7715f729 use waitforstate var instead. 2024-05-23 10:41:10 -04:00
m0duspwnens 0b9ebefdb6 only show telem status in final whiptail if new deployment 2024-05-23 10:08:23 -04:00
weslambert 3cfd710756 Change tab casing to be consistent with other whiptail prompts 2024-05-22 13:41:32 -04:00
Doug Burks 6cbbb81cad FEATURE: Add hyperlink to airgap screen in setup #12925 2024-05-03 12:59:41 -04:00
Doug Burks 5fe8c6a95f Update so-whiptail to make installation screen more consistent 2024-05-03 09:38:34 -04:00
Jason Ertel 6046848ee7 skip telemetry summary in airgap mode 2024-04-04 10:25:32 -04:00
Jason Ertel 941a841da0 fix link 2024-04-03 14:41:57 -04:00
Jason Ertel 2b8a051525 fix link 2024-04-03 14:30:09 -04:00
Jason Ertel ff777560ac limit col size 2024-04-01 10:35:15 -04:00
Jason Ertel 2c68fd6311 limit col size 2024-04-01 10:32:54 -04:00
Jason Ertel c1bf710e46 limit col size 2024-04-01 10:32:25 -04:00
Jason Ertel 3aea2dec85 analytics 2024-04-01 09:50:18 -04:00
Doug Burks 9c6f3f4808 FIX: Specify that static IP address is recommended #12643 2024-03-22 13:41:44 -04:00
Jason Ertel cd28c00d67 auto-convert email addresses to lowercase during setup 2024-03-11 13:47:31 -04:00
Jason Ertel b5d8df7fb2 auto-convert email addresses to lowercase during setup 2024-03-11 13:45:57 -04:00
m0duspwnens c65c9777bd improvents for checking system requirements 2023-09-14 17:42:25 -04:00
Jason Ertel 1871d48f7f remove unnecesary OTHER submenu 2023-08-31 20:42:00 -04:00
m0duspwnens ae01da780e desktop network install nongrid 2023-08-30 09:10:59 -04:00
m0duspwnens a4dc482372 add is_desktop_grid var 2023-08-29 13:10:06 -04:00
m0duspwnens 0455063a39 edit other/desktop install whiptail 2023-08-29 10:26:29 -04:00
m0duspwnens 532b2c222a edit other/desktop install whiptail 2023-08-29 10:16:51 -04:00
m0duspwnens 67ea7d31e1 dont exec so-setup desktop 2023-08-29 09:32:10 -04:00
Doug Burks 78950ebfbb Update so-whiptail 2023-08-04 09:16:58 -04:00
m0duspwnens ba6043392c reorder whiptail text 2023-07-25 16:18:01 -04:00
m0duspwnens 60eb1611ea upgrade packages for debian and reboot prior to so installation 2023-07-25 16:06:38 -04:00
m0duspwnens 2545f9907f dont allow 172.17.0.0/24 for custom dockernet 2023-07-24 17:00:20 -04:00
m0duspwnens d71254ad29 only add custom docker net to pillar 2023-07-24 14:47:14 -04:00
m0duspwnens 36a936d3d6 docker ips changes 2023-07-21 16:06:52 -04:00
m0duspwnens 19c6796927 only allow existing deployment for focal 2023-07-19 15:38:18 -04:00
m0duspwnens 77c9b4fb54 remove OTHER 2023-07-19 15:35:28 -04:00
m0duspwnens 3104137190 install type whiptail for focal 2023-07-19 15:31:09 -04:00
m0duspwnens 5d4186ac07 different whiptail warning if ubuntu 20.04 2023-07-17 15:56:29 -04:00
m0duspwnens 4158e18675 warn of unsupported os 2023-07-13 16:38:51 -04:00
Mike Reeves c54217a8cb Add some Ubuntu 2023-07-03 15:12:52 -04:00
Mike Reeves 04fe2ca996 Fix gpg things 2023-07-03 15:12:46 -04:00
Mike Reeves 1cbe5580a6 Fix whiptail logic 2023-07-03 15:12:45 -04:00
Mike Reeves 740723ecd6 Fix some installs 2023-06-26 16:01:58 -04:00