This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
tc
on ingress traffic.Summary of Changes
ifb0
. This allows ingress traffic to then be shaped using stateful qdiscs and filters, allowing for originally intended behavior of dropping incoming packets based ontos
field.On a 4 node network, 50-50 split, 2-min partition:
Partitions actually seem to be happening in gossip now!
![Screen Shot 2020-04-08 at 7 25 25 PM](https://user-images.githubusercontent.com/3374799/78851989-132b8880-79d0-11ea-8c2f-949edca21446.png)
![Screen Shot 2020-04-08 at 7 24 21 PM](https://user-images.githubusercontent.com/3374799/78852000-16bf0f80-79d0-11ea-999e-bc83c59e26d8.png)
Both validators on the of the the bootstrap leader continue to move during partition (76% of the stake):
![Screen Shot 2020-04-08 at 7 42 02 PM](https://user-images.githubusercontent.com/3374799/78852400-1115f980-79d1-11ea-8ed8-bcbb24892130.png)
![Screen Shot 2020-04-08 at 7 41 51 PM](https://user-images.githubusercontent.com/3374799/78852405-1410ea00-79d1-11ea-8da7-f9f74db204da.png)
Validators on other side get stuck as expected (24% of the stake):
![Screen Shot 2020-04-08 at 7 37 02 PM](https://user-images.githubusercontent.com/3374799/78852178-8503d200-79d0-11ea-9331-1bd9eeb2db8d.png)
![Screen Shot 2020-04-08 at 7 38 47 PM](https://user-images.githubusercontent.com/3374799/78852229-9fd64680-79d0-11ea-97b5-4a26fe249186.png)
Fixes #