iclab/centinel

Wrong default tcpdump parameter

Closed this issue · 0 comments

In generated config file, the default tcpdump parameter should be a list: ["-i", "any"] instead of a string "-i any".

Tcpdump primitive is using extend() method to append additional parameters. If giving a string to extend(), it would tear each letter apart and append each character to the list.

This issue caused empty pcap files on my machine.