Emanuel Haupt
Emanuel Haupt
Running `gping` `1.16.1` as unprivileged user on FreeBSD 14.0-RELEASE amd64 I get: ```sh $ gping www.google.com There was an error running ping: exit status: 1 Stderr: ping: Operation not permitted:...
I can understand your frustration. I'm not sure as to why but I suspect the same. Could you please review my [branch](https://github.com/ehaupt/gping/commit/f67825ed841f1556234ce9f7f94925021918b7db) I've created? It works(tm) on my machine.
Hey no worries @orf there is no rush. I'll work out a PR. I think we should probably discriminate between Linux and *BSD.
I would be more than happy if you could integrate my rather unrefined prototype. I have also linked [another PR](https://github.com/orf/gping/issues/392) (OpenBSD) to this issue. It seems that addressing this directly...
Related: https://github.com/orf/gping/issues/236
4.4.3 builds fine.
> OK, I'll build up a FreeBSD VM to test on. Quick setup to have all deps: ```Vagrantfile Vagrant.configure("2") do |config| config.vm.box = "freebsd/FreeBSD-13.2-RELEASE" config.vm.box_version = "2023.04.07" config.vm.provision "shell", inline:
Just to verify, I attempted compiling with a different compiler (gcc 12.2.0), but it failed as well. See [tcpreplay-4.4.4_gcc_freebsd_13_1.log](https://github.com/appneta/tcpreplay/files/11766623/tcpreplay-4.4.4_gcc_freebsd_13_1.log) The title of the issue should probably be changed to: ```text...
According to [repology](https://repology.org/project/tcpreplay/versions), no other *BSD has updated to `4.4.4` so this bug likely exists on those platforms as well.
On FreeBSD, this issue is mitigated by applying the following patch: ```diff --- lib/queue.h.orig 2024-03-24 16:55:28 UTC +++ lib/queue.h @@ -36,8 +36,8 @@ * @(#)queue.h 8.5 (Berkeley) 8/20/94 */ -#ifndef...