Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
nexdpi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
sysadmin
nexdpi
Commits
9811ca06
Commit
9811ca06
authored
Apr 24, 2021
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
8bac206a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
1 deletion
+46
-1
README.md
README.md
+46
-1
No files found.
README.md
View file @
9811ca06
Will add a readme here soon... or later.
\ No newline at end of file
# NexDPI
## Home Router shaping based (also) on Deep Packet Inspection gigabit capable.
Nowadays almost everyone with a fast home connection, where for fast i mean
gigabit optical fiber fast, uses the router furbished by the ISP.
I'm an old nerd, so, i want to use my own router and do fancy stuff with it!
My home router is a Celeron J1900 2Ghz 4 core machine with 8GB of RAM and
4 gigabit ethernet.
I found myself struggling to obtain a proper DPI and shaping policies using
the Linux IP stack despite the machine being quite powerful for a router,
but eventually thanks to a long trial and error i've been able to make it work
without sacrifice the troughtput.
Those scripts are some of the scripts i use on my own machine, they are rude,
somewhat hackish, but hey, they works for me, and you are free to try to adapt
them to your own machine if you like to. Use them at your own risks though!
### NOTE ON LIMITING DOWNLOAD WITH TC
As TC qdiscs and classes works on the outbound traffic (egress) on an interface,
to limit the download traffic you can apply the rules on the internal interface
or, as many suggests, use a ifb virtual interface and using the redirect feature
of tc filters redirect the ingress of the WAN interface to the virtual ifb,
and then apply your limitation there.
This is CRAP and a pain in the ass for performances, don't use it!
### HOT TO USE IT
Soon or later (probably later. A long time later i mean!) i will write some
doc and/or a post explaining how i use those scripts. For the moment, the source
is your friend, and if you can't read a simple source code,
then just don't use it!
### But why you are using rc.local, ifup-down and similar to execute the scripts?
Yes, i don't use systemd. It's not installed on my machines. I'm not a fan, and
i run my machines with Devuan GNU/Linux so i can get rid of that piece of crap
that is systemd.
If you want to adapt it to use with systemd, do it, but don't expect me to
do anything for it now or in future.
:wq
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment