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

Empty folders created #1

Open
mdhuynh opened this issue Jan 20, 2022 · 3 comments
Open

Empty folders created #1

mdhuynh opened this issue Jan 20, 2022 · 3 comments

Comments

@mdhuynh
Copy link

mdhuynh commented Jan 20, 2022

Hello,

I run into some problems trying to ./analyze -i my_script.pcap
I think I got it wrong in cofig.py file, two of my sever's IP addresses are: 10.0.0.2 and 10.1.0.2
Therefore, I have a config.py file as follow:

# IP address of the proxy/server (either str or a list of str)
IP_PROXY = ['10.0.0.2', '10.1.0.2']
# Prefix of the IP addres of the proxy/server (either str or a list of str)
PREFIX_IP_PROXY = ['10.0', '10.1']
# Prefix of IPs belonging to WiFi access points
PREFIX_IP_WIFI = '192.168.'
# The password of SOCKS sessions
PASSWORD = 'My awesome password'

Is this why all the created folders (stats and graphs) return all empty? Is there a way to see the log of ./analyze.py file?
Thank you so much for reading, any recommendation would be greatly appreiciated

@qdeconinck
Copy link
Member

The default value of the -p parameter is somewhat misleading. You should instead call ./analyze.py -I my_script.pcap -p ''

@mdhuynh
Copy link
Author

mdhuynh commented Jan 21, 2022

Thank you for replying,

After some debugging, I think I stuck at this and I cannot find the solution anywhere:

./analyze.py -i mptcp.pcap --p '' -M
Copying mptcp.pcap to /home/manh/mptcp-analysis-scripts/traces
Thread 0: Analyze: /home/manh/mptcp-analysis-scripts/traces/mptcp.pcap (1/1)
MPTCP trace V0.0 alpha : says Hello.
Seq graph init...
Seq graph Destroy...
Unable to open file 'net.all'
Error while loading NET addresses configuration
Wrong or missing net.all
Error of tcptrace with /home/manh/mptcp-analysis-scripts/traces/mptcp.pcap: skip process
End for file /home/manh/mptcp-analysis-scripts/traces/mptcp.pcap
Thread 0: End
End of analyze

@qdeconinck
Copy link
Member

qdeconinck commented Jan 21, 2022

You are hitting a tstat error (

raise TstatError("Error of tcptrace with " + pcap_filepath)
). Have a look at the command being executed to understand what is going wrong.

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