diff options
Diffstat (limited to 'src')
97 files changed, 2696 insertions, 1147 deletions
diff --git a/src/tests/cases/snapshots/bandwhich__tests__cases__raw_mode__bi_directional_traffic.snap b/src/tests/cases/snapshots/bandwhich__tests__cases__raw_mode__bi_directional_traffic.snap new file mode 100644 index 0000000..604d40f --- /dev/null +++ b/src/tests/cases/snapshots/bandwhich__tests__cases__raw_mode__bi_directional_traffic.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/cases/raw_mode.rs +expression: formatted +--- +Refreshing: +<NO TRAFFIC> + +Refreshing: +process: <TIMESTAMP_REMOVED> "1" up/down Bps: 24/25 connections: 1 +connection: <TIMESTAMP_REMOVED> <interface_name>:443 => 1.1.1.1:12345 (tcp) up/down Bps: 24/25 process: "1" +remote_address: <TIMESTAMP_REMOVED> 1.1.1.1 up/down Bps: 24/25 connections: 1 + + diff --git a/src/tests/cases/snapshots/bandwhich__tests__cases__raw_mode__multiple_connections_from_remote_address.snap b/src/tests/cases/snapshots/bandwhich__tests__cases__raw_mode__multiple_connections_from_remote_address.snap new file mode 100644 index 0000000..140d2b4 --- /dev/null +++ b/src/tests/cases/snapshots/bandwhich__tests__cases__raw_mode__multiple_connections_from_remote_address.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/cases/raw_mode.rs +expression: formatted +--- +Refreshing: +<NO TRAFFIC> + +Refreshing: +process: <TIMESTAMP_REMOVED> "1" up/down Bps: 0/47 connections: 2 +connection: <TIMESTAMP_REMOVED> <interface_name>:443 => 1.1.1.1:12346 (tcp) up/down Bps: 0/25 process: "1" +connection: <TIMESTAMP_REMOVED> <interface_name>:443 => 1.1.1.1:12345 (tcp) up/down Bps: 0/22 process: "1" +remote_address: <TIMESTAMP_REMOVED> 1.1.1.1 up/down Bps: 0/47 connections: 2 + + diff --git a/src/tests/cases/snapshots/bandwhich__tests__cases__raw_mode__multiple_packets_of_traffic_from_different_connections.snap b/src/tests/cases/snapshots/bandwhich__tests__cases__raw_mode__multiple_packets_of_traffic_from_different_connections.snap new file mode 100644 index 0000000..8d4d513 --- /dev/null +++ b/src/tests/cases/snapshots/bandwhich__tests__cases__raw_mode__multiple_packets_of_traffic_from_different_connections.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/cases/raw_mode.rs +expression: formatted +--- +Refreshing: +<NO TRAFFIC> + +Refreshing: +process: <TIMESTAMP_REMOVED> "1" up/down Bps: 0/22 connections: 1 +process: <TIMESTAMP_REMOVED> "4" up/down Bps: 0/19 connections: 1 +connection: <TIMESTAMP_REMOVED> <interface_name>:443 => 2.2.2.2:12345 (tcp) up/down Bps: 0/22 process: "1" +connection: <TIMESTAMP_REMOVED> <interface_name>:4434 => 2.2.2.2:54321 (tcp) up/down Bps: 0/19 process: "4" +remote_address: <TIMESTAMP_REMOVED> 2.2.2.2 up/down Bps: 0/41 connections: 2 + + diff --git a/src/te |