Code Monkey home page Code Monkey logo

Comments (8)

ayeowch avatar ayeowch commented on August 21, 2024

@Kulgar Can you upload the .pcap file that causes the error above?

from bitnodes.

Kulgar avatar Kulgar commented on August 21, 2024

Sure thing :)

1530680517.eth0.pcap.txt

I had to rename it (added txt extension) because Github isn't supporting "pcap" extension for uploads.

While searching the web about this error I found this discussion: https://stackoverflow.com/questions/23523524/dpkt-invalid-tcpdump-header-error

I think that is what happens here, but I am not sure.

from bitnodes.

ayeowch avatar ayeowch commented on August 21, 2024

How was 1530680517.eth0.pcap.txt generated? It does not look like pcap file.

from bitnodes.

Kulgar avatar Kulgar commented on August 21, 2024

@ayeowch
Well I used the commands from the wiki:

sudo tcpdump -i eth0 -w %s.eth0.pcap -v -n -G 2 -B 65536 -Z [USERNAME] 'tcp and not src host [IP_ADDRESS] and not src host [IPV6_ADDRESS]' > eth0 2>&1 &
sudo tcpdump -i lo -w %s.lo.pcap -v -n -G 2 -B 65536 -Z [USERNAME] 'tcp and port 9050' > lo 2>&1 &

How can you tell that it is not a pcap file?
And why would these commands generate a none pcap file?

from bitnodes.

ayeowch avatar ayeowch commented on August 21, 2024

@Kulgar What OS are you running the command on?

from bitnodes.

Kulgar avatar Kulgar commented on August 21, 2024

Ubuntu 18.04 Bionic

from bitnodes.

ayeowch avatar ayeowch commented on August 21, 2024

@Kulgar Can you email me the pcap file again? Maybe the upload/download from github is messing with the content. Also, I assume you have the same tcpdump version?

$ tcpdump --version
tcpdump version 4.9.2
libpcap version 1.8.1
OpenSSL 1.1.0g  2 Nov 2017

from bitnodes.

Kulgar avatar Kulgar commented on August 21, 2024

Yeah I have the same version.

That's strange, I was trying to reproduce the bug by restarting all the processes... But it seems to work properly now.

Well... I hope I did not bother you too much.
If it happens again I'll send you the faulty pcap file by mail.

Thanks for your patience and kindness

from bitnodes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.