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

SSH Trap should happen based on Source port as well #1783

Open
dhavamanimarimuthu opened this issue Mar 20, 2023 · 0 comments
Open

SSH Trap should happen based on Source port as well #1783

dhavamanimarimuthu opened this issue Mar 20, 2023 · 0 comments

Comments

@dhavamanimarimuthu
Copy link

Location:
https://github.com/opencomputeproject/SAI/blob/master/inc/saihostif.h

As per defnition, its mentioned TCP dst port 22 as SSH traffic.
but It should be src port as well. Please correct it in this documentation.

/**
 * @brief SSH traffic (TCP dst port == 22) to local router IP address
 * (default packet action is drop)
 */
SAI_HOSTIF_TRAP_TYPE_SSH = 0x00004001,
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