Commit c53deef
committed
The commit fixed the issue when a port with index 0 adding to a allow rule
will be mistakenly regarded as wild-card rule, so even a packet from a
diffrent port will be allowed passing by mistake. There are 2 changes in
this commit:
- update the iptables submodule pointing to the latest code base so interface
parameter can be supported
- change the wild-card index from 0 to 0xffff for pcn-iptables service because
id 0 could be conflicting with a regular port, and recover the original failed
test case.
Signed-off-by: Jianwen Pi<jianwpi@gmail.com>1 parent a9d5f85 commit c53deef
5 files changed
Lines changed: 6 additions & 3 deletions
File tree
- src
- components/iptables
- polycubed/src
- services/pcn-iptables
- src
- modules
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments