Date: Mon, 18 Mar 2013 12:52:29 +0330 From: s m <sam.gh1986@gmail.com> To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: how run snort in quiet and deamon mode Message-ID: <CAA_1SgEumSiFwaMqzeouQ_SG1aE10U-Ld7TpiYLP33WVs3jKdA@mail.gmail.com> In-Reply-To: <20130317194625.3c4307c6.freebsd@edvax.de> References: <CAA_1SgGHg3APcDqhxcZGkh02XZBCVgfhA22cpf=VjWcnKZBqcw@mail.gmail.com> <20130317194625.3c4307c6.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
great!! "snort -q &" runs snort in daemon and silent mode as i expected:) thank you so much On 3/17/13, Polytropon <freebsd@edvax.de> wrote: > On Sun, 17 Mar 2013 12:15:53 +0330, s m wrote: >> hello guys >> >> i have a freebsd8.2 and wanna run snort on it. my snort version is >> 2.9.3.1. i want to run snort in deamon mode and quietly. man page says >> that "D" flag is for running snort in deamon mode and "q" flag is to >> run it quietly(do not show startup message). my problem is, these two >> flag can not work together. when i run "snort -q -D" or "snort -D -q", >> snort run in deamon mode but some startup messages are shown. when i >> run "snort -q" no message is shown. >> >> i know it is so simple issue but i do not know how to do that. any >> hints or comments are appreciated. > > Maybe you can start the program as a (quite) background process? > > snort -q & > > If you encounter issues related to "controlling terminal disconnect", > you can use the system's "daemon" command to basically do what -D > would do, or use the port "detach". > > daemon snort -q > > See "man daemon" for options you might need to add. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA_1SgEumSiFwaMqzeouQ_SG1aE10U-Ld7TpiYLP33WVs3jKdA>