Re: wget problem with download link in site rules

Arian Abbasi via Snort-users <[email protected]> Wed, 22 Jan 2025 17:44:16 +0330
Newsgroups gmane.comp.security.ids.snort.general
Message-ID <CAPqsgBB0V-nZhD_4h4s4CajJw+EDUnegO64e5_wYHTgT58t4qQ@mail.gmail.com>
--===============1061532997952021798==
Content-Type: multipart/alternative; boundary="000000000000a1c20b062c4c1c81"

--000000000000a1c20b062c4c1c81
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

hi dude

<root@localhost ~]$ *wget
https://snort.org/downloads/registered/snortrules-snapshot-31150.tar.gz
<https://snort.org/downloads/registered/snortrules-snapshot-31150.tar.gz>*
--2025-01-22 15:10:32--
https://snort.org/downloads/registered/snortrules-snapshot-31150.tar.gz
Resolving snort.org (snort.org)... 50.7.87.85
Connecting to snort.org (snort.org)|50.7.87.85|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://snort.org/ [following]
--2025-01-22 15:10:39--  https://snort.org/
Reusing existing connection to snort.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: =E2=80=98snortrules-snapshot-31150.tar.gz=E2=80=99

snortrules-snapshot-31150.tar.gz     [ <=3D>
                      ]  28.50K  --.-KB/s    in 0.1s

2025-01-22 15:10:40 (208 KB/s) - =E2=80=98snortrules-snapshot-31150.tar.gz=
=E2=80=99 saved
[29189]

*<root@localhost ~]$ file snortrules-snapshot-31150.tar.gz*
*snortrules-snapshot-31150.tar.gz: HTML document, UTF-8 Unicode text, with
very long lines*


*i solved it by "curl" command*

On Tue, Jan 21, 2025 at 7:38=E2=80=AFPM Al Lewis (allewi) <[email protected]=
> wrote:

> What is the wget command / link that you are running? Can you share the
> terminal output?
>
>
> *Albert Lewis*
>
> Email: *[email protected] <[email protected]>*
> ------------------------------
> *From:* Snort-users <[email protected]> on behalf of
> Arian Abbasi via Snort-users <[email protected]>
> *Sent:* Tuesday, January 21, 2025 8:54 AM
> *To:* [email protected] <[email protected]>
> *Subject:* [Snort-users] wget problem with download link in site rules
>
> hi
> when i download the snaprules-snapshot31470.tar.gz by wget command in
> centos 9 the tar command failed by this comment :
>
> $ tar -xf snortrules-snapshot-3150.tar.gz
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> and tar: Error is not recoverable: exiting now
> and the file type is :
> <root@snort ~]$file snortrules-snapshot-31470.tar.gz
> snortrules-snapshot-31470.tar.gz: HTML document, UTF-8 Unicode text, with
> very long lines
>
> how can i fix it?
>
> thank you
>

--000000000000a1c20b062c4c1c81
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">hi dude<div><br></div><div>&lt;root@localhost ~]$<font siz=
e=3D"4"> <b>wget <a href=3D"https://snort.org/downloads/registered/snortrul=
es-snapshot-31150.tar.gz">https://snort.org/downloads/registered/snortrules=
-snapshot-31150.tar.gz</a></b></font><br>--2025-01-22 15:10:32-- =C2=A0<a h=
ref=3D"https://snort.org/downloads/registered/snortrules-snapshot-31150.tar=
.gz">https://snort.org/downloads/registered/snortrules-snapshot-31150.tar.g=
z</a><br>Resolving <a href=3D"http://snort.org">snort.org</a> (<a href=3D"h=
ttp://snort.org">snort.org</a>)... 50.7.87.85<br>Connecting to <a href=3D"h=
ttp://snort.org">snort.org</a> (<a href=3D"http://snort.org">snort.org</a>)=
|50.7.87.85|:443... connected.<br>HTTP request sent, awaiting response... 3=
02 Found<br>Location: <a href=3D"https://snort.org/">https://snort.org/</a>=
 [following]<br>--2025-01-22 15:10:39-- =C2=A0<a href=3D"https://snort.org/=
">https://snort.org/</a><br>Reusing existing connection to <a href=3D"http:=
//snort.org:443">snort.org:443</a>.<br>HTTP request sent, awaiting response=
... 200 OK<br>Length: unspecified [text/html]<br>Saving to: =E2=80=98snortr=
ules-snapshot-31150.tar.gz=E2=80=99<br><br>snortrules-snapshot-31150.tar.gz=
 =C2=A0 =C2=A0 [ &lt;=3D&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ] =C2=
=A028.50K =C2=A0--.-KB/s =C2=A0 =C2=A0in 0.1s<br><br>2025-01-22 15:10:40 (2=
08 KB/s) - =E2=80=98snortrules-snapshot-31150.tar.gz=E2=80=99 saved [29189]=
<br><br><b>&lt;root@localhost ~]$ file snortrules-snapshot-31150.tar.gz</b>=
<br><b>snortrules-snapshot-31150.tar.gz: HTML document, UTF-8 Unicode text,=
 with very long lines</b><br></div><div><b><br></b></div><div><b><br></b></=
div><div><b>i solved it by &quot;curl&quot; command</b></div></div><br><div=
 class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmai=
l_attr">On Tue, Jan 21, 2025 at 7:38=E2=80=AFPM Al Lewis (allewi) &lt;<a hr=
ef=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex"><div class=3D"msg51110061859=
00059485">




<div dir=3D"ltr">
<div style=3D"font-family:&quot;Courier New&quot;,monospace;font-size:12pt;=
color:rgb(0,0,0)">
What is the wget command / link that you are running? Can you share the ter=
minal output?</div>
<div style=3D"font-family:&quot;Courier New&quot;,monospace;font-size:12pt;=
color:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:&quot;Courier New&quot;,monospace;font-size:12pt;=
color:rgb(0,0,0)">
<br>
</div>
<div id=3D"m_5111006185900059485Signature">
<p style=3D"line-height:normal;margin:0px;font-family:Courier;font-size:16p=
x;color:rgb(30,73,125)">
<b>Albert Lewis</b></p>
<p style=3D"line-height:normal;margin:0px;font-family:Courier;font-size:15p=
x;color:rgb(127,127,127)">
<span style=3D"font-size:16px;color:rgb(153,153,153)">Email: </span><span s=
tyle=3D"font-size:16px;color:rgb(128,27,128)"><u><a href=3D"mailto:allewi@c=
isco.com" style=3D"color:rgb(128,27,128);margin-top:0px;margin-bottom:0px" =
target=3D"_blank">[email protected]</a></u></span><span style=3D"font-size:1=
6px;color:rgb(79,129,189)">=C2=A0</span></p>
</div>
<div id=3D"m_5111006185900059485appendonsend"></div>
<hr style=3D"display:inline-block;width:98%">
<div id=3D"m_5111006185900059485divRplyFwdMsg" dir=3D"ltr"><font face=3D"Ca=
libri, sans-serif" style=3D"font-size:11pt" color=3D"#000000"><b>From:</b> =
Snort-users &lt;<a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a>&gt; on behalf of Aria=
n Abbasi via Snort-users &lt;<a href=3D"mailto:[email protected]"=
 target=3D"_blank">[email protected]</a>&gt;<br>
<b>Sent:</b> Tuesday, January 21, 2025 8:54 AM<br>
<b>To:</b> <a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a> &lt;<a href=3D"mailto:[email protected]=
ort.org" target=3D"_blank">[email protected]</a>&gt;<br>
<b>Subject:</b> [Snort-users] wget problem with download link in site rules=
</font>
<div>=C2=A0</div>
</div>
<div>
<div dir=3D"ltr">hi=C2=A0
<div>when i download the snaprules-snapshot31470.tar.gz=C2=A0by wget comman=
d in centos 9 the tar command failed by this comment :</div>
<div><br>
</div>
<div>$ tar -xf snortrules-snapshot-3150.tar.gz<br>
gzip: stdin: not in gzip format<br>
tar: Child returned status 1<br>
and tar: Error is not recoverable: exiting now<br>
</div>
<div>and the file type is :<br>
</div>
<div>&lt;root@snort ~]$file snortrules-snapshot-31470.tar.gz<br>
snortrules-snapshot-31470.tar.gz: HTML document, UTF-8 Unicode text, with v=
ery long lines<br>
</div>
<div><br>
</div>
<div>how can i fix it?</div>
<div><br>
</div>
<div>thank you</div>
</div>
</div>
</div>

</div></blockquote></div>

--000000000000a1c20b062c4c1c81--

--===============1061532997952021798==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Snort-users mailing list
[email protected]
Go to this URL to change user options or unsubscribe:
https://lists.snort.org/mailman/listinfo/snort-users

	To unsubscribe, send an email to:
	[email protected]

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

Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette

--===============1061532997952021798==--