Git Product home page Git Product logo

Comments (3)

pallas avatar pallas commented on May 19, 2024

Can you post a minimal click config please? There are two halves to each interface, the device side and the host side. For tcpdump to work, you need to make sure the packets reach the host side.

from click.

pvc468 avatar pvc468 commented on May 19, 2024

InfiniteSource(DATA <
00 00 c0 ae 67 ef 00 00 00 00 00 00 08 00
45 00 00 28 00 00 00 00 40 11 77 c3 01 00 00 01 02 00 00 02
13 69 13 69 00 14 d6 41
55 44 50 20 70 61 63 6b 65 74 21 0a 04 00 00 00 01 00 00 00
01 00 00 00 00 00 00 00 00 80 04 08 00 80 04 08 53 53 00 00
53 53 00 00 05 00 00 00 00 10 00 00 01 00 00 00 54 53 00 00
54 e3 04 08 54 e3 04 08 d8 01 00 00

, LIMIT 600000, BURST 5, STOP true) -> Strip(14)
-> CheckIPHeader(BADSRC 18.26.4.255 2.255.255.255 1.255.255.255)
-> RED(10, 100, .5)
-> Queue
-> ToDevice(eth1);

I am trying to foward udp packets from eth0 to eth1. I wrote this as a test program to check whether I can foward them by using infinite source.

from click.

pallas avatar pallas commented on May 19, 2024

So, this config generates 600000 packets, cuts off the ethernet header, checks the IP header, performs RED, and then sends the packets to the eth1 MAC. If you want to see them via tcpdump, you need to send them to the host interface, i.e. ToHost(eth1). You should also look into whether it would be appropriate to set the SNIFFERS flag.

from click.

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.