From owner-freebsd-net@FreeBSD.ORG Mon Jun 29 11:22:57 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADF691065679 for ; Mon, 29 Jun 2009 11:22:57 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: from mail-pz0-f197.google.com (mail-pz0-f197.google.com [209.85.222.197]) by mx1.freebsd.org (Postfix) with ESMTP id 877A08FC1A for ; Mon, 29 Jun 2009 11:22:57 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: by pzk35 with SMTP id 35so78567pzk.3 for ; Mon, 29 Jun 2009 04:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=AqOd0IvluzpTPgcti+blSU+susZdDgr+GewEoi8zjaU=; b=endD8TK6CpvR7JFGvfzS6xEKRSPaXlx91/W4LbbpJJodIv9p1JDzOstbCBJV8vpXnE npaoB7A1VlUNCQPDmL4gvoJ1PfxuCrRYciUTK62w7VQY13hZq9dkFNGKlRkD4LIdS72Q g78pF2AIdWp4OD7MKn7ebS+P5gRr9z65foyPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=vsFW3QCF4/jragq+C+MW69kvXPJ40wtvKY+XAtvlRBx/0SwXN1m9UkOaLRASRKERR8 eG/+87fInGQU79UJh7sAa7bfeooglUI2Cx+fzUhNWWC4Bk4jU72VWjKlNYlyySMuEiSY v2s7oto6fwtJmTxntMMWUPTKurLpHZ0dW5vFg= MIME-Version: 1.0 Received: by 10.142.133.19 with SMTP id g19mr48312wfd.38.1246274575805; Mon, 29 Jun 2009 04:22:55 -0700 (PDT) Date: Mon, 29 Jun 2009 21:22:55 +1000 Message-ID: <736c47cb0906290422y756a6a74i9029b4d27d2ade34@mail.gmail.com> From: Sam Wun To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Can't login Jailed system X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Jun 2009 11:22:58 -0000 Hi, With FreeBSD 7.2Stable, I have done this many times before. After about a month left the "jail" behind, now when I done a "/etc/rc.d/jail start" and ssh into it, I ended up login to the host system. Here is the network configuraiton of the host system and the jail system: # ifconfig rl0: flags=8843 metric 0 mtu 1500 options=8 ether 00:00:21:ef:27:f7 media: Ethernet autoselect (100baseTX ) status: active rl1: flags=8802 metric 0 mtu 1500 options=8 ether 00:50:fc:65:78:c0 media: Ethernet autoselect status: no carrier fxp0: flags=8843 metric 0 mtu 1500 options=8 ether 00:13:20:65:a9:be inet 192.168.1.246 netmask 0xffffff00 broadcast 192.168.1.255 inet 192.168.1.245 netmask 0xffffff00 broadcast 192.168.1.255 inet 192.168.1.235 netmask 0xffffff00 broadcast 192.168.1.255 inet 192.168.1.242 netmask 0xffffffff broadcast 192.168.1.242 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 metric 0 mtu 1500 enc0: flags=0<> metric 0 mtu 1536 pflog0: flags=141 metric 0 mtu 33204 pfsync0: flags=0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 twp1:# jls JID IP Address Hostname Path 5 192.168.1.242 twp5.ip6.com.au /usr/jail2/twp5 192.168.1.242 is the jailed system, twp1 is the host system. After I login 192.168.1.242, I ended up logged in twp1 which is my host system. Now I am stuck. I don't know how I logged in the jailed system a month ago. Can anyone shred some lights on me? Thanks Sam