Git Product home page Git Product logo

arp_tbf_limit's Introduction

本程序是基于netfilter的扩展模块实现对某一网口arp包的限制过滤,达到预防arp flood的目的 程序分为两部分:kernel模块 和 应用程序

userspace: 应用程序arp_defense_client通过netlink配置内核模块的过滤规则: 例如:arp_defense_client add eth0 50 50 即通知内核模块添加过滤规则:对eth0口的arp进行包 速限制,如果进入网口的某一(IP+MAC)源 每秒钟的arp包数超过50(或者突发报数超过50)即丢弃此来自此(IP+MAC)源的arp包

====== kernel: 内核模块arp_defense.ko 负责接收应用层程序 arp_defense_client下发的配置规则,解析出相关参数 通过TBF算法进行arp包计算过滤

====== 内核模块的Makefile请根据对应kernel目录进行修改

arp_tbf_limit's People

Contributors

andyfighting avatar

Watchers

 avatar  avatar

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.