Container is killed automatically.
sazonovanton opened this issue · 2 comments
sazonovanton commented
I start docker container with snidust like it was adviced
docker run -d --name snidust -e ALLOWED_CLIENTS="127.0.0.1, ****" -e EXTERNAL_IP=**** -p 443:443 -p 80:80 -p 53:5300/udp ghcr.io/seji64/snidust:main
After some time container is automatically killed
Logs show something like this:
...
[SniDust] *** End of Domain List ***
[SniDust] *** Complete! ***
Added downstream server 8.8.8.8:853
Added downstream server 8.8.4.4:853
Added downstream server 1.1.1.1:443
Added downstream server 1.0.0.1:443
time=2023-03-26T18:01:25.751Z level=WARN msg="Domain list (--domainListPath) is not specified, routing ALL domains through the SNI proxy"
time=2023-03-26T18:01:25.753Z level=INFO msg="server info" public_ip=****
Listening on 0.0.0.0:5300
dnsdist 1.7.1 comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2
ACL allowing queries from: ****/32, 127.0.0.1/32
Console ACL allowing connections from: 127.0.0.0/8, ::1/128
Webserver launched on 127.0.0.1:8083
Marking downstream dns.google (8.8.4.4:853) as 'up'
Marking downstream dns.google (8.8.8.8:853) as 'up'
Marking downstream 1.1.1.1:443 as 'up'
Marking downstream 1.0.0.1:443 as 'up'
Polled security status of version 1.7.1 at startup, no known issues reported: OK
time=2023-03-26T18:01:27.398Z level=INFO msg="Certificate was not provided, using a self signed cert"
time=2023-03-26T18:01:27.401Z level=INFO msg="Started UDP DNS" service=dns host=0.0.0.0 port=5353
time=2023-03-26T18:04:43.430Z level=INFO msg="rejected request" service=http ip=185.225.74.42:60284
time=2023-03-26T18:04:43.432Z level=WARN msg="someone is requesting HTTP to sniproxy itself, ignoring..." service=http
time=2023-03-26T18:06:00.715Z level=INFO msg="rejected request" service=http ip=77.247.108.121:37254
time=2023-03-26T18:06:00.716Z level=INFO msg=REQ service=http method=GET host=query.cleaning url=http://query.cleaning/v4/checker.php
time=2023-03-26T18:06:00.749Z level=INFO msg="http response" service=http status_code="200 OK"
time=2023-03-26T18:08:02.329Z level=INFO msg="rejected request" service=http ip=54.38.193.111:54199
time=2023-03-26T18:08:02.331Z level=INFO msg=REQ service=http method=GET host=www.yandex.com url="https://www.yandex.com/search/?text=111.224.212.57%3A8089"
time=2023-03-26T18:08:02.478Z level=INFO msg="http response" service=http status_code="302 Moved temporarily"
time=2023-03-26T18:08:02.550Z level=INFO msg="rejected request" service=http ip=54.38.193.111:54254
time=2023-03-26T18:08:02.551Z level=INFO msg=REQ service=http method=GET host=www.yandex.com url="https://www.yandex.com/search/?text=111.224.212.57%3A8089&lr=144942&redircnt=1679854082.1"
...
time=2023-03-26T22:26:13.493Z level=INFO msg=REQ service=http method=GET host=www.xxskszx.com:80 url=http://www.xxskszx.com:80/
time=2023-03-26T22:26:13.495Z level=INFO msg="rejected request" service=http ip=135.181.112.132:57308
time=2023-03-26T22:26:13.495Z level=INFO msg=REQ service=http method=GET host=www.xxskszx.com:80 url=http://www.xxskszx.com:80/
time=2023-03-26T22:26:13.497Z level=INFO msg="rejected request" service=http ip=135.181.112.132:39810
time=2023-03-26T22:26:13.498Z level=INFO msg=REQ service=http method=GET host=www.xxskszx.com:80 url=http://www.xxskszx.com:80/
time=2023-03-26T22:26:13.499Z level=INFO msg="rejected request" service=http ip=135.181.112.132:57966
time=2023-03-26T22:26:13.499Z level=INFO msg=REQ service=http method=GET host=www.xxskszx.com:80 url=http://www.xxskszx.com:80/
time=2023-03-26T22:26:13.502Z level=INFO msg="rejected request" service=http ip=135.181.112.132:36876
time=2023-03-26T22:26:13.503Z level=INFO msg=REQ service=http method=GET host=www.xxskszx.com:80 url=http://www.xxskszx.com:80/
time=2023-03-26T22:26:13.507Z level=INFO msg="rejected request" service=http ip=135.181.112.132:52746
time=2023-03-26T22:26:13.507Z level=INFO msg=REQ service=http method=GET host=www.xxskszx.com:80 url=http://www.xxskszx.com:80/
time=2023-03-26T22:26:13.511Z level=INFO msg="rejected request" service=http ip=135.181.112.132:54280
time=2023-03-26T22:26:13.511Z level=INFO msg=REQ service=http method=GET host=www.xxskszx.com:80 url=http://www.xxskszx.com:80/
time=2023-03-26T22:25:54.427Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:26:13.515Z level=ERROR msg= service=http err="read tcp 172.17.0.3:41244->94.154.114.238:80: read: connection reset by peer"
time=2023-03-26T22:26:13.518Z level=ERROR msg= service=http err="read tcp 172.17.0.3:40516->94.154.114.238:80: read: connection reset by peer"
time=2023-03-26T22:26:13.523Z level=ERROR msg= service=http err="read tcp 172.17.0.3:40518->94.154.114.238:80: read: connection reset by peer"
time=2023-03-26T22:26:13.550Z level=ERROR msg= service=http err="read tcp 172.17.0.3:41248->94.154.114.238:80: read: connection reset by peer"
time=2023-03-26T22:25:54.428Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.428Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.438Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.443Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.443Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.444Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.444Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.445Z level=ERROR msg= service=http err="read tcp 172.17.0.3:52790->94.154.114.238:80: read: connection reset by peer"
time=2023-03-26T22:25:54.578Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:58.536Z level=INFO msg="rejected request" service=http ip=135.181.112.132:58732
time=2023-03-26T22:26:13.575Z level=INFO msg=REQ service=http method=GET host=www.xxskszx.com:80 url=http://www.xxskszx.com:80/
time=2023-03-26T22:25:58.536Z level=INFO msg="rejected request" service=http ip=135.181.112.132:47078
time=2023-03-26T22:26:13.582Z level=INFO msg=REQ service=http method=GET host=www.xxskszx.com:80 url=http://www.xxskszx.com:80/
time=2023-03-26T22:25:58.539Z level=INFO msg="rejected request" service=http ip=135.181.112.132:54416
time=2023-03-26T22:25:58.541Z level=INFO msg="rejected request" service=http ip=135.181.112.132:35532
time=2023-03-26T22:25:58.541Z level=INFO msg="rejected request" service=http ip=135.181.112.132:60708
time=2023-03-26T22:25:58.543Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:58.581Z level=INFO msg="rejected request" service=http ip=135.181.112.132:54798
time=2023-03-26T22:25:58.584Z level=INFO msg="rejected request" service=http ip=135.181.112.132:53496
time=2023-03-26T22:25:54.400Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.403Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.422Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:54.543Z level=ERROR msg= service=http err="read tcp 172.17.0.3:51816->94.154.114.238:80: read: connection reset by peer"
time=2023-03-26T22:25:54.547Z level=ERROR msg= service=http err="read tcp 172.17.0.3:51814->94.154.114.238:80: read: connection reset by peer"
time=2023-03-26T22:25:58.605Z level=INFO msg="rejected request" service=http ip=135.181.112.132:43550
time=2023-03-26T22:25:58.607Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:58.608Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:58.612Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:58.613Z level=ERROR msg= service=http err="dial tcp 94.154.114.238:80: i/o timeout"
time=2023-03-26T22:25:58.613Z level=ERROR msg= service=http err="read tcp 172.17.0.3:42176->94.154.114.238:80: read: connection reset by peer"
/entrypoint.sh: line 64: 28 Killed /usr/local/bin/sniproxy --dnsPort 5353 --publicIP $EXTERNAL_IP
What's with these IP addreses (proxy is not in use)? How can I make it more robust?
Seji64 commented
I will try to update sniproxy. Maybe the new Version is more stable