From owner-freebsd-security@FreeBSD.ORG Sat Dec 11 07:51:00 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F053E16A4CE for ; Sat, 11 Dec 2004 07:51:00 +0000 (GMT) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 690D243D48 for ; Sat, 11 Dec 2004 07:51:00 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id 6F6A687CA for ; Sat, 11 Dec 2004 09:50:56 +0200 (EET) Received: (nullmailer pid 35669 invoked by uid 1004); Sat, 11 Dec 2004 07:51:28 -0000 Date: Sat, 11 Dec 2004 09:51:28 +0200 From: Vasil Dimov To: freebsd-security@freebsd.org Message-ID: <20041211075128.GA35474@sinanica.bg.datamax> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline X-OS: FreeBSD 5.3-STABLE User-Agent: Mutt/1.5.6i X-Mailman-Approved-At: Sat, 11 Dec 2004 13:30:41 +0000 Subject: need some advice on connections logs X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vd@datamax.bg List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2004 07:51:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Hello- > > What is the best way to deal with getting logs for someone attacking my > box? I am not really sure, but I think it may involve tcpdump. Is > there any way to implement this so that it can be running before an > attack happens?.....see the problem is, that I do not have physical > access to the box and if it is taken down(unaccessible by remote means), > I cannot log in to start a dump. What can I do in this case, or what > are my options, if I want to have the network connections dumped somehow > with no intervention?....is that a tall order? > > Thanks, > Bob See ipfw(8) and/or ipf(8), ipf(5) and/or pfctl(8), pf.conf(5), pflogd(8) (5.x only) Especially the log options for those facilities. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBuqcAFw6SP/bBpCARAnzZAJ4/FY9eDIbUIl8ZqCOXiXwSsyD/NACeMvUV YteM4eFE6q/7msvgCbJlk8k= =6uzJ -----END PGP SIGNATURE-----