Comments (5)
They also have this problem at the Sigcomm2017 tutorial, they are missing:
hdr.ipv4_option.optionLength = hdr.ipv4_option.optionLength + 4;
Otherwise wireshark or scapy are not able to parse properly the header.
from tutorials.
Adding label "help wanted" on this one, in hopes that someone with time and interest can investigate whether this is still a problem in latest version of the mri exercise, and fix it, or determine that it has already been fixed.
from tutorials.
What has to be checked here? @jafingerhut
from tutorials.
The first several comments of this issue suggest that there were some lines of code missing in order for the packets to be modified to become correct IPv4 packets. It would be good to find out whether those suggested changes still have not been made, or whether they were made some time after this issue was first created.
from tutorials.
I have run the mri exercise solution in solutions/mri.p4 as of 2024-Jul-07, and it appears to be correct, updating the IPv4 header length (field ihl) as required.
from tutorials.
Related Issues (20)
- ModuleNotFoundError: No module named 'p4.config' HOT 8
- Update the basic Exercise with prerequisite section HOT 2
- . /mycontroller.py ModuleNotFoundError: No module named 'p4.tmp' HOT 3
- VM Booting Issue in Windows 11 Home HOT 7
- Parsing Infiniband Packet with P4 HOT 2
- Is there any p4lang environment for macbook m2? HOT 3
- Including support for IPv6 encoding and decoding
- Consider adding better documentation for why certain host initialization commands are present in JSON files of some exercises HOT 4
- P4 switch s1 did not start correctly HOT 1
- The definition of table entries
- There seems to be a problem when I run calc.p4 HOT 10
- For the header of ipv4_t, why not use bit<32> srcIp instead of the bit<32> srcAddr ? HOT 1
- I want to know why I can't write the ternary rules to the flow table by python script. HOT 6
- Step 2 of QoS exercise HOT 2
- Problems in installing bmv2 and p4c on kali Linux HOT 3
- Problem initial run Load Balancer Tutorial HOT 1
- Packet aggregation HOT 2
- ONF Account Registration could not be registered, so I unable to log in to https://forum.p4.org HOT 2
- How to assign IP address to P4 Switches? HOT 1
- How to set the idle_timeout? HOT 5
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 tutorials.