Comments (7)
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.
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.
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.
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.
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.
Adding the ip to the hostfile doesn't resolve the issue.
Network is unreachable is the error now in the agent log
from dshield.
reinstalled on a pi3, works just fine.
from dshield.
Related Issues (20)
- update.sh reports missing TERM value HOT 1
- AWS Ubuntu 18.04 Requires Iptables-Persistent installation HOT 1
- Documentation reorganization
- install.bin - bug - iscagent / isc-agent HOT 1
- Clean install on raspbian lite fails to start isc-agent at reboot HOT 6
- Installation not creating pid/run folder HOT 2
- Feedback; Docker documentation; Terraform, Vagrant HOT 1
- Cannot login HOT 1
- Missing web.py service HOT 2
- log submission HOT 2
- Error install.sh --update HOT 7
- AWS Install Instructions: may need update regarding public IP address HOT 1
- Clean install on raspbian lite fails to start isc-agent at reboot HOT 8
- Failures logged by update.sh HOT 1
- weblogsubmit.py fails to connect to database HOT 1
- Installation broken on Ubuntu 20.04 LTS HOT 3
- isc-agent randomly crashes HOT 2
- Minor issue, after update 94, status check script show warnings about "find" HOT 1
- Enhancement: offer to add updatehoneypotip.sh to crontab during install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dshield.