Aug 202014
 

I love it, how OSSEC forbids the use of wget based on the user agent

mail:~# wget http://www.ossec.net/files/ossec-hids-2.8.tar.gz
–2014-08-20 06:47:06– http://www.ossec.net/files/ossec-hids-2.8.tar.gz
Resolving www.ossec.net (www.ossec.net)… 150.70.191.237
Connecting to www.ossec.net (www.ossec.net)|150.70.191.237|:80… connected.
HTTP request sent, awaiting response… 403 Forbidden
2014-08-20 06:47:06 ERROR 403: Forbidden.

mail:~# wget -U “not-wget” http://www.ossec.net/files/ossec-hids-2.8.tar.gz
–2014-08-20 06:47:08– http://www.ossec.net/files/ossec-hids-2.8.tar.gz
Resolving www.ossec.net (www.ossec.net)… 150.70.191.237
Connecting to www.ossec.net (www.ossec.net)|150.70.191.237|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1662990 (1.6M) [application/x-gzip]
Saving to: `ossec-hids-2.8.tar.gz’

100%[========================================================================>] 1,662,990 486K/s in 3.6s

2014-08-20 06:47:12 (454 KB/s) – `ossec-hids-2.8.tar.gz’ saved [1662990/1662990]

mail:~#

  2 Responses to “OSSEC download with wget fails”

  1. Had this same problem today, must still be an issue. Wow, what the heck OSSEC.

  2. Super lame. Why.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)