Git Product home page Git Product logo

Comments (7)

jullrich avatar jullrich commented on August 26, 2024

looks like your system has trouble resolving "www4.dshield.org"

Could you try the following command:

curl https://www4.dshield.org/api/myip ?

it should return your IP address if all works well.

from dshield.

sbreaksalot avatar sbreaksalot commented on August 26, 2024

It returns my ip indeed.
The logs are uploaded. I can see them in my account.
But the status shows the agent as not running.

from dshield.

jullrich avatar jullrich commented on August 26, 2024

try a reboot. The "agent" will affect only the weblogs. If the agent doesn't run after a reboot, check

https://github.com/DShield-ISC/dshield/blob/main/docs/install-instructions/troubleshooting.md

from dshield.

sbreaksalot avatar sbreaksalot commented on August 26, 2024

I tried the troubleshooting steps you provided. The isc-agent.err atill gives the same error.
isc-agent is still not running.
starting the agent with isc-agent.py gives this output:

DEBUG :: 2024-02-12 21:42:44,952 :: <PID 1435:MainProcess> :: main :: L:13 :: ISC Agent starting
DEBUG :: 2024-02-12 21:42:45,163 :: <PID 1435:MainProcess> :: urllib3.connectionpool :: L:1019 :: Starting new HTTPS connection (1): www.dshield.org:443
DEBUG :: 2024-02-12 21:42:45,652 :: <PID 1435:MainProcess> :: urllib3.connectionpool :: L:474 :: https://www.dshield.org:443 "GET /api/honeypotrules/ HTTP/1.1" 200 None
DEBUG :: 2024-02-12 21:42:45,755 :: <PID 1435:MainProcess> :: plugins.tcp.http.main :: L:105 :: []
DEBUG :: 2024-02-12 21:42:45,756 :: <PID 1435:MainProcess> :: urllib3.connectionpool :: L:1019 :: Starting new HTTPS connection (1): www.dshield.org:443
DEBUG :: 2024-02-12 21:42:46,244 :: <PID 1435:MainProcess> :: urllib3.connectionpool :: L:474 :: https://www.dshield.org:443 "GET /api/honeypotrules/ HTTP/1.1" 200 None
INFO :: 2024-02-12 21:42:46,340 :: <PID 1435:MainProcess> :: plugins.tcp.http.main :: L:179 :: 8000
INFO :: 2024-02-12 21:42:46,342 :: <PID 1435:MainProcess> :: main :: L:18 :: Plugin http activated
DEBUG :: 2024-02-12 21:42:46,342 :: <PID 1435:MainProcess> :: main :: L:19 :: http options: {'protocol': 'tcp', 'name': 'http', 'http_ports': [8000], 'https_ports': [8443], 'submit_logs_rate': 300}

from dshield.

jullrich avatar jullrich commented on August 26, 2024

The output from isc-agent.py looks good. No error shown.

The error.txt file above shows that the name resolution for www4.dshield.org fails. Which is odd... in particular if the curl request for https://www4.dshield.org/api/myip succeeds. The root cause appears to be DNS. I can't come up with a scenario right now that would cause DNS to fail for the isc-agent, but not for "curl".

Maybe try to add a host file entry. Add this line to /etc/hosts on the Raspberry Pi:

159.223.154.178 www4.dshield.org

from dshield.

sbreaksalot avatar sbreaksalot commented on August 26, 2024

Adding the ip to the hostfile doesn't resolve the issue.
Network is unreachable is the error now in the agent log

from dshield.

sbreaksalot avatar sbreaksalot commented on August 26, 2024

reinstalled on a pi3, works just fine.

from dshield.

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.