SAI icon indicating copy to clipboard operation
SAI copied to clipboard

SSH Trap should happen based on Source port as well

Open dhavamanimarimuthu opened this issue 2 years ago • 0 comments

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,

dhavamanimarimuthu avatar Mar 20 '23 12:03 dhavamanimarimuthu