04.04.2014----16:50:55"Openvas-discuss" <[email protected]> wrote on 04.04.2014 16:50:55:
> From: "Jan-Oliver Wagner" <Jan-Olive [email protected]>> To: openvas-discus [email protected], > Date: 04.04.2014 16:51> Subject: Re: [Openva s-discuss] GSA_REDIRECT> Sent by: "Openvas-discuss" <openvas-discuss-bounc [email protected]>> > On Donnerstag, 3. April 2014, Helmut Koers wrote: > > I there an option to have the GSA listen on Port 443 and be redirected to > > 443 in case trying to access the GSA via Port 80? > > > > My attempt has been to first change "GSA_PORT=9392" to "GSA_PORT=443" in > > "/etc/init.d/greenbone-security-assistant", so that it was listening on > > Port 443. Next step has been to enable redirect by uncommenting > > "GSA_REDIRECT=1" in "/etc/init.d/greenbone-security-assistant". As a > > result I got the following message when starting OpenVAS the next time: > > > > /etc/init.d/greenbone-security-assistant: 28: [: 1: unexpected operator > > > > and no redirect function active. Are these settings supposed to do what I > > was trying to achieve, or am I missing something? > > Try > > $ gsad --help > > There you see options, one is "--redirect" of which I assume is what > you are looking for? > > Best > > Jan > > > -- > Dr. Jan-Oliver Wagner | ++49-541-335084-0 | http://www.greenbone.net/ > Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG > Osnabrück, HR B 202460 > Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner > _______________________________________________ > Openvas-discuss mailing list > [email protected] > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss What would be the preferred way to start and stop OpenVAS, using plain commands like "gsad" or using "service" scripts? Thanks, Helmut _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
