SAI
SAI copied to clipboard
SSH Trap should happen based on Source port as well
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,