From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 18 13:49:16 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D3C93539 for ; Thu, 18 Apr 2013 13:49:16 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward17.mail.yandex.net (forward17.mail.yandex.net [IPv6:2a02:6b8:0:1402::2]) by mx1.freebsd.org (Postfix) with ESMTP id 82B30F2A for ; Thu, 18 Apr 2013 13:49:16 +0000 (UTC) Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward17.mail.yandex.net (Yandex) with ESMTP id 3BA6D10619B7; Thu, 18 Apr 2013 17:49:15 +0400 (MSK) Received: from smtp16.mail.yandex.net (localhost [127.0.0.1]) by smtp16.mail.yandex.net (Yandex) with ESMTP id 084E26A0734; Thu, 18 Apr 2013 17:49:14 +0400 (MSK) Received: from v10-166-111.yandex.net (v10-166-111.yandex.net [84.201.166.111]) by smtp16.mail.yandex.net (nwsmtp/Yandex) with ESMTP id sU26mlUVfG-nECiRYWV; Thu, 18 Apr 2013 17:49:14 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1366292954; bh=DlSS7nRrwY4YdDjVFkEr6IKi5lsOXhquJC/fO+aF0vQ=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=RZ0WtxkTSN6FqPI88qc7ffqP9IDexHP2i6ftgWz0KlsOWuDzo/66IyL1mKnylW0yP iSsQf0Sz4ouMT4VdjqBljQkzo/HCo7Uqs9PrZX4pmyTbvic83H9/O5kqV4frGryCU0 0dXwo6Y7m/WtSO9dU89muR+Sh141EEa6RcQcSN/U= Authentication-Results: smtp16.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <516FF961.5070100@yandex.ru> Date: Thu, 18 Apr 2013 17:47:13 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Sreenivasa Honnur Subject: Re: PV6 bind fails with 49 (#define EADDRNOTAVAIL 49 /* Can't assign requested address */) References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 13:49:16 -0000 On 18.04.2013 15:37, Sreenivasa Honnur wrote: > I have a ipv6 interface(ping6 to a remove ipv6 works) when I try to > bind to this address through a socket program "sobind" fails with > "49" as return value. If I give "saddr6.sin6_addr = in6addr_any;" > sobind works. > > Any idea what could be going wrong here? What value has the sysctl variable security.jail.jailed? -- WBR, Andrey V. Elsukov