From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 09:23:55 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CB9316A402 for ; Mon, 26 Jun 2006 09:23:55 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D44E43D90 for ; Mon, 26 Jun 2006 09:23:51 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so1296621nzn for ; Mon, 26 Jun 2006 02:23:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ukr+JHJfCQJPkC6zD796+ZsdFVIpNfFTyUXMOALm4dYl/et/Fil0YFECcD9DgbBKq2iGsc1VX+t+2cp79z8jk6Z9iuUByvAzJhrp6wEFASgFklwPqSadh1pXcDsW2rNKEqtOF/Zb5zlKDbMLJ5Fprj00hn+pnDrJ1Ho4AGu+Uec= Received: by 10.37.21.4 with SMTP id y4mr7721542nzi; Mon, 26 Jun 2006 02:23:51 -0700 (PDT) Received: by 10.36.247.35 with HTTP; Mon, 26 Jun 2006 02:23:51 -0700 (PDT) Message-ID: Date: Mon, 26 Jun 2006 17:23:51 +0800 From: "Jiawei Ye" To: "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: tun0 unsuitable for nmap? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 09:23:55 -0000 Not sure where the problem is, so I just ask it here. nmap has not been working for me since I switched to using user-ppp with tun0. Though I am connected to the unternet, nmap would report: leafy@chihiro:~$ sudo nmap -v -sS Starting Nmap 4.10 ( http://www.insecure.org/nmap/ ) at 2006-06-26 17:22 CST WARNING: Unable to find appropriate interface for system route to nexthost: failed to determine route to QUITTING! Routing table shows: leafy@chihiro:~$ netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 203-70-98-1.adsl.d UGS 0 984046 tun0 localhost localhost UH 0 239838 lo0 192.168.0 link#2 UC 0 0 fxp1 203-70-98-1.adsl.d 203-70-98-57.adsl. UH 1 0 tun0 Is there anyway I can make this work? Regards, Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming