Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

headers-edge.txt mpls #1

Open
ytti opened this issue Apr 2, 2014 · 0 comments
Open

headers-edge.txt mpls #1

ytti opened this issue Apr 2, 2014 · 0 comments

Comments

@ytti
Copy link

ytti commented Apr 2, 2014

I don't think you can reliably recognize protocol below MPLS (line 37..42)

You're now presuming reading BOS + IP version is reliable, but IANA assigns OUIs randomly since several years, so in many cases DMAC may look like IP version, causing misclassification in the naive approach.
Potentially causing reordering as ECMP guarantees might not apply.

I wonder if there even is proper/cheap fix? Or do you just need to assume IP based on IP version, until IP checksum fails (ipv4) => presume it's eth, or IPv6 until L4 checksum fails? Which seems terribly expensive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant