From owner-freebsd-security Sat Oct 12 1:53: 2 2002 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 C38A137B401 for ; Sat, 12 Oct 2002 01:52:58 -0700 (PDT) Received: from p7.ns777.net (p7.ns777.net [216.127.84.10]) by mx1.FreeBSD.org (Postfix) with SMTP id 26ED843EA9 for ; Sat, 12 Oct 2002 01:52:58 -0700 (PDT) (envelope-from alex.pavlovic@corp-x.com) Received: (qmail 25984 invoked from network); 12 Oct 2002 08:52:57 -0000 Received: from a0it30ycy20h9.bc.hsia.telus.net (HELO rg3xxrk05ruyqib) (66.183.61.160) by preview7.ns777.net with SMTP; 12 Oct 2002 08:52:57 -0000 From: "Alex Pavlovic" To: Subject: RE: monitor ALL connections to ALL ports Date: Sat, 12 Oct 2002 01:54:46 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, If I am not mistaken I think you are looking for ids. Your best bet would be something like snort ( snort.org ), as it recognizes multitude of attacks and probes. Logging incoming web server connections can be done via server log files, thats what they are for. Hope this helps. -- Alex Pavlovic Founder and CTO Corp-X Solutions http://www.corp-x.com -----Original Message----- From: owner-freebsd-security@FreeBSD.ORG [mailto:owner-freebsd-security@FreeBSD.ORG]On Behalf Of Maildrop Sent: Friday, October 11, 2002 10:18 PM To: freebsd-security@freebsd.org Subject: monitor ALL connections to ALL ports I currently have a DSL line and a FreeBSD firewall/gateway (dual homed). It has one internal IP address and 5 external IP address (one "real" ip and 4 alaises on same external nic). What I want to do is montior and record (to log) all incoming/outging connection (just source ip/dest ip/port). If someone connects to my web server it should log what ip accessed it, the time, which ip (web server runs on 2 external ip address) and the port. Also if someone does a port scan against the box I should be able to tell it is a port scan (since one ip address would be opening up a bunch of ports). Right now I don't care what data is being sent/received, just what connections are being made (and the details about those connections). Any suggestions? Regards, Jack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message