Giter Club home page Giter Club logo

Comments (3)

thombashi avatar thombashi commented on May 30, 2024

I'm not exactly sure what you intend to do,
if you would try to simulate the situation that network bandwidth saturation,
it would be good to apply traffic shaping rule to software router (with the --rate 10Mbps option).

from tcconfig.

a316105362 avatar a316105362 commented on May 30, 2024

@thombashi
For example there are 3 machine, A, B, C.
I want to limiit A's bandwidth and use B dos attack A, in order to A can't recive C's packet when dos attack.
I konw your tcset use tc command's htb algorithm like 'tc qdisc add dev eth1 root handle 16f1: htb default 1'.
Limiting bandwidth must have drop packet method. I have see htb algorithm in http://linux-ip.net/articles/Traffic-Control-HOWTO/classful-qdiscs.html#qc-htb , but I don't see how it drop packet.
So I want to konw 'htb' drop pacekt random or it is a 'first in first out(fifo)' queue.
If 'htb' drop packet random I can't really prevent C's packet when B dos A.
thanks for you reply.

from tcconfig.

thombashi avatar thombashi commented on May 30, 2024

@a316105362
As far as I know, htb algorithm is not exactly FIFO. i.e. htb will drop packets if there are not enough empty buckets.
If you would like to know more about the algorithm please refer HTB home, or posting to the tc mailing list would be recommended.

from tcconfig.

Related Issues (20)

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.