balena-supervisor/test/integration/lib
Christina Ying Wang 84a9e7e9ac Replace BALENA-FIREWALL rule in INPUT chain instead of flushing
The issue with the original Supervisor implementation of the firewall is that
on Supervisor start, the Supervisor flushes the INPUT chain of the filter table.
This doesn't play well with services that add to the INPUT chain on startup that
may start up before the Supervisor, such as certain NetworkManager connection
profiles. This change only replaces the BALENA-FIREWALL rule in the INPUT chain,
preserving the other rules as well as their order.

Closes: #1482
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2023-03-01 13:42:07 -08:00
..
contracts.spec.ts Fix typo: intialise -> initialize 2022-11-07 12:09:17 -08:00
docker-utils.spec.ts Add tests for doRestart action and v1/v2 app restart routes 2023-01-09 16:25:27 -08:00
firewall.spec.ts Replace BALENA-FIREWALL rule in INPUT chain instead of flushing 2023-03-01 13:42:07 -08:00
legacy.spec.ts Migrate config module tests to integration 2022-09-28 10:37:41 -03:00
lockfile.spec.ts Update @balena/lint to 6.2.0 2022-09-19 16:41:28 +01:00
os-release.spec.ts Migrate simple legacy tests to test/unit and test/integration 2022-10-18 20:36:53 -03:00
update-lock.spec.ts Migrate update-lock tests as integration tests 2022-09-28 10:37:41 -03:00