Code Monkey home page Code Monkey logo

the_router's People

Contributors

alexk99 avatar imre12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

the_router's Issues

NPF compilation failure

Error to the compile npf in ubuntu 20.04:

Step:

Install NPF

Clone NPF

git clone -b conn_limits https://github.com/alexk99/npf
Download city.h, then

cp city.h /usr/local/include/
Run the following commands:

cd npf/src
cd libnpf/net
rm ./npf.h
ln -s ../../kern/npf.h npf.h
cd ../..

export DESTDIR=/
export LIBDIR=/usr/lib64
export INCDIR=/usr/local/include
export MANDIR=/usr/local
make
make install

root@victor:~/npf/src# make
make -j 1 -C kern lib
make[1]: Entering directory '/root/npf/src/kern'
libtool --mode=compile --tag CC cc -std=gnu99 -O3 -Wall -Wextra -Werror -flto -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -I stand -D_NPF_STANDALONE -D__RCSID(x)= -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused -DNPF_CONNMAP_EFFICIENT_CUCKOO -fvisibility=hidden -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -c npf.c
libtool: compile: cc -std=gnu99 -O3 -Wall -Wextra -Werror -flto -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -I stand -D_NPF_STANDALONE "-D__RCSID(x)=" -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused -DNPF_CONNMAP_EFFICIENT_CUCKOO -fvisibility=hidden -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -c npf.c -fPIC -DPIC -o .libs/npf.o
In file included from npf.h:45,
from npf_impl.h:61,
from npf.c:48:
stand/npf_stand.h: In function ‘npfkern_pthread_create’:
stand/npf_stand.h:207:39: error: cast between incompatible function types from ‘void (*)(void )’ to ‘void * ()(void *’ [-Werror=cast-function-type]
207 | return pthread_create(&l->thr, NULL, (void ()(void *))func, arg);
| ^
cc1: all warnings being treated as errors
make[1]: *** [Makefile:156: npf.lo] Error 1
make[1]: Leaving directory '/root/npf/src/kern'
make: *** [Makefile:4: all] Error 2

Source code

Hi,

Will be released the source code of The Router so we may contribute or check the updates that were done?

Do You plan HFSC+SFQ support?

We are one of the ISP in Poland. Now we get some sky in graphs and we are thinking about going from the scratch linux distro with our customized scripts to the_router or VyOS.

Is there any SFQ alternative in the_router? I see only WRR and RED in documentation.

Question

Hi there

@alexk99 Can you please provide me your direct email? We have some commercial questions about your router project ;)

Thanks!

Giezi

Is the_router suitable for a home?

The Swiss ISP Init7 recently started offering 25Gbps internet to its customers.

This is wonderful but there is currently very little hardware available that supports this use-case at a price regular people can afford.

Init7 currently offers the MikroTik CCR2004-1G-12S +2XS but this is barely able to keep up in the best of circumstances.

Would the_router running on say a mini-ITX PC with an Intel XXV710 NIC or two be a good fit?

No Code in Project Repo

What's the point of having a repo with a bunch of tutorials and benchmarks if there is no source code to go along with it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.