-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interfaces: also set PCP value on IPv4 DHCP traffic
- Loading branch information
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d08a425There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our own fix which pfSense didn’t want may have worked around the bug introduced by it… opnsense/src@5e4e4f8
d08a425There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For reference the fix for BPF but not unicast socket: opnsense/src@50ecd99
d08a425There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the recent issue with Orange.fr regarding vlan priority is caused by this part :
https://github.com/opnsense/src/blob/stable/23.1/sbin/dhclient/bpf.c#L376
when renewing the lease, the client sent a unicast packet to the last known dhcp server, so it dont use the bpf socket and dont have the priority set
d08a425There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, but the firewall rule in this patch should take care of this and if not its scope may be wrong. IPv6 works the same way. We only ever had dhclient patches because they were written years before and worked reliably until upstream changed this perhaps…
d08a425There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tduboys 3ed4f6d might be needed as well, see forum discussion