From owner-freebsd-java@FreeBSD.ORG Thu Jan 31 13:40:44 2013 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 21334F79 for ; Thu, 31 Jan 2013 13:40:44 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0627FE for ; Thu, 31 Jan 2013 13:40:43 +0000 (UTC) Received: (qmail 37998 invoked by uid 80); 31 Jan 2013 13:40:41 -0000 Received: from 164.61.223.12 ([164.61.223.12]) by avocado.salatschuessel.net (Horde Framework) with HTTP; Thu, 31 Jan 2013 14:40:41 +0100 Date: Thu, 31 Jan 2013 14:40:41 +0100 Message-ID: <20130131144041.Horde.Iz5-mKJH1WTSM_-JX3KKpQ5@avocado.salatschuessel.net> From: Oliver Lehmann To: java@freebsd.org Subject: Re: migration diablo-jre openjdk-jre References: <20130130215438.Horde.qgCXWh6W7_lYONXtU4_9Og3@avocado.salatschuessel.net> <20130131073044.Horde.26xAh7xsQ27FI55KT1eoWg9@avocado.salatschuessel.net> In-Reply-To: User-Agent: Internet Messaging Program (IMP) H5 (6.0.3) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2013 13:40:44 -0000 I think I found the problem, but not what is causing it. diable-jre sends out the data using my interface re0, and the address "10.0.0.23". openjdk seems to send out the data somehow through my tun0 interface with the address "10.0.0.23". This of course is complete nonsense. My firewall blocks this traffic: Jan 31 14:29:31 gurke kernel: ipfw: 6004 Deny UDP 10.0.0.23:33104 239.255.255.250:1900 in via tun0 Jan 31 14:29:35 gurke last message repeated 9 times Jan 31 14:29:46 gurke kernel: ipfw: 6004 Deny UDP 10.0.0.23:33892 239.255.255.250:1900 in via tun0 Jan 31 14:29:50 gurke last message repeated 9 times Jan 31 14:30:10 gurke kernel: ipfw: 6004 Deny UDP 10.0.0.23:20827 239.255.255.250:1900 in via tun0 tun0 is my PPP device to the "outside" world - no idea why it is picked up. The program itself also outputs that it is using the right interface: [main] INFO 14:37:18.681 Scanning network interface re0 / re0 [main] INFO 14:37:18.695 Using forced address 10.0.0.23 [main] INFO 14:37:18.699 Created socket: /10.0.0.23:5001 [main] DEBUG 14:37:19.367 Sending ALIVE... Incoming data on my PPP interface from a jail on the same host this is.... wow - crazy ;) relevant truss output for diablo: http://pastebin.com/RLiFBZTa relevant truss output for openjdk: http://pastebin.com/WHZnKnAS