From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 16 14:33:06 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0A5B16A4B3 for ; Tue, 16 Sep 2003 14:33:06 -0700 (PDT) Received: from fidel.freesurf.fr (fidel.freesurf.fr [212.43.206.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE30A43FDF for ; Tue, 16 Sep 2003 14:33:03 -0700 (PDT) (envelope-from pilax@freesurf.fr) Received: from freesurf.fr (arlette.freesurf.fr [212.43.206.12]) by fidel.freesurf.fr (Postfix) with SMTP id E92B82A6A0F for ; Tue, 16 Sep 2003 23:33:02 +0200 (CEST) Received: from 81.248.224.94 (SquirrelMail authenticated user pilax) by arlette.freesurf.fr with HTTP; Tue, 16 Sep 2003 23:55:12 +0200 (CEST) Message-ID: <2681.81.248.224.94.1063749312.squirrel@arlette.freesurf.fr> Date: Tue, 16 Sep 2003 23:55:12 +0200 (CEST) From: To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 16 Sep 2003 19:03:48 -0700 Subject: pppoe - nmap - No buffer space available X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 21:33:07 -0000 Hi all I've got a pppoe gateway with freebsd 5.1-release and two nics : a lan nic (RFC 1918) and a pppoe nic. (the same thing append with a 4.7-release...and older versions of nmap) When I launch nmap to test a machine on the inside : fine ! But when I launch nmap to test a machine on the outside (via tun0) I've got this message : ---------------- snip ------------------------ nmap -sS -O -vv -r -P0 X.X.X.X Starting nmap 3.45 ( http://www.insecure.org/nmap/ ) at 2003-09-16 23:03 CEST Host X.X.X.X appears to be up ... good. Initiating SYN Stealth Scan against X.X.X.X at 23:03 Adding open port 22/tcp sendto in send_tcp_raw: sendto(3, packet, 40, 0, X.X.X.X, 16) => No buffer space available Sleeping 15 seconds then retrying ---------------- snip ------------------------ Here is what I tried : Switch nic (fxp0 <-> xl0) Tune kern.ipc.nmbufs Raise kern.ipc.maxsockets above 35000 see netstat -m (seems regular) According to tcpdump nmap stop running after port 230. I've also tried the mailing-lists archives, the web and google groups : NOTHING ! Which informations do I provide you to help me ? Thanks ---------------------------------------------------------------- Ce service de mailing vous est offert par http://www.freesurf.fr. FreeSurf, votre acces ADSL a partir de 29 euros/mois http://www.freesurf.fr/adsl/