Skip to content

Conversation

onetown
Copy link
Contributor

@onetown onetown commented Jul 17, 2025

This pull request addresses a bug where the ParsePacketL2Ex won't parse Layer 3 packet data when it was encapsulated in a frame with a VLAN tag.

Previously, upon receiving a packet with a VLAN tag, the decapsulation process would not proceed to analyze the inner packet. This prevented the Layer 3 protocol (e.g., IP) from being correctly identified and processed, breaking functionalities that rely on L3 information (packet log for example).

This patch modifies the packet handling logic to ensure that after a VLAN tag is identified, the process continues to decapsulate the rest of the frame, allowing for the proper parsing of the Layer 3 packet within.

The issue I mentioned before #2138

@chipitsine
Copy link
Member

what do you think, should we emit new release ?

also, if someone is not using vlans, he we'll not notice anything, right ?

@onetown
Copy link
Contributor Author

onetown commented Jul 17, 2025

what do you think, should we emit new release ?

I consider this a "nice-to-have" fix rather than a critical one, as the number of users who rely on both VLAN IDs and packet logging is likely small. I'm happy to leave the decision on whether to merge it to the master branch to your judgment.

also, if someone is not using vlans, he we'll not notice anything, right ?

That is correct. :)

@chipitsine chipitsine merged commit 10d6efc into SoftEtherVPN:master Jul 17, 2025
14 checks passed
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

Successfully merging this pull request may close these issues.

2 participants