Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcpflow: can't parse filter expression: syntax error #241

Closed
P2AK opened this issue Mar 17, 2021 · 2 comments
Closed

tcpflow: can't parse filter expression: syntax error #241

P2AK opened this issue Mar 17, 2021 · 2 comments

Comments

@P2AK
Copy link

P2AK commented Mar 17, 2021

Hi,

I'm new to tcpflow and was just trying out something simple like this:

tcpflow 192.168.01.02.051502-040.071.237.168.0443

But I end up with this error:

reportfilename: ./report.xml tcpflow: can't parse filter expression: syntax error

I'm running the command as root and I'm using version:
--> tcpflow -V TCPFLOW 1.6.1

I can run tcpflow without any additional directives and it creates reports for all traffic, but I'm trying to record a report JUST for the traffic from 192.168.1.2:51502 to 40.71.237.168:443

Thanks and any assistance would be greatly appreciated.

@P2AK
Copy link
Author

P2AK commented Mar 17, 2021

Sorry, I had the command syntax completely wrong, this worked fine:

tcpflow -i eth0 port 47378

@P2AK P2AK closed this as completed Mar 17, 2021
@simsong
Copy link
Owner

simsong commented Mar 17, 2021

Yea! This was my easiest issue yet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants