[Snort-users] wget to snort.org fails; 301 redirect to 127.0.0.1

Tony Robinson deusexmachina667 at ...11827...
Wed Aug 13 22:02:01 EDT 2014


Title says it all. Anyone notice this recently?

wget snort.org
--2014-08-13 21:42:39--  http://snort.org/
Resolving snort.org (snort.org)... 205.178.189.129
Connecting to snort.org (snort.org)|205.178.189.129|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://127.0.0.1 [following]
--2014-08-13 21:42:39--  http://127.0.0.1/
Connecting to 127.0.0.1:80...

If I fake the user-agent with ANYTHING, it's successful:

wget --user-agent "toteslegitnotafakeUA" snort.org
--2014-08-13 21:49:23--  http://snort.org/
Resolving snort.org (snort.org)... 205.178.189.129
Connecting to snort.org (snort.org)|205.178.189.129|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.snort.org [following]
--2014-08-13 21:49:23--  http://www.snort.org/
Resolving www.snort.org (www.snort.org)... 50.19.124.119,
54.225.152.149, 54.243.242.66
Connecting to www.snort.org (www.snort.org)|50.19.124.119|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.snort.org/ [following]
--2014-08-13 21:49:24--  https://www.snort.org/
Connecting to www.snort.org (www.snort.org)|50.19.124.119|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34907 (34K) [text/html]
Saving to: `index.html'

100%[================================================================>]
34,907      --.-K/s   in 0.02s

2014-08-13 21:49:24 (1.76 MB/s) - `index.html' saved [34907/34907]

Cursory glance I would guess .htaccess is blacklisting wget as a user-agent.

Is there a reason for this? I use wget to pull the index page and
determine the current version of snort to download from the page. I
don't repeatedly do this, only when installing  Snort on a new
machine.

Too long;didn't read:
wget to snort.org redirects to localhost.
wget to snort.org with any other user-agent results in happy index.html
wget to https://snort.org no user-agent modification hangs until
timeout is reached.

why is this a thing?

-- 
when does reality end? when does fantasy begin?




More information about the Snort-users mailing list