[Bug 248647] net/fping: Fails to run inside a FreeBSD jail with "allow.raw_sockets": Can't assign requested address

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 20 06:01:25 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248647

--- Comment #7 from Dirk Meyer <dinoex at 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.

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


More information about the freebsd-ports-bugs mailing list