Page MenuHomeVyOS Platform

Syntax error in "monitor traffic interface filter"
Closed, ResolvedPublicBUG

Description

In VyOS 1.2.0 RC3 the following error occures:

vyos@vyos-test01:~$ monitor traffic interface eth1 filter "host 172.16.10.104"
tcpdump: syntax error

But not all filters are affected. The following works:

vyos@vyos-test01:~$ monitor traffic interface eth1 filter "icmp"

The same filter in tcpdump works:

sudo tcpdump -i eth1 "host 172.16.10.104"

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-rc3
Why the issue appeared?
Will be filled on close

Event Timeline

syncer triaged this task as Normal priority.Oct 24 2018, 4:38 PM
syncer edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc5); removed VyOS 1.2 Crux.
dmbaturin claimed this task.
dmbaturin moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.0-rc5) board.
dmbaturin added a subscriber: dmbaturin.

Indeed, the original script only took the first word, rather than all words after "filter".