-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ticket: 6788
- Loading branch information
Showing
15 changed files
with
157 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Test Description | ||
|
||
Tests that no traffic is bypassed even with minimal reassembly depth | ||
|
||
## PCAP | ||
|
||
Source: https://wiki.wireshark.org/SampleCaptures | ||
File: dump.pcapng | ||
|
||
## Related issues | ||
|
||
Created with a work to decouple stream.bypass setting from TLS encrypted bypass. | ||
https://redmine.openinfosecfoundation.org/issues/6788 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
requires: | ||
min-version: 7 | ||
|
||
args: | ||
- -k none | ||
- --set app-layer.protocols.tls.encryption-handling=full | ||
- --set app-layer.protocols.ssh.encryption-handling=full | ||
- --set stream.reassembly.depth=1 | ||
- --set stream.bypass=false | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: stats | ||
- stats: | ||
flow_bypassed.local_pkts: 0 | ||
flow_bypassed.local_bytes: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Test Description | ||
|
||
Tests that traffic is bypassed after reaching the reassembly depth | ||
|
||
## PCAP | ||
|
||
Source: https://wiki.wireshark.org/SampleCaptures | ||
File: dump.pcapng | ||
|
||
## Related issues | ||
|
||
Created with a work to decouple stream.bypass setting from TLS encrypted bypass. | ||
https://redmine.openinfosecfoundation.org/issues/6788 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
requires: | ||
min-version: 7 | ||
|
||
args: | ||
- -k none | ||
- --set app-layer.protocols.tls.encryption-handling=full | ||
- --set app-layer.protocols.ssh.encryption-handling=full | ||
- --set stream.reassembly.depth=1 | ||
- --set stream.bypass=true | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: stats | ||
- stats: | ||
flow_bypassed.local_pkts: 11 | ||
flow_bypassed.local_bytes: 6126 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Test Description | ||
|
||
Tests that the encrypted part of the SSH traffic is bypassed but it should not | ||
bypass based on the depth | ||
|
||
## PCAP | ||
|
||
Source: https://www.cloudshark.org/captures/9b72eb8febf9 | ||
File: ssh-server-client.pcapng | ||
|
||
## Related issues | ||
|
||
Created with a work to decouple stream.bypass setting from TLS encrypted bypass. | ||
https://redmine.openinfosecfoundation.org/issues/6788 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
requires: | ||
min-version: 8 | ||
|
||
args: | ||
- -k none | ||
- --set app-layer.protocols.tls.encryption-handling=full | ||
- --set app-layer.protocols.ssh.encryption-handling=bypass | ||
- --set stream.reassembly.depth=1MB | ||
- --set stream.bypass=false | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: stats | ||
- stats: | ||
flow_bypassed.local_pkts: 45 | ||
flow_bypassed.local_bytes: 3972 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Test Description | ||
|
||
Tests that no traffic is bypassed with disabled bypass settings | ||
|
||
## PCAP | ||
|
||
Source: https://wiki.wireshark.org/SampleCaptures | ||
File: dump.pcapng | ||
|
||
## Related issues | ||
|
||
Created with a work to decouple stream.bypass setting from TLS encrypted bypass. | ||
https://redmine.openinfosecfoundation.org/issues/6788 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
requires: | ||
min-version: 7 | ||
|
||
args: | ||
- -k none | ||
- --set app-layer.protocols.tls.encryption-handling=full | ||
- --set app-layer.protocols.ssh.encryption-handling=full | ||
- --set stream.reassembly.depth=1MB | ||
- --set stream.bypass=false | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: stats | ||
- stats: | ||
flow_bypassed.local_pkts: 0 | ||
flow_bypassed.local_bytes: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Test Description | ||
|
||
Tests that the encrypted part of the traffic is bypassed but it should not | ||
bypass based on the depth | ||
|
||
## PCAP | ||
|
||
Source: https://wiki.wireshark.org/SampleCaptures | ||
File: dump.pcapng | ||
|
||
## Related issues | ||
|
||
Created with a work to decouple stream.bypass setting from TLS encrypted bypass. | ||
https://redmine.openinfosecfoundation.org/issues/6788 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
requires: | ||
min-version: 8 | ||
|
||
args: | ||
- -k none | ||
- --set app-layer.protocols.tls.encryption-handling=bypass | ||
- --set app-layer.protocols.ssh.encryption-handling=full | ||
- --set stream.reassembly.depth=1MB | ||
- --set stream.bypass=false | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: stats | ||
- stats: | ||
flow_bypassed.local_pkts: 4 | ||
flow_bypassed.local_bytes: 275 |