You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a beginner in this project, and when I use this project to scrape traffic, I choose to use commands in the Dockerfile as CMD ["ptcpdump", "-i", "any", "--container-name", "tor_producer", "-w", "/data/capture.pcap", "-v"]
However, when I parsed the obtained PCAP file, I found that both its src_ip and dst_ip were 127.0.0.1, which is not the result I wanted.
Then I modified the command to CMD ["ptcpdump", "-i", "any", "--container-name", "tor_producer", "-w", "/data/capture.pcap", "-v", "eth0", "not", "dst", "127.0.0.1", "and", "not", "src", "127.0.0.1"]
It still doesn't work. I wonder how do I need to modify the command?
The text was updated successfully, but these errors were encountered:
I am a beginner in this project, and when I use this project to scrape traffic, I choose to use commands in the Dockerfile as
CMD ["ptcpdump", "-i", "any", "--container-name", "tor_producer", "-w", "/data/capture.pcap", "-v"]
However, when I parsed the obtained PCAP file, I found that both its src_ip and dst_ip were 127.0.0.1, which is not the result I wanted.
Then I modified the command to
CMD ["ptcpdump", "-i", "any", "--container-name", "tor_producer", "-w", "/data/capture.pcap", "-v", "eth0", "not", "dst", "127.0.0.1", "and", "not", "src", "127.0.0.1"]
It still doesn't work. I wonder how do I need to modify the command?
The text was updated successfully, but these errors were encountered: