Re: snort3: can't exit with -T option while in daemon mode

Meridoff via Snort-devel <[email protected]> Fri, 18 Oct 2019 16:16:14 +0300
Newsgroups gmane.comp.security.ids.snort.devel
Message-ID <CAFfuDwxZ6t3S7wm65rkL70G8moS_m2OPjftFJxubzH7iw3xBXQ@mail.gmail.com>
--===============8379896816861465360==
Content-Type: multipart/alternative; boundary="000000000000270e0605952f2444"

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

snort  -T -c /tmp/services/idsm/config --lua "process.daemon=3Dfalse"
"Fix" this.

=D0=BF=D1=82, 18 =D0=BE=D0=BA=D1=82. 2019 =D0=B3. =D0=B2 16:13, Meridoff <o=
[email protected]>:

> Hello, I'am testing config by -T option. In my config process.daemon=3Dtr=
ue.
> In this case after config tested successfully snort continues to run.
>
> May be it is feature and not bug. But i thing it would be better that
> priority of "-T" will be above then priority of other options - so proces=
s
> will exit on -T always.
>
> Is it bug?
>

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

<div dir=3D"ltr"><div dir=3D"ltr">snort =C2=A0-T -c /tmp/services/idsm/conf=
ig --lua &quot;process.daemon=3Dfalse&quot;<br></div><div>&quot;Fix&quot; t=
his.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm=
ail_attr">=D0=BF=D1=82, 18 =D0=BE=D0=BA=D1=82. 2019 =D0=B3. =D0=B2 16:13, M=
eridoff &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr=
">Hello, I&#39;am testing config by -T option. In my config process.daemon=
=3Dtrue.<div>In this case after config tested successfully snort continues =
to run.</div><div><br></div><div>May be it is feature and not bug. But i th=
ing it would be better that priority of &quot;-T&quot; will be above then p=
riority of other options - so process will exit on -T always.</div><div><br=
></div><div>Is it bug?</div></div>
</blockquote></div>

--000000000000270e0605952f2444--

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

_______________________________________________
Snort-devel mailing list
[email protected]
https://lists.snort.org/mailman/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

--===============8379896816861465360==--