greenbone / docs

Documentation for the Greenbone Community Edition
https://greenbone.github.io/docs/
Creative Commons Attribution Share Alike 4.0 International
24 stars 32 forks source link

Change: Update --no-redirect description in container workflow #449

Closed cfi-gb closed 9 months ago

cfi-gb commented 9 months ago

What

gsad --help says:

--no-redirect                           Don't redirect HTTP to HTTPS.

This is also matching what i know about this parameter, if the parameter isn't given and the root user is used gsad will listen like this:

$ sudo /opt/gvm/sbin/gsad
$ sudo netstat -nplut | grep gsad
tcp6       0      0 :::443                  :::*                    LISTEN      42501/gsad          
tcp6       0      0 :::80                   :::*                    LISTEN      42502/gsad
$ sudo killall gsad

But if you're giving --no-redirect only 443 is listening:

$ sudo /opt/gvm/sbin/gsad --no-redirect
$ sudo netstat -nplut | grep gsad
tcp6       0      0 :::443                  :::*                    LISTEN      42603/gsad 
$ sudo killall gsad

Why

Improved description of the parameter.

References

N/A