Comments (3)
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.
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.
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)
- Unit test for Elements HOT 2
- How to build a dependencies files HOT 2
- Add library to click HOT 2
- issue with adding library HOT 3
- chaning .click file dynamicly HOT 4
- Run multiple instanse of click with same DPDK HOT 3
- Sync with meson in DPDK HOT 2
- compilation error on Ubuntu 21.04 (g++ 11.1) HOT 9
- firewall implementation and traffic forwarding HOT 4
- Flow based Load Balancer HOT 7
- create handler HOT 2
- Benchmarking a click NF showing weird behavior
- Multi threading in click HOT 2
- Make minios fails on Ubuntu 20.04 error: no include path in which to search for stdint.h
- linux_true was not declared HOT 1
- Hash collisions in IPRewriter? HOT 2
- Click program with DPDK cause high CPU utilization on other cores even if using taskset and lcore option HOT 1
- VXLAN elements
- element "IPReassembled" how to use?
- tftpmapper element
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from click.