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

[dhcp6relay] Add dhcpv6 option check (#10486) #10808

Merged
merged 7 commits into from
Jun 1, 2022

Conversation

kellyyeh
Copy link
Contributor

@kellyyeh kellyyeh commented May 11, 2022

(cherry picked from commit cfdb843)
(cherry picked from commit 2ead3aa)

Why I did it

To prevent relaying client packets with malformed payload

How I did it

Check for invalid dhcpv6 options

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@kellyyeh kellyyeh requested a review from yxieca May 11, 2022 18:44
@kellyyeh
Copy link
Contributor Author

Holding off merging until #10785 is resolved

@kellyyeh
Copy link
Contributor Author

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yxieca
Copy link
Contributor

yxieca commented May 21, 2022

/azp run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@kellyyeh kellyyeh marked this pull request as draft May 21, 2022 00:19
@kellyyeh kellyyeh marked this pull request as ready for review May 24, 2022 23:06
default:
case DHCPv6_MESSAGE_TYPE_SOLICIT:
case DHCPv6_MESSAGE_TYPE_REQUEST:
case DHCPv6_MESSAGE_TYPE_CONFIRM:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure you have uniform identation

@kellyyeh kellyyeh merged commit 79555c8 into sonic-net:202012 Jun 1, 2022
@kellyyeh kellyyeh deleted the dhcp6relay-202012 branch June 1, 2022 21:20
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.

3 participants