argus-authz / argus-pep-server

Argus PEP Server
5 stars 3 forks source link

Investigate if Argus PDP and PEP listen on IPv6 #31

Open enricovianello opened 3 years ago

enricovianello commented 3 years ago

https://ggus.eu/ws/ticket_info.php?ticket=147877

federicaagostini commented 2 years ago

Setting hostname and adminHost properties on both pepd.ini and pdp.ini as follows:

$ cat /etc/argus/pepd/pepd.ini | grep host
hostname = ::
adminHost = localhost6

$ grep host /etc/argus/pdp/pdp.ini
hostname = ::
adminHost = localhost6

I get this binded interfaces

$ netstat -anp|grep java|grep LISTEN
tcp6       0      0 :::8150                 :::*                    LISTEN      6994/java           
tcp6       0      0 127.0.0.1:8151          :::*                    LISTEN      6994/java           
tcp6       0      0 :::8152                 :::*                    LISTEN      11438/java          
tcp6       0      0 ::1:8153                :::*                    LISTEN      11438/java          
tcp6       0      0 :::8154                 :::*                    LISTEN      7166/java           
tcp6       0      0 ::1:8155                :::*                    LISTEN      7166/java

Anyway, we need to fix the default hardcoded values for these services.