From owner-freebsd-questions Mon May 28 6:33:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 1FF3B37B422 for ; Mon, 28 May 2001 06:33:56 -0700 (PDT) (envelope-from wmoran@iowna.com) Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f4SDR2k11825; Mon, 28 May 2001 09:27:02 -0400 (EDT) Message-ID: <3B125293.10522873@iowna.com> Date: Mon, 28 May 2001 09:28:51 -0400 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Alex M Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw and nmap References: <001701c0e736$25f5f460$ea31fea9@parkson> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Get more specific with your ruleset, or add a rule that specifically allows anything going out such as: 00900 allow ip from ${myip} to any Is that your entire ruleset? If it is, I'm confused as to what could be blocking your nmap scans. I would think everything would work except the ports you have listed. -Bill Alex M wrote: > > Hi all, > > i recently been playing with ipfw and added the following rules: > > voyager# ipfw list > 01000 deny tcp from any to any 111,587,3306 > 01100 deny udp from any to any 111,587,3306 > 01200 allow tcp from any to any established > 65000 allow ip from any to any > 65535 deny ip from any to any > > After that I discovered several problems with nmap, for example: > > voyager# nmap -sT localhost > Strange error from connect (13):Permission denied > ...scan will continue. > > voyager# nmap -sS localhost > sendto in send_tcp_raw: sendto(3, packet, 40, 0, 127.0.0.1, 16) => > Permission denied > Sleeping 15 seconds then retrying > ...scan will stop. > > Can these errors be avoided somehow? Any help will be appreciated, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message