Giter Club home page Giter Club logo

dvpn-node-spawner's Introduction

Hi ๐Ÿ‘‹, I'm Alessandro Maggio

I'm a developer passionate about Web Development, Scripting, and recently interested also in the CyberSecurity.


๐Ÿค Connect with me


๐Ÿ’ป My knowledges:

Frontend

HTML5 CSS3 JavaScript TypeScript Angular Bootstrap React Redux

Backend

Python PHP Nodejs Flask Laravel Nodejs

Databases

MongoDB MySQL Redis


๐Ÿ“Š GitHub stats:

tkd-alex

dvpn-node-spawner's People

Contributors

dependabot[bot] avatar tkd-alex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dvpn-node-spawner's Issues

Failure to Connect to Newly Added Server

After setting up the dashboard and adding a new host's credentials, I get an immediate traceback upon attempting to connect my newly added host via the dashboard. Here's the full log output:

127.0.0.1 - - [23/Oct/2023 07:50:55] "GET /server/1 HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 790, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 536, in _make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/urllib3/connection.py", line 461, in getresponse
    httplib_response = super().getresponse()
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/http/client.py", line 1378, in getresponse
    response.begin()
  File "/usr/lib/python3.11/http/client.py", line 318, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/http/client.py", line 287, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 844, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/urllib3/util/retry.py", line 470, in increment
    raise reraise(type(error), error, _stacktrace)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/urllib3/util/util.py", line 38, in reraise
    raise value.with_traceback(tb)
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 790, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 536, in _make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/urllib3/connection.py", line 461, in getresponse
    httplib_response = super().getresponse()
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/http/client.py", line 1378, in getresponse
    response.begin()
  File "/usr/lib/python3.11/http/client.py", line 318, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/http/client.py", line 287, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/flask/app.py", line 2213, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/flask/app.py", line 2193, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/flask_httpauth.py", line 174, in decorated
    return self.ensure_sync(f)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/main.py", line 538, in handle_server
    docker_client = ssh.docker(docker_api_version)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/handlers/SSH.py", line 95, in docker
    if client.version(api_version=False)["ApiVersion"] == docker_api_version:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/docker/api/daemon.py", line 181, in version
    return self._result(self._get(url), json=True)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/docker/utils/decorators.py", line 46, in inner
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/docker/api/client.py", line 237, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alenz/dvpn-node-spawner/venv/lib/python3.11/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
127.0.0.1 - - [23/Oct/2023 07:50:55] "GET /server/1?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 -
127.0.0.1 - - [23/Oct/2023 07:50:55] "GET /server/1?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 -
127.0.0.1 - - [23/Oct/2023 07:50:55] "GET /server/1?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -

Does not listen on port 3845 or any port

(nodespawner) freQniK>python3 main.py 
[?] Listen address: 127.0.0.1
freQniK>ss -atp | grep "LISTEN"
LISTEN         0          4096                        127.0.0.1:18081                                                  0.0.0.0:*                                 users:(("hansen33s-dero-",pid=6677,fd=6))                                      
LISTEN         0          64                            0.0.0.0:nfs                                                    0.0.0.0:*                                                                                                                
LISTEN         0          4096                        127.0.0.1:55747                                                  0.0.0.0:*                                 users:(("kbfsfuse",pid=2863,fd=15))                                            
LISTEN         0          70                      192.168.1.130:33060                                                  0.0.0.0:*                                                                                                                
LISTEN         0          4096                        127.0.0.1:17831                                                  0.0.0.0:*                                 users:(("keybase",pid=2764,fd=3))                                              
LISTEN         0          151                     192.168.1.130:mysql                                                  0.0.0.0:*                                                                                                                
LISTEN         0          50                            0.0.0.0:netbios-ssn                                            0.0.0.0:*                                                                                                                
LISTEN         0          4096                        127.0.0.1:35915                                                  0.0.0.0:*                                                                                                                
LISTEN         0          50                          127.0.0.1:22222                                                  0.0.0.0:*                                 users:(("QOwnNotes",pid=14917,fd=39))                                          
LISTEN         0          64                            0.0.0.0:44815                                                  0.0.0.0:*                                                                                                                
LISTEN         0          4096                          0.0.0.0:sunrpc                                                 0.0.0.0:*                                                                                                                
LISTEN         0          4096                    192.168.1.130:10100                                                  0.0.0.0:*                                 users:(("derod-linux-amd",pid=3277,fd=87))                                     
LISTEN         0          4096                    127.0.0.53%lo:domain                                                 0.0.0.0:*                                                                                                                
LISTEN         0          4096                    192.168.1.130:10102                                                  0.0.0.0:*                                 users:(("derod-linux-amd",pid=3277,fd=48))                                     
LISTEN         0          5                           127.0.0.1:ipp                                                    0.0.0.0:*                                                                                                                
LISTEN         0          4096                          0.0.0.0:58423                                                  0.0.0.0:*                                                                                                                
LISTEN         0          4096                          0.0.0.0:58391                                                  0.0.0.0:*                                                                                                                
LISTEN         0          4096                        127.0.0.1:9050                                                   0.0.0.0:*                                                                                                                
LISTEN         0          4096                        127.0.0.1:9051                                                   0.0.0.0:*                                                                                                                
LISTEN         0          50                            0.0.0.0:microsoft-ds                                           0.0.0.0:*                                                                                                                
LISTEN         0          4096                          0.0.0.0:58493                                                  0.0.0.0:*                                                                                                                
LISTEN         0          511                         127.0.0.1:6463                                                   0.0.0.0:*                                 users:(("Discord",pid=15359,fd=113))                                           
LISTEN         0          64                               [::]:45473                                                     [::]:*                                                                                                                
LISTEN         0          64                               [::]:nfs                                                       [::]:*                                                                                                                
LISTEN         0          4096                             [::]:39561                                                     [::]:*                                                                                                                
LISTEN         0          50                               [::]:netbios-ssn                                               [::]:*                                                                                                                
LISTEN         0          4096                             [::]:38573                                                     [::]:*                                                                                                                
LISTEN         0          4096                             [::]:sunrpc                                                    [::]:*                                                                                                                
LISTEN         0          50                 [::ffff:127.0.0.1]:7221                                                         *:*                                 users:(("Sparrow",pid=10425,fd=8))                                             
LISTEN         0          5                               [::1]:ipp                                                       [::]:*                                                                                                                
LISTEN         0          4096                             [::]:33721                                                     [::]:*                                                                                                                
LISTEN         0          50                               [::]:microsoft-ds                                              [::]:*                                                                                                                
(nodespawner) freQniK>python3 -V
Python 3.10.12

Remote end closed connection without response

image

Traceback (most recent call last):
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 2213, in call
return self.wsgi_app(environ, start_response)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 2193, in wsgi_app
response = self.handle_exception(e)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask_httpauth.py", line 174, in decorated
return self.ensure_sync(f)(*args, **kwargs)
File "/home/pi/dvpn-node-spawner/main.py", line 538, in handle_server
docker_client = ssh.docker(docker_api_version)
File "/home/pi/dvpn-node-spawner/handlers/SSH.py", line 95, in docker
if client.version(api_version=False)["ApiVersion"] == docker_api_version:
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/docker/api/daemon.py", line 181, in version
return self._result(self._get(url), json=True)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/docker/api/client.py", line 237, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
192.168.31.30 - - [29/Oct/2023 18:58:45] "GET /server/1 HTTP/1.1" 500 -
Traceback (most recent call last):
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 536, in _make_request
response = conn.getresponse()
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/urllib3/connection.py", line 461, in getresponse
httplib_response = super().getresponse()
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 470, in increment
raise reraise(type(error), error, _stacktrace)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/urllib3/util/util.py", line 38, in reraise
raise value.with_traceback(tb)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 536, in _make_request
response = conn.getresponse()
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/urllib3/connection.py", line 461, in getresponse
httplib_response = super().getresponse()
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 2213, in call
return self.wsgi_app(environ, start_response)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 2193, in wsgi_app
response = self.handle_exception(e)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/flask_httpauth.py", line 174, in decorated
return self.ensure_sync(f)(*args, **kwargs)
File "/home/pi/dvpn-node-spawner/main.py", line 538, in handle_server
docker_client = ssh.docker(docker_api_version)
File "/home/pi/dvpn-node-spawner/handlers/SSH.py", line 95, in docker
if client.version(api_version=False)["ApiVersion"] == docker_api_version:
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/docker/api/daemon.py", line 181, in version
return self._result(self._get(url), json=True)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/docker/api/client.py", line 237, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/pi/dvpn-node-spawner/venv/lib/python3.10/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
192.168.31.30 - - [29/Oct/2023 18:58:45] "GET /server/1?debugger=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
192.168.31.30 - - [29/Oct/2023 18:58:45] "GET /server/1?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
192.168.31.30 - - [29/Oct/2023 18:58:45] "GET /server/1?debugger=yes&cmd=resource&f=console.png HTTP/1.1"

Newly Created Node stuck in Continual Restart Loop with Node Status Error: "Connection refused"

The truncated output from log is attached below. It appears the node gets stuck each restart due to a missing database file at /root/.sentinelnode/data.db, which you can see first appear on line 9 of the log output attached.

2023-10-26T20:26:10Z INF Starting the Handshake process...
2023-10-26T20:26:10Z INF Starting the VPN service type=1
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.8.0.1/24 dev wg0
[#] ip -6 address add fd86:ea04:1115::1/120 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; ip6tables -A FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;
2023-10-26T20:26:10Z INF Opening the database path=/root/.sentinelnode/data.db
Error: unable to open database file: no such file or directory
2023-10-26T20:26:12Z INF Reading the configuration file path=/root/.sentinelnode/config.toml
2023-10-26T20:26:12Z INF Validating the configuration data={"chain":{"gas":200000,"gas_adjustment":1.05,"gas_prices":"0.1udvpn","id":"sentinelhub-2","rpc_addresses":"https://rpc.sentinel.co:443,https://rpc.mathnodes.com:443,https://rpc.sentinel.quokkastake.io:443","rpc_query_timeout":10,"rpc_tx_timeout":30,"simulate_and_execute":true},"handshake":{"enable":true,"peers":8},"keyring":{"backend":"test","from":"operator"},"node":{"gigabyte_prices":"105000ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,8016ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1068800ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,106880ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,14696000udvpn","hourly_prices":"198000ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,700ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1630000ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,15000ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,13000000udvpn","interval_set_sessions":10000000000,"interval_update_sessions":6900000000000,"interval_update_status":3300000000000,"ipv4_address":"","listen_on":"0.0.0.0:7862","moniker":"LittleRocketMan420-WG","remote_url":"https://166.70.14.132:7862","type":"wireguard"},"qos":{"max_peers":250}}
2023-10-26T20:26:12Z INF Creating the IPv4 pool CIDR=10.8.0.2/24
2023-10-26T20:26:12Z INF Creating the IPv6 pool CIDR=fd86:ea04:1115::2/120
2023-10-26T20:26:12Z INF Initializing the keyring backend=test name=sentinel
2023-10-26T20:26:12Z INF Querying the account address=sent1n78e3v8zmzum3c7trxt57l6wl82lqa239jfn88
2023-10-26T20:26:12Z INF Fetching the GeoIP location info...
2023-10-26T20:26:12Z INF GeoIP location info city=Lindon country="United States"
2023-10-26T20:26:12Z INF Performing the internet speed test...
2023-10-26T20:26:35Z INF Internet speed test result data={"download":"29883637","upload":"34167800"}
2023-10-26T20:26:35Z INF Initializing the VPN service type=1
2023-10-26T20:26:35Z INF Starting the Handshake process...
2023-10-26T20:26:35Z INF Starting the VPN service type=1
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.8.0.1/24 dev wg0
[#] ip -6 address add fd86:ea04:1115::1/120 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; ip6tables -A FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;
2023-10-26T20:26:36Z INF Opening the database path=/root/.sentinelnode/data.db
Error: unable to open database file: no such file or directory
2023-10-26T20:26:37Z INF Reading the configuration file path=/root/.sentinelnode/config.toml
2023-10-26T20:26:37Z INF Validating the configuration data={"chain":{"gas":200000,"gas_adjustment":1.05,"gas_prices":"0.1udvpn","id":"sentinelhub-2","rpc_addresses":"https://rpc.sentinel.co:443,https://rpc.mathnodes.com:443,https://rpc.sentinel.quokkastake.io:443","rpc_query_timeout":10,"rpc_tx_timeout":30,"simulate_and_execute":true},"handshake":{"enable":true,"peers":8},"keyring":{"backend":"test","from":"operator"},"node":{"gigabyte_prices":"105000ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,8016ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1068800ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,106880ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,14696000udvpn","hourly_prices":"198000ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,700ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1630000ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,15000ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,13000000udvpn","interval_set_sessions":10000000000,"interval_update_sessions":6900000000000,"interval_update_status":3300000000000,"ipv4_address":"","listen_on":"0.0.0.0:7862","moniker":"LittleRocketMan420-WG","remote_url":"https://166.70.14.132:7862","type":"wireguard"},"qos":{"max_peers":250}}
2023-10-26T20:26:37Z INF Creating the IPv4 pool CIDR=10.8.0.2/24
2023-10-26T20:26:37Z INF Creating the IPv6 pool CIDR=fd86:ea04:1115::2/120
2023-10-26T20:26:37Z INF Initializing the keyring backend=test name=sentinel
2023-10-26T20:26:37Z INF Querying the account address=sent1n78e3v8zmzum3c7trxt57l6wl82lqa239jfn88
2023-10-26T20:26:38Z INF Fetching the GeoIP location info...
2023-10-26T20:26:38Z INF GeoIP location info city=Lindon country="United States"
2023-10-26T20:26:38Z INF Performing the internet speed test...
2023-10-26T20:27:01Z INF Internet speed test result data={"download":"85288500","upload":"44478925"}
2023-10-26T20:27:01Z INF Starting the Handshake process...
2023-10-26T20:27:01Z INF Initializing the VPN service type=1
2023-10-26T20:27:01Z INF Starting the VPN service type=1
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.8.0.1/24 dev wg0
[#] ip -6 address add fd86:ea04:1115::1/120 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; ip6tables -A FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;
2023-10-26T20:27:01Z INF Opening the database path=/root/.sentinelnode/data.db
Error: unable to open database file: no such file or directory
2023-10-26T20:27:02Z INF Reading the configuration file path=/root/.sentinelnode/config.toml
2023-10-26T20:27:02Z INF Validating the configuration data={"chain":{"gas":200000,"gas_adjustment":1.05,"gas_prices":"0.1udvpn","id":"sentinelhub-2","rpc_addresses":"https://rpc.sentinel.co:443,https://rpc.mathnodes.com:443,https://rpc.sentinel.quokkastake.io:443","rpc_query_timeout":10,"rpc_tx_timeout":30,"simulate_and_execute":true},"handshake":{"enable":true,"peers":8},"keyring":{"backend":"test","from":"operator"},"node":{"gigabyte_prices":"105000ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,8016ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1068800ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,106880ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,14696000udvpn","hourly_prices":"198000ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,700ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1630000ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,15000ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,13000000udvpn","interval_set_sessions":10000000000,"interval_update_sessions":6900000000000,"interval_update_status":3300000000000,"ipv4_address":"","listen_on":"0.0.0.0:7862","moniker":"LittleRocketMan420-WG","remote_url":"https://166.70.14.132:7862","type":"wireguard"},"qos":{"max_peers":250}}

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.