Commit 9a73a52
committed
fix port forward with strict RPF and multi networks
As it turns out our routing setup doesn't play nice with strict Reverse
Path Forwarding. The issue is that the incoming packages are routed in
via one bridge but may be routed out from the container via another
bridge and thus get dropped by strict filtering. The fix is simple, set
the filter to loose mode.
From the sysctl doc:
If using asymmetric routing or other complicated routing,
then loose mode is recommended.
This applies to us so it seems like the proper fix. Added tests to
ensure it works.
Fixes https://issues.redhat.com/browse/RHEL-32500
Signed-off-by: Paul Holzinger <pholzing@redhat.com>1 parent 3ca4655 commit 9a73a52
File tree
4 files changed
+52
-1
lines changed- src/network
- test
- testfiles
4 files changed
+52
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
573 | 584 | | |
574 | 585 | | |
575 | 586 | | |
| |||
690 | 701 | | |
691 | 702 | | |
692 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
693 | 711 | | |
694 | 712 | | |
695 | 713 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
557 | 586 | | |
558 | 587 | | |
559 | 588 | | |
| |||
789 | 818 | | |
790 | 819 | | |
791 | 820 | | |
| 821 | + | |
| 822 | + | |
792 | 823 | | |
793 | 824 | | |
794 | 825 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| 699 | + | |
| 700 | + | |
699 | 701 | | |
700 | 702 | | |
701 | 703 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments