From owner-freebsd-questions@FreeBSD.ORG Tue Apr 27 13:11:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFD5D16A4CE for ; Tue, 27 Apr 2004 13:11:39 -0700 (PDT) Received: from rastaban.dandy.net (rastaban.dandy.net [209.128.224.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7210043D39 for ; Tue, 27 Apr 2004 13:11:39 -0700 (PDT) (envelope-from andy@neu.net) Received: from Mira.dandy.net (mira.dandy.net [209.128.224.15]) by rastaban.dandy.net (8.12.10/8.12.6) with ESMTP id i3RKBcUc030629 for ; Tue, 27 Apr 2004 16:11:38 -0400 Date: Tue, 27 Apr 2004 16:11:38 -0400 (EDT) From: andy@neu.net X-X-Sender: andyneu@Mira.dandy.net To: freebsd-questions@freebsd.org In-Reply-To: <20040427165617.736E016A4EB@hub.freebsd.org> Message-ID: References: <20040427165617.736E016A4EB@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: ipmon logging problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 20:11:40 -0000 I am also having a problem getting logging to work (as described below). I tried to start it manually with: ipmon -P -D -oi /var/log/ipflog and I get a message saying "unknown log option i". I read http://www.freebsd.org/cgi/query-pr.cgi?pr=misc%2F56715, and it says "start ipmon after initializing ipfilter". So, I changed the order of the entries in rc.conf and now the ipmon statements are above the ipfilter statements, rebooted but still nothing in the log. Does the order of the statements in rc.conf mean anything? How do you get ipmon to start after ipfilter? Andy John Murphy wrote: > Thanks both for the suggestions. I tried: > ipmon_flags="-Dsn" and ipmon_flags="-oi /var/log/ipflog" > to no avail. I even read man ipmon! > > As far as I can tell ipmon is not starting via rc.conf. > If I start it manually with: > ipmon -P -D -oi /var/log/ipflog it works (although I don't > see a PID in /var/run even if I leave out the -D).