Page MenuHomePhabricator

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
Line2 created this task.Wed, Oct 24, 1:35 PM
syncer triaged this task as Normal priority.
dmbaturin closed this task as Resolved.Sun, Oct 28, 1:31 PM
dmbaturin claimed this task.
dmbaturin moved this task from Needs Triage to Finished on the VyOS 1.2.x (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".