![[Hands-on] Testing Separate Ports in Athenz ZTS](/_next/image?url=https%3A%2F%2Fmedia2.dev.to%2Fdynamic%2Fimage%2Fwidth%3D800%252Cheight%3D%252Cfit%3Dscale-down%252Cgravity%3Dauto%252Cformat%3Dauto%2Fhttps%253A%252F%252Fdev-to-uploads.s3.amazonaws.com%252Fuploads%252Farticles%252Foo8bhe8rmqlg55oyvglf.png&w=1200&q=75)
[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 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 T
Continue reading on Dev.to
Opens in a new tab

