feat(nftables):add nftables support for nftables

This commit is contained in:
2025-05-15 14:35:01 +00:00
parent cf96ff8a47
commit a2e3e38025
22 changed files with 2331 additions and 201 deletions

View File

@ -82,7 +82,7 @@ tap.test('setup port proxy test environment', async () => {
],
defaults: {
security: {
allowedIps: ['127.0.0.1']
ipAllowList: ['127.0.0.1']
}
}
});
@ -121,7 +121,7 @@ tap.test('should forward TCP connections to custom host', async () => {
],
defaults: {
security: {
allowedIps: ['127.0.0.1']
ipAllowList: ['127.0.0.1']
}
}
});
@ -166,7 +166,7 @@ tap.test('should forward connections to custom IP', async () => {
],
defaults: {
security: {
allowedIps: ['127.0.0.1', '::ffff:127.0.0.1']
ipAllowList: ['127.0.0.1', '::ffff:127.0.0.1']
}
}
});
@ -261,7 +261,7 @@ tap.test('should support optional source IP preservation in chained proxies', as
],
defaults: {
security: {
allowedIps: ['127.0.0.1', '::ffff:127.0.0.1']
ipAllowList: ['127.0.0.1', '::ffff:127.0.0.1']
}
}
});
@ -282,7 +282,7 @@ tap.test('should support optional source IP preservation in chained proxies', as
],
defaults: {
security: {
allowedIps: ['127.0.0.1', '::ffff:127.0.0.1']
ipAllowList: ['127.0.0.1', '::ffff:127.0.0.1']
}
}
});
@ -320,7 +320,7 @@ tap.test('should support optional source IP preservation in chained proxies', as
],
defaults: {
security: {
allowedIps: ['127.0.0.1']
ipAllowList: ['127.0.0.1']
},
preserveSourceIP: true
},
@ -343,7 +343,7 @@ tap.test('should support optional source IP preservation in chained proxies', as
],
defaults: {
security: {
allowedIps: ['127.0.0.1']
ipAllowList: ['127.0.0.1']
},
preserveSourceIP: true
},