From owner-freebsd-net@FreeBSD.ORG Fri Apr 10 01:00:22 2015 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87EA2235 for ; Fri, 10 Apr 2015 01:00:22 +0000 (UTC) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6E98B8A5 for ; Fri, 10 Apr 2015 01:00:22 +0000 (UTC) Received: from yuri.doctorlan.com (c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128]) (authenticated bits=0) by shell1.rawbw.com (8.14.9/8.14.9) with ESMTP id t3A10LPJ036304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 9 Apr 2015 18:00:21 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128] claimed to be yuri.doctorlan.com Message-ID: <552720A4.5030006@rawbw.com> Date: Thu, 09 Apr 2015 18:00:20 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: net@freebsd.org Subject: Re: [BUG?] dhclient sends packets with source IP address that has been deleted References: <55234B74.5020506@rawbw.com> In-Reply-To: <55234B74.5020506@rawbw.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 01:00:22 -0000 On 04/06/2015 20:13, Yuri wrote: > I am observing what dhclient sends to the server. Source IP of the > packet it sends is the previous DHCP lease. This address doesn't exist > any more, because I manually deleted it with 'ifconfig em0 remove > ' command. Yet, when I rerun dhclient, it takes this address from > /var/db/dhclient.leases.em0 and sends the UDP packet with this > non-existent IP as source address in IP header. Here is why I was asking many annoying questions lately in this ML: https://github.com/yurivict/freebsd-vbox-to-tor New service to connect VirtualBox VM to TOR using firewall rules and tap(4) interfaces. Security-through-isolation. Yuri