From owner-freebsd-questions Tue May 22 2:45:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay3.inwind.it (relay3.inwind.it [212.141.53.74]) by hub.freebsd.org (Postfix) with ESMTP id C2EBB37B422 for ; Tue, 22 May 2001 02:45:31 -0700 (PDT) (envelope-from fcasadei@inwind.it) Received: from [62.98.207.236] (62.98.207.236) by relay3.inwind.it (5.5.029) id 3AE401CE00725D0C for questions@FreeBSD.ORG; Tue, 22 May 2001 11:45:24 +0200 Received: (qmail 1202 invoked by uid 1000); 22 May 2001 09:44:35 -0000 Date: Tue, 22 May 2001 11:44:35 +0200 From: Francesco Casadei To: Kevan Olhausen Cc: questions@FreeBSD.ORG Subject: Re: How do I show natd connections? Message-ID: <20010522114435.A1140@goku.kasby> References: <000501c0e237$5e16b900$960aa8c0@windernet.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000501c0e237$5e16b900$960aa8c0@windernet.com>; from kevan@solidnet.com on Mon, May 21, 2001 at 01:48:18PM -0700 X-Operating-System: FreeBSD 4.3-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 21, 2001 at 01:48:18PM -0700, Kevan Olhausen wrote: > I wanted to find out how I might be able to display the connections that > natd is making, similar to the "ipchains -M -n" command. I just installed > FreeBSD 4.3 as a firewall for our corporate office and I'm monitoring the > natd CPU usage through top and watching the source connections through nt= op > but I wanted to display source and destination activity. If you could lead > me to a real-time monitor for this usage it would be more than greatly > appreciated! Thanks in advance. >=20 > Kevan >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 > end of the original message =46rom natd(8) manpage: [...] -log | -l Log various aliasing statistics and information to the file /var/log/alias.log. This file is truncated each time natd= is started. [...] -log_denied Log denied incoming packets via syslog(3) (see also -log_facility). -log_facility facility_name Use specified log facility when logging information via syslog(3). Argument facility_name is one of the keywords specified in syslog.conf(5). [...] -verbose | -v Do not call daemon(3) on startup. Instead, stay attached = to the controlling terminal and display all packet alterations to the standard output. This option should only be used f= or debugging purposes. [...] Francesco Casadei --=20 You can download my public key from http://digilander.iol.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7CjUDfsM3XxZOsXsRAtGqAJwN+pm8GnAO7q8ehPTSitwVql/uIgCfXPh9 CaW1dHa+qNHZ4NpmH+dBqes= =HetO -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message