[Hands-on] Testing Separate Ports in Athenz ZTS
[Hands-on] Testing Separate Ports in Athenz ZTS The goal of this test is to verify the new port-URI filtering feature introduced in PR: Adding support to filter requests based on port-uri combinati...
![[Hands-on] Testing Separate Ports in Athenz ZTS](https://media2.dev.to/dynamic/image/width=1200,height=627,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fmlajkim%2Fdive-deep%2Fmain%2Fweekly_dives%2Fathenz%2F260329_hands_on_separate_port_in_athenz_zts%2Fthumbnail.png)
Source: DEV Community
[Hands-on] Testing Separate Ports in Athenz ZTS The goal of this test is to verify the new port-URI filtering feature introduced in PR: Adding support to filter requests based on port-uri combination #3190. Result I successfully reproduced the multiple ports configuration on the ZTS server. Initially, the server was only listening on the default port 4443: # Defaulted container "athenz-zts-server" out of: athenz-zts-server, zms-cli (init), athenz-conf (init), athenz-plugins (init) # sh: 1: ss: not found # Active Internet connections (only servers) # Proto Recv-Q Send-Q Local Address Foreign Address State # tcp6 0 0 :::4443 :::* LISTEN After applying the new configuration, it now listens on both the original port 4443 AND the newly added port 8443: # Active Internet connections (only servers) # Proto Recv-Q Send-Q Local Address Foreign Address State # tcp6 0 0 :::8443 :::* LISTEN # tcp6 0 0 :::4443 :::* LISTEN Table of Contents [Hands-on] Testing Separate Ports in Athenz ZTS Result Tabl