alexk99 / the_router Goto Github PK
View Code? Open in Web Editor NEWTheRouter is a software packet router based on DPDK an NPF libraries.
TheRouter is a software packet router based on DPDK an NPF libraries.
Hi,
Will be released the source code of The Router so we may contribute or check the updates that were done?
Hi there
@alexk99 Can you please provide me your direct email? We have some commercial questions about your router project ;)
Thanks!
Giezi
Cannot download http://therouter.net/downloads/the_router.latest.6cores.dpdk.17.11.1.b0.50.tar.gz , can I find it anywhere else?
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?
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
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.