feat(nftables): Add NFTables integration for kernel-level forwarding and update documentation, tests, and helper functions

This commit is contained in:
2025-05-15 19:39:09 +00:00
parent 4568623600
commit 5d0b68da61
19 changed files with 977 additions and 1068 deletions

View File

@ -213,9 +213,11 @@ tap.test('should handle errors in port mapping functions', async () => {
// The connection should fail or timeout
try {
await createTestClient(PROXY_PORT_START + 5, TEST_DATA);
expect(false).toBeTrue('Connection should have failed but succeeded');
// Connection should not succeed
expect(false).toBeTrue();
} catch (error) {
expect(true).toBeTrue('Connection failed as expected');
// Connection failed as expected
expect(true).toBeTrue();
}
});