Skip to content

Commit bc41929

Browse files
committed
view capture filter sample
1 parent d4205e8 commit bc41929

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

articles/defender-for-iot/organizations/cli-ot-sensor.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ Reply to the prompts displayed as follows:
711711

712712
The default mode is `internal`. To use the `all-connected` mode, select `Y` at the prompt, and then enter `all-connected`.
713713

714-
The following example shows a series of prompts that excludes subnet `192.168.x.x` and port `9000:`
714+
The following example shows a series of prompts that creates a capture filter to exclude subnet `192.168.x.x` and port `9000:`
715715

716716
```bash
717717
root@xsense: network capture-filter
@@ -1096,6 +1096,25 @@ These commands open the following files, which list the capture filters configur
10961096
|**traffic-monitor** | `/var/cyberx/properties/traffic-monitor.properties` | `horizon.processor.filter` |
10971097
|**collector** | `/var/cyberx/properties/dumpark.properties` | `dumpark.network.filter` |
10981098

1099+
For example with the **support** user, with a capture filter defined for the *collector* component that excludes subnet 192.168.x.x and port 9000:
1100+
1101+
```bash
1102+
1103+
root@xsense: edit-config dumpark.properties
1104+
GNU nano 2.9.3 /tmp/tmpevt4igo7/tmpevt4igo7
1105+
1106+
dumpark.network.filter=(((not (net 192.168))) and (not (tcp port 9000)) and (not
1107+
dumpark.network.snaplen=4096
1108+
dumpark.packet.filter.data.transfer=false
1109+
dumpark.infinite=true
1110+
dumpark.output.session=false
1111+
dumpark.output.single=false
1112+
dumpark.output.raw=true
1113+
dumpark.output.rotate=true
1114+
dumpark.output.rotate.history=300
1115+
dumpark.output.size=20M
1116+
dumpark.output.time=30S
1117+
```
10991118
11001119
### Reset all capture filters
11011120

0 commit comments

Comments
 (0)