On Mon, Jul 11, 2011 at 8:31 AM, Negin Nickparsa <nickpa...@gmail.com>wrote:
> I'm in opensuse I tried wget url for another site it is working
> there(without -O)
> for example I can have this:
> wget http://library.linode.com/assets/695-wget-example.txt
> and it is working it will be downloaded on /root
> but I'm so confused about snort rules that why I can't download them
> I also tried this without -o:
> => `c0e9480af637e53c7aae823a40a131edc1343db5'
> Resolving www.snort.org... 188.8.131.52
> Connecting to www.snort.org|184.108.40.206|:80... connected.
> HTTP request sent, awaiting response... 302 Found
> Resolving s3.amazonaws.com... 220.127.116.11
> Connecting to s3.amazonaws.com|18.104.22.168|:80... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 11:32:10 ERROR 403: Forbidden.
> again error the file is empty
It says it right there... ERROR 403: Forbidden.
According to http://www.snort.org/snort-rules you need to be a subscriber or
registered user to download the rules, so there is some form of validation
on the download URL. In the example you give I'm guessing it's
the c0e9480af637e53c7aae823a40a131edc1343db5. That means you can't simply
download from that URL, you'll need to programatically log into the website,
find the link and then do the download.