From owner-freebsd-questions@FreeBSD.ORG Mon Mar 18 11:12:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 61E64AD1 for ; Mon, 18 Mar 2013 11:12:45 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx1.freebsd.org (Postfix) with ESMTP id E3985D9E for ; Mon, 18 Mar 2013 11:12:44 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id gg13so4535843lbb.16 for ; Mon, 18 Mar 2013 04:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=DiR1eS/iRhesEHjZmLOcOSsfAEN0i1POHe1Tk1DkSuU=; b=DHJNeRG4brJ+2ULoV2949+w+SxIP//cRSESdU2Tgf1aKDVORprI0mDp3rOVnqhZNOR OAQdUxLJaT2HzQoy8YOT1epTenQA0lYj6M+JS4O7/HlwKvNfFSwveL+BSZ6ryVzWeOyw kw73koqLo2yerhjFMmgNq3OV+q/HRKWc8mPbBVkbDeJsQ83OmVwn0FB9G+n1XMTxrbNI h4/KGQGHDp9ePpXSWq0oAg6isP5bHEH09V6/mtzGr62dT453hqS3t0ExnUeWCdggRouB ZZKU60IJ7Mk2ifF1MCWNWgphEvm9i97BGYipkoWtIxdPsroOHFX+ni+/7enJdHZgx5hc EGcQ== MIME-Version: 1.0 X-Received: by 10.152.87.177 with SMTP id az17mr12324416lab.2.1363598550394; Mon, 18 Mar 2013 02:22:30 -0700 (PDT) Received: by 10.112.143.201 with HTTP; Mon, 18 Mar 2013 02:22:29 -0700 (PDT) In-Reply-To: <20130317194625.3c4307c6.freebsd@edvax.de> References: <20130317194625.3c4307c6.freebsd@edvax.de> Date: Mon, 18 Mar 2013 12:52:29 +0330 Message-ID: Subject: Re: how run snort in quiet and deamon mode From: s m To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2013 11:12:45 -0000 great!! "snort -q &" runs snort in daemon and silent mode as i expected:) thank you so much On 3/17/13, Polytropon 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, ... >