Thu Feb 09, 2023 3:44 pm
I did what you wrote on your github page.
But
from suri_reloader.log
2023-02-09 13:43:33,159 suri_reloader INFO Ruleset reload triggered
2023-02-09 13:43:33,159 suri_reloader ERROR Unable to connect to socket /var/run/suricata/suricata-command.socket: [Errno 2] No such file or directory
2023-02-09 13:43:34,161 suri_reloader INFO Ruleset reload triggered
2023-02-09 13:43:34,162 suri_reloader ERROR Unable to connect to socket /var/run/suricata/suricata-command.socket: [Errno 2] No such file or directory
2023-02-09 13:43:35,164 suri_reloader INFO Ruleset reload triggered
2023-02-09 13:43:35,165 suri_reloader ERROR Unable to connect to socket /var/run/suricata/suricata-command.socket: [Errno 2] No such file or directory
2023-02-09 13:43:36,166 suri_reloader INFO Ruleset reload triggered
from elasticsearch.log:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.local/lib/python3.9/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request
response = self.pool.urlopen(
File "/root/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/root/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 525, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/root/.local/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/root/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/root/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/root/.local/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.9/http/client.py", line 1253, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1299, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1248, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1008, in _send_output
self.send(msg)
File "/usr/local/lib/python3.9/http/client.py", line 948, in send
self.connect()
File "/root/.local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/root/.local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd057643af0>: Failed to establish a new connection: [Errno 111] Connection refused
2023-02-09 13:36:51,038 Traceback (most recent call last):
File "/root/.local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/root/.local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/root/.local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused