Git Product home page Git Product logo

xdp_acl's Introduction

Inspired by this paper

Benchmarks

Performance comparison test of dropping 64 byte syn packet alt benchmarks

Notice

Docs

Environment

Get Started

Download directly from release tab or compile by yourself.

# Compile
$ make

# Get help
$ ./xdp_acl -h

# Start (Inner web server will default listen on 0.0.0.0:9090).
$ ./xdp_acl -D eth1 -S

Web console

alt web console

xdp_acl's People

Contributors

glennwang avatar hi-glenn 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

Watchers

 avatar

xdp_acl's Issues

panic: cannot allocate memory

不能分配内存?

root@host-10-102-126-64:/xdp_acl# uname -r
5.4.0-84-generic

root@host-10-102-126-64:/xdp_acl# ./xdp_acl  -D eth0
Load XDP in AUTO mode
Welcome to XDP ACL
panic: cannot allocate memory

goroutine 1 [running]:
main.loadXdpOnLink()
	/xdp_acl/xdp_about.go:99 +0x17e
main.main()
	/xdp_acl/main.go:87 +0x190

Driver with XDP native mode support in virtualbox

Hi @glenn-wang,

I am trying to run xdp program in native mode inside virtual box?

All drivers except virtio-net present in virtualbox don't support native mode XDP.
I tried virtio-net, but I get the error

libbpf: Kernel error message: virtio_net: Can't set XDP while host is implementing LRO/CSUM, disable LRO/CSUM first

I couldn't disable LRO using ethtool :( and couldn't find any other solution for this.

Are you aware of any other way by which we can run in native mode?

Original Vue files

Hello there. Do you mind posting the original Vue files for the integrated web GUI?
Thanks!

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.