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: [scan_python] Cannot call python becase no provided module/function. #214

Open
ham1 opened this issue Jan 29, 2020 · 6 comments
Open
Assignees

Comments

@ham1
Copy link

ham1 commented Jan 29, 2020

I've built tcpflow 1.5.0 on CentOS 7:
./configure && make && sudo make install

However when I try to run:
tcpflow -a -o outdir -Fk -r test.pcap

I get the following error (repeated until I kill it) the test.pcap is ~50MB in size.

tcpflow: [scan_python] Cannot call python becase no provided module/function.
                                Please use arguments -S py_module=module -S py_function=foo
tcpflow: [scan_python] Cannot call python becase no provided module/function.
                                Please use arguments -S py_module=module -S py_function=foo
@simsong
Copy link
Owner

simsong commented Jan 29, 2020 via email

@ham1
Copy link
Author

ham1 commented Jan 29, 2020

So, my use case it that I want to take a PCAP file and split out all the flows into separate PCAP files.

Can this be done with TCPFlow?

I don't think I actually need the -a for my use case. If try tcpflow -o outdir -r test.pcap I get lots of files inside outdir but none seem to be valid PCAP files.

A suggestion for improvement would be to have more examples in the docs, I find it the best way to learn what the tool can do.

@simsong
Copy link
Owner

simsong commented Jan 29, 2020 via email

@ham1
Copy link
Author

ham1 commented Jan 29, 2020

Ok, thank you for the fast replies and for clarifying!

@ham1 ham1 closed this as completed Jan 29, 2020
@simsong
Copy link
Owner

simsong commented Jan 29, 2020 via email

@simsong simsong reopened this Jan 29, 2020
@simsong
Copy link
Owner

simsong commented Jan 29, 2020

This issue must still be fixed.

@simsong simsong self-assigned this Jan 29, 2020
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