Skip to content

Conversation

@keshugupta1
Copy link
Collaborator

Initial XN rate limiting changes based on Metering.

Initial XN rate limiting changes based on Metering.
}
table m_filter {
key = {
#color 0:GREEN 1:YELLOW 2:RED
Copy link
Collaborator

Choose a reason for hiding this comment

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

# isn't a valid comment delimiter, use // or /* */

default_action = drop;
}

#Direct meter
Copy link
Collaborator

Choose a reason for hiding this comment

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

# isn't a valid comment delimiter, use // or /* */

if (hdr.tcp.flags == 0x2 /* SYN */) {
if (meta.direction == direction_t.OUTBOUND) {
add_entry("conntrackIn_allow"); // New PNA Extern
#TODO Apply XN Rate-limiting only when entry addition is successful
Copy link
Collaborator

Choose a reason for hiding this comment

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

# isn't a valid comment delimiter, use // or /* */

if (hdr.tcp.flags == 0x2 /* SYN */) {
if (meta.direction == direction_t.INBOUND) {
add_entry("ConntrackOut_allow"); // New PNA Extern
#TODO Apply XN Rate-limiting only when entry addition is successful
Copy link
Collaborator

Choose a reason for hiding this comment

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

# isn't a valid comment delimiter, use // or /* */

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.

2 participants