Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2020 06:01:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248647] net/fping: Fails to run inside a FreeBSD jail with "allow.raw_sockets": Can't assign requested address
Message-ID:  <bug-248647-7788-go93U7zZsO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-248647-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-248647-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248647

--- Comment #7 from Dirk Meyer <dinoex@FreeBSD.org> ---

As seen in the truss output

fping6 tries to bind to an IPv4, AF_INET
fping tries to bind to an IPV4 and IPv6.

I got fping to work if I force both Source.Addresses.

Looking at the diffs I see that
src_addr_set and src_addr6_set is set but not used.

Revering the conditions in fping.c resolves the problems for me.

I propose the following patch to fix the port.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248647-7788-go93U7zZsO>