From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 18 13:51:37 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 4562E707 for ; Thu, 18 Apr 2013 13:51:37 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward18.mail.yandex.net (forward18.mail.yandex.net [IPv6:2a02:6b8:0:1402::3]) by mx1.freebsd.org (Postfix) with ESMTP id ED70DF68 for ; Thu, 18 Apr 2013 13:51:36 +0000 (UTC) Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [95.108.252.17]) by forward18.mail.yandex.net (Yandex) with ESMTP id 16B721780F36; Thu, 18 Apr 2013 17:51:23 +0400 (MSK) Received: from smtp17.mail.yandex.net (localhost [127.0.0.1]) by smtp17.mail.yandex.net (Yandex) with ESMTP id D8AB61900442; Thu, 18 Apr 2013 17:51:22 +0400 (MSK) Received: from v10-166-111.yandex.net (v10-166-111.yandex.net [84.201.166.111]) by smtp17.mail.yandex.net (nwsmtp/Yandex) with ESMTP id UAbXdZMz5P-pMeGPZ4Q; Thu, 18 Apr 2013 17:51:22 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1366293082; bh=yn6rBYZpeEz2G5P92enQCF/QZAxMsZ231qcXYEd2+nA=; 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=l2eee5BYfhGNO7B8Lk5EvXVVYQdwtQ3+ihdbTkrvnLPROJCbSeAA1gey44w1I0IEo uhuu+0v+R2ktcb/av4NMSuh/Yc1gC9C2TOaQO8193Y71Jd4fFQAGJHloKW0zzXuYKQ apCx/T5K03orH8dI33uakLsYCoYsSp/SupYomAao= Authentication-Results: smtp17.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <516FF9E1.5030303@yandex.ru> Date: Thu, 18 Apr 2013 17:49:21 +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: <516FF961.5070100@yandex.ru> In-Reply-To: <516FF961.5070100@yandex.ru> 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:51:37 -0000 On 18.04.2013 17:47, Andrey V. Elsukov wrote: > 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? Oh, of course, I mean, what do you have in td->td_ucred? -- WBR, Andrey V. Elsukov