-
Notifications
You must be signed in to change notification settings - Fork 18
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
Open different socket to enable interface filtering for dual tor scenario #10
Conversation
|
This pull request introduces 1 alert when merging 3c0c947 into 6f94c2e - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging f293f71 into 6f94c2e - view on LGTM.com new alerts:
|
27d8a0d
to
d76b35c
Compare
* Add new libswsscommon dependency Add uuid-dev, libzmq3-dev in lgtm.yml * Update lgtm.yml
This pull request introduces 1 alert when merging 8c1339c into 3c4a940 - view on LGTM.com new alerts:
|
With this change, |
Agreed, I will create another PR for this. |
Why I did it
Raw sockets are used for receiving packets and acl rules are not able to block dhcpv6 packets from being received by dhcp6relay raw sockets.
How I did it
To accommodate dual tor scenario, recvfrom is used to filter out interfaces. If the interface mux status is standby, dhcp6relay does not relay the packet.