Snort mailing list archives

wget to snort.org fails; 301 redirect to 127.0.0.1


From: Tony Robinson <deusexmachina667 () gmail com>
Date: Wed, 13 Aug 2014 22:02:01 -0400

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?

------------------------------------------------------------------------------
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: