Ckruijntjens
plus i see some errors in the netfilter logs. dont know if more people have this issue?
netfilter-mailcow_1 | Clearing all bans
netfilter-mailcow_1 | Initializing mailcow netfilter chain
netfilter-mailcow_1 | Watching Redis channel F2B_CHANNEL
netfilter-mailcow_1 | Exception ignored in atexit callback: <function clear at 0×7f4758f4cf70>
netfilter-mailcow_1 | Traceback (most recent call last):
netfilter-mailcow_1 | File “/server.py”, line 282, in clear
netfilter-mailcow_1 | logInfo(‘Clearing all bans’)
netfilter-mailcow_1 | File “/server.py”, line 61, in logInfo
netfilter-mailcow_1 | log(‘info’, message)
netfilter-mailcow_1 | File “/server.py”, line 51, in log
netfilter-mailcow_1 | r.lpush(‘NETFILTER_LOG’, json.dumps(tolog, ensure_ascii=False))
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/commands/core.py”, line 2603, in lpush
netfilter-mailcow_1 | return self.execute_command(“LPUSH”, name, *values)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1235, in execute_command
netfilter-mailcow_1 | Exception in thread Thread-1 (watch):
netfilter-mailcow_1 | Traceback (most recent call last):
netfilter-mailcow_1 | File “/server.py”, line 319, in watch
netfilter-mailcow_1 | return conn.retry.call_with_retry(
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/retry.py”, line 49, in call_with_retry
netfilter-mailcow_1 | for item in pubsub.listen(): fail(error)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1239, in <lambda>
netfilter-mailcow_1 |
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1619, in listen
netfilter-mailcow_1 | lambda error: self._disconnect_raise(conn, error),
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1225, in disconnect_raise
netfilter-mailcow_1 | response = self.handle_message(self.parse_response(block=True)) raise error
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/retry.py”, line 46, in call_with_retry
netfilter-mailcow_1 |
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1497, in parse_response
netfilter-mailcow_1 | return do()
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1236, in <lambda>
netfilter-mailcow_1 | response = self.execute(conn, conn.read_response)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1479, in execute
netfilter-mailcow_1 | lambda: self.send_command_parse_response(
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1212, in send_command_parse_response
netfilter-mailcow_1 | return self.parse_response(conn, command_name, **options)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1251, in parse_response
netfilter-mailcow_1 | response = connection.read_response()
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/connection.py”, line 828, in read_response
netfilter-mailcow_1 | raise ConnectionError(f"Error while reading from {hosterr}“ f” : {e.args}")
netfilter-mailcow_1 | redis.exceptions.ConnectionError: Error while reading from 172.22.1.249:6379 : (104, ‘Connection reset by peer’)
netfilter-mailcow_1 | Error 113 connecting to 172.22.1.249:6379. Host is unreachable. - trying again in 3 seconds
netfilter-mailcow_1 | Clearing all bans
netfilter-mailcow_1 | Initializing mailcow netfilter chain
netfilter-mailcow_1 | Watching Redis channel F2B_CHANNEL
netfilter-mailcow_1 | Exception ignored in atexit callback: <function clear at 0×7fac317fd090>
netfilter-mailcow_1 | Traceback (most recent call last):
netfilter-mailcow_1 | File “/server.py”, line 282, in clear
netfilter-mailcow_1 | Exception in thread Thread-1 (watch):
netfilter-mailcow_1 | Traceback (most recent call last):
netfilter-mailcow_1 | File “/server.py”, line 319, in watch
netfilter-mailcow_1 | logInfo(‘Clearing all bans’)
netfilter-mailcow_1 | File “/server.py”, line 61, in logInfo
netfilter-mailcow_1 | log(‘info’, message)
netfilter-mailcow_1 | File “/server.py”, line 51, in log
netfilter-mailcow_1 | r.lpush(‘NETFILTER_LOG’, json.dumps(tolog, ensure_ascii=False))
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/commands/core.py”, line 2603, in lpush
netfilter-mailcow_1 | for item in pubsub.listen():
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1619, in listen
netfilter-mailcow_1 | return self.execute_command(“LPUSH”, name, values)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1235, in execute_command
netfilter-mailcow_1 | return conn.retry.call_with_retry(
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/retry.py”, line 49, in call_with_retry
netfilter-mailcow_1 | response = self.handle_message(self.parse_response(block=True))
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1497, in parse_response
netfilter-mailcow_1 | fail(error)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1239, in <lambda>
netfilter-mailcow_1 | response = self.execute(conn, conn.read_response)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1479, in execute
netfilter-mailcow_1 | lambda error: self.disconnect_raise(conn, error),
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1225, in disconnect_raise
netfilter-mailcow_1 | return conn.retry.call_with_retry(
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/retry.py”, line 49, in call_with_retry
netfilter-mailcow_1 | fail(error)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1481, in <lambda>
netfilter-mailcow_1 | raise error
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/retry.py”, line 46, in call_with_retry
netfilter-mailcow_1 | return do()lambda error: self.disconnect_raise_connect(conn, error),
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1468, in disconnect_raise_connect
netfilter-mailcow_1 |
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1236, in <lambda>
netfilter-mailcow_1 | raise error
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/retry.py”, line 46, in call_with_retry
netfilter-mailcow_1 | return do()
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1480, in <lambda>
netfilter-mailcow_1 | lambda: command(args, **kwargs),
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/connection.py”, line 822, in read_response
netfilter-mailcow_1 | response = self.parser.read_response(disable_decoding=disable_decoding)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/connection.py”, line 318, in read_response
netfilter-mailcow_1 | raw = self.buffer.readline()
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/connection.py”, line 249, in readline
netfilter-mailcow_1 | self.read_from_socket()
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/connection.py”, line 195, in read_from_socket
netfilter-mailcow_1 | raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
netfilter-mailcow_1 | redis.exceptions.ConnectionError: Connection closed by server.
netfilter-mailcow_1 |
netfilter-mailcow_1 | During handling of the above exception, another exception occurred:
netfilter-mailcow_1 |
netfilter-mailcow_1 | Traceback (most recent call last):
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/connection.py”, line 609, in connect
netfilter-mailcow_1 | lambda: self.send_command_parse_response(
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1212, in _send_command_parse_response
netfilter-mailcow_1 | return self.parse_response(conn, command_name, **options)
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/client.py”, line 1251, in parse_response
netfilter-mailcow_1 | response = connection.read_response()
netfilter-mailcow_1 | File “/usr/lib/python3.10/site-packages/redis/connection.py”, line 828, in read_response
netfilter-mailcow_1 | raise ConnectionError(f"Error while reading from {hosterr}“ f” : {e.args}")
netfilter-mailcow_1 | redis.exceptions.ConnectionError: Error while reading from 172.22.1.249:6379 : (104, ‘Connection reset by peer’)
netfilter-mailcow_1 | Redis is loading the dataset in memory - trying again in 3 seconds
netfilter-mailcow_1 | Clearing all bans
netfilter-mailcow_1 | Initializing mailcow netfilter chain
netfilter-mailcow_1 | Watching Redis channel F2B_CHANNEL
netfilter-mailcow_1 | 109.38.152.182 matched rule id 9 ([66]: SOGoRootPage Login from ‘109.38.152.182’ for user ‘ndnd’ might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0)
netfilter-mailcow_1 | 2 more attempts in the next 86400 seconds until 109.38.152.182/32 is banned
netfilter-mailcow_1 | 109.38.152.182 matched rule id 9 ([66]: SOGoRootPage Login from ‘109.38.152.182’ for user ‘ndnd’ might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0)
netfilter-mailcow_1 | 1 more attempts in the next 86400 seconds until 109.38.152.182/32 is banned
netfilter-mailcow_1 | 109.38.152.182 matched rule id 9 ([66]: SOGoRootPage Login from ‘109.38.152.182’ for user ‘ndnd’ might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0)
netfilter-mailcow_1 | Banning 109.38.152.182/32 for 1440 minutes
netfilter-mailcow_1 | 109.38.152.182 matched rule id 9 ([66]: SOGoRootPage Login from ‘109.38.152.182’ for user ‘ndnd’ might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0)
netfilter-mailcow_1 | Banning 109.38.152.182/32 for 1440 minutes
netfilter-mailcow_1 | 109.38.152.182 matched rule id 9 ([66]: SOGoRootPage Login from ‘109.38.152.182’ for user ‘ndnd’ might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0)
netfilter-mailcow_1 | Banning 109.38.152.182/32 for 1440 minutes
netfilter-mailcow_1 | 109.38.152.182 matched rule id 9 ([66]: SOGoRootPage Login from ‘109.38.152.182’ for user ‘ndnd’ might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0)
netfilter-mailcow_1 | Banning 109.38.152.182/32 for 1440 minutes
netfilter-mailcow_1 | 202.102.144.122 matched rule id 4 (warning: non-SMTP command from unknown[202.102.144.122]: GET _ HTTP_1.1)
netfilter-mailcow_1 | 2 more attempts in the next 86400 seconds until 202.102.144.122/32 is banned
netfilter-mailcow_1 | 170.130.187.10 matched rule id 4 (warning: non-SMTP command from unknown[170.130.187.10]: GET _ HTTP_1.1)
netfilter-mailcow_1 | 2 more attempts in the next 86400 seconds until 170.130.187.10/32 is banned