From owner-freebsd-net@freebsd.org Mon May 16 17:36:53 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE80CB3CAB8 for ; Mon, 16 May 2016 17:36:53 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB2361A51 for ; Mon, 16 May 2016 17:36:53 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1b2MRm-000JHH-91; Mon, 16 May 2016 18:36:50 +0100 Date: Mon, 16 May 2016 18:36:50 +0100 From: Gary Palmer To: Larry Rosenman Cc: Freebsd net Subject: Re: Closed port RST: Any way to find out what port(s)? Message-ID: <20160516173649.GA15236@in-addr.com> References: <472a21d960dd951dfd4a70e5dc94b7e5@thebighonker.lerctr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <472a21d960dd951dfd4a70e5dc94b7e5@thebighonker.lerctr.org> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 17:36:54 -0000 On Mon, May 16, 2016 at 12:31:02PM -0500, Larry Rosenman wrote: > I'm seeing tons of: > Limiting closed port RST response from 201 to 200 packets/sec > in my log. Is there any way to see what port(s) are being pounded? sysctl net.inet.tcp.log_in_vain=1 I expect you would get a ton of spam from that, so my suggestion would be tcpdump. e.g. tcpdump -i -n 'tcp[tcpflags] & (tcp-rst) != 0' Regards, Gary