From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] validate certificates in ids.cgi Date: Sun, 17 Jun 2018 18:58:32 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2931065719381503401==" List-Id: --===============2931065719381503401== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fixes #11770. Signed-off-by: Peter M=C3=BCller --- html/cgi-bin/ids.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 17cb23292..9863251e2 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -692,8 +692,8 @@ sub downloadrulesfile { } =20 if ($peer) { - system("wget -r --proxy=3Don --proxy-user=3D$proxysettings{'UPSTREAM_USER'= } --proxy-passwd=3D$proxysettings{'UPSTREAM_PASSWORD'} -e http_proxy=3Dhttp:/= /$peer:$peerport/ -o /var/tmp/log --no-check-certificate --output-document=3D= /var/tmp/snortrules.tar.gz $url"); + system("wget -r --proxy=3Don --proxy-user=3D$proxysettings{'UPSTREAM_USER'= } --proxy-passwd=3D$proxysettings{'UPSTREAM_PASSWORD'} -e http_proxy=3Dhttp:/= /$peer:$peerport/ -o /var/tmp/log --output-document=3D/var/tmp/snortrules.tar= .gz $url"); } else { - system("wget -r --no-check-certificate -o /var/tmp/log --output-document= =3D/var/tmp/snortrules.tar.gz $url"); + system("wget -r -o /var/tmp/log --output-document=3D/var/tmp/snortrules.ta= r.gz $url"); } } --=20 2.16.4 --===============2931065719381503401== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUVCQ2dBZEZpRUV2UDRTaUdoRVlE SnlyUkxrMlVqeUQzMTduMmdGQWxzbWt6Z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