Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is dummynet for linux still maintained? #23

Open
sukovec opened this issue Apr 26, 2018 · 1 comment
Open

Is dummynet for linux still maintained? #23

sukovec opened this issue Apr 26, 2018 · 1 comment

Comments

@sukovec
Copy link

sukovec commented Apr 26, 2018

Hello.

I would like to ask, if dummynet/ipfw3 for linux is still maintained? Today, I've tried to compile it on two different systems: Archlinux & OpenWRT.

On OpenWRT (the kernel it's building against is 4.4.128), compilation ends with following:

make[3]: Entering directory `/home/build/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.15_eabi/linux-mvebu/ipfw3/ipfw'
    CC ipfw2.c
ipfw2.c:27:24: fatal error: sys/sysctl.h: No such file or directory
 #include <sys/sysctl.h>

I've tried (pretty "cargocultic" way, I know) to replace these includes with linux/sysctl.h, but it ended with pretty long output meaning something about incompatible IPv6 structs.

So there are two possibilites:

  1. I'm doing something horribly wrong.
  2. With 4 years since last change, the dummynet is incompatible with contemporary kernels ... and will be.

What is the correct answer and is there something I can do about it?

@sgeto
Copy link

sgeto commented May 14, 2018

Is dummynet for linux still maintained?

Obviously not. You need to provide buildlogs and infos about your target OS if you want anyone to help you with this.

Are you on OpenWrt Chaos Calmer 15.05?
Also instead of including entire source files, you're better of adding the missing stuff to glue.h/c to prevent conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants