Git Product home page Git Product logo

sentinel-official / sentinel Goto Github PK

View Code? Open in Web Editor NEW
299.0 41.0 61.0 258.31 MB

Sentinel is an interoperable secure network layer offering the Sentinel Service Chain exclusively for distributed & decentralized native services like - dVPN, Sentrix (dChat and dVoIP) and more.

Home Page: https://Sentinel.co

License: MIT License

Python 5.92% Shell 0.67% JavaScript 39.31% Java 37.66% Objective-C 0.17% HTML 10.97% CSS 1.73% Ruby 0.01% Go 2.06% Dockerfile 0.06% Starlark 0.07% SCSS 1.15% Solidity 0.21%
sentinel sentinel-network tendermint peer-to-peer decentralized-bandwidth

sentinel's People

Contributors

14avengers avatar anthrax314 avatar barryallen1392 avatar baymax19 avatar cooldev95 avatar fabulous345 avatar ironman0x7b2 avatar k4b3z4 avatar kay14 avatar mcdaan avatar monkofcoin avatar pertinentstark avatar task225 avatar than-os avatar trippinr avatar trynew987 avatar wakandaforevr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sentinel's Issues

VPN 'not running' issue on android Q

Noticed issue pop up when I updated my phone to android 10. VPN was connecting perfectly when on android 9 but now shows 'not running' every time on android 10. Tried on friend's phone also, same issue.
Action:
Clicking on connect button to connect to a VPN

Expected behavior:
To open new activity and run VPN

Actual behavior:
Vpn status displays 'not running' and Disconnect/View VPN button does not work. Have to restart app to come back to main screen.

PS I noticed you were using something of OpenVPN in there, and i know that they had some issues with android 10 as well a couple of months ago. Could be related.

I have attached a screen recording of the incident
notrunning.zip

"Package brew is not installed"

When I use the dVPN and try to connect, I get a message stating "package brew is not installed." I'm using a Mac. I've tried searching online. Anybody know? Thanks!

open failed enoent error

hi. i use Androidx to using of sentinel. but when i want to connect to a vpn, i get this error
open failed ENOENT (No such file or directory).
why?

Windows 10 setup issue

Hi,

I opened the Sentinel wallet yesterday .. (don’t know how but not as administrator). Attempting to follow instruction I closed it, deleted app data, sentinel and squirrel temp files and downloaded again, now I can’t load it getting error message Installation has failed. I’m running Windows 10. I managed to untick view hidden item also so I may have deleted an essential file although my computer is running fine.

Here’s the setup log
2018-04-18 23:38:12> Program: Starting Squirrel Updater: --install .
2018-04-18 23:38:12> Program: Starting install, writing to C:\Users\NewUser\AppData\Local\SquirrelTemp
2018-04-18 23:38:12> Program: About to install to: C:\Users\NewUser\AppData\Local\Sentinel
2018-04-18 23:38:12> IEnableLogger: Failed to copy Update.exe to C:\Users\NewUser\AppData\Local\Sentinel\Update.exe: System.UnauthorizedAccessException: Access to the path 'C:\Users\NewUser\AppData\Local\Sentinel\Update.exe' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Squirrel.Update.Program.<>c__DisplayClass4_1.b__4()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2018-04-18 23:38:12> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\NewUser\AppData\Local\Sentinel\Update.exe' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Squirrel.Update.Program.<>c__DisplayClass4_1.b__4()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
at Squirrel.Utility.ErrorIfThrows(IEnableLogger This, Action block, String message)
at Squirrel.Update.Program.d__4.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Squirrel.Update.Program.executeCommandLine(String[] args)
at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\NewUser\AppData\Local\Sentinel\Update.exe' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Squirrel.Update.Program.<>c__DisplayClass4_1.b__4()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
at Squirrel.Utility.ErrorIfThrows(IEnableLogger This, Action block, String message)
at Squirrel.Update.Program.d__4.MoveNext()<---

Sentinal dvpn apk

There is ipv6 leak while connected to vpn.
Checked through whatismyip and whatismyipaddress
Both shows real ipv6 address.
Cross checked using different vpns.

Windows 10 endless payment loop on trying to connect VPN

With today's version, alpha-0.0.32, when I go to the VPN list and select one, it asks me to pay (xxx cents). I do so, check the confirmation, and after 25 confirmations, try to connect. I click the same connection point and it says "you must pay before you connect" and requests another payment. It does this endlessly and never makes a VPN connection. OpenVPN is running.

cannot connect payment problem

stuck

I am having trouble connecting to the server. Stuck at "sending" status forever.

Any idea?

Tried with latest client on windows and also previous version Sentinel-alpha-0.1.0-win-x64.exe still the same .

Releases page lists only MD5 checksums

Webpage: https://github.com/sentinel-official/sentinel/releases

Issue: The only checksums listed for releases are MD5 checksums. While this may be sufficient for verifying against file corruption, it is really insufficient for verifying against file tampering. The generation of an MD5 checksum collision is not difficult and does not necessarily result in significant changes in file size.

Suggested Change: Include checksums that are less susceptible to collisions. Perhaps, it would be better to include a SHA256 checksum.

Sentinel Messes Up Cat NPC's

My cat NPC's only have Greeting and Greet Range set. Everything seems to work just fine until you restart the server. After it restarts the npc seems to make a second NPC with the basic Black_Cat skin.
If your npc was set to be invincible with /Npc vulnerable It looses that and is able to be damaged/pushed/etc. It also glitches the greeting and sometime it will not show up if the npc is doubled.

standard_init_linux.go:228: exec user process caused: exec format error

I completed installation as it is said and when i try to excecute the last command this happens:


sudo docker run  -it --privileged --mount type=bind,source=$HOME/.sentinel,target=/root/.sentinel -p 3000:3000 -p 1194:1194/udp sentinelofficial/sentinel-vpn-node
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
standard_init_linux.go:228: exec user process caused: exec format error

SO
i try running by specifing the platform getting another error:

~$ sudo docker run --platform linux/amd64 -it --privileged --mount type=bind,source=$HOME/.sentinel,target=/root/.sentinel -p 3000:3000 -p 1194:1194/udp sentinelofficial/sentinel-vpn-node
standard_init_linux.go:228: exec user process caused: exec format error

Running Ubuntu 21.04 on a rasberry pi 4B

Not showing bech32 balance

After consolidating all my UTXOs to a bc* address, (all in Samourai,) Sentinel now shows a zero balance for that wallet. Samourai shows the correct balance.

Sentinel Docker node stopped working several days ago

See the logs below.

[2021-04-09 15:51:56 +0000] [31] [INFO] Booting worker with pid: 31
[2021-04-09 15:51:56 +0000] [8] [DEBUG] 1 workers

/usr/lib/python2.7/site-packages/speedtest_cli.py:34: UserWarning: The file speedtest_cli.py has been deprecated in favor of speedtest.py
and is available for download at:

https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
  warnings.warn(DEPRECATED_MSG, UserWarning)
Traceback (most recent call last):
  File "app.py", line 72, in <module>
    node = Node(config)
  File "/root/sentinel/node/node.py", line 13, in __init__
    self.speed_test = Speedtest()
  File "/usr/lib/python2.7/site-packages/speedtest.py", line 1091, in __init__
    self.get_config()
  File "/usr/lib/python2.7/site-packages/speedtest.py", line 1174, in get_config
    map(int, server_config['ignoreids'].split(','))
ValueError: invalid literal for int() with base 10: ''

Unable to reach sentinel server at this moment

Hi, I'm just trying to get a connection up and going.

I am running the sentinel client from a mac. I launched the app from the instructions (show package contents, macos->sentinel) and I have completed the transaction. but when I try to connect I receive an error "Unable to reach sentinel server at this moment" Is that due to me? or is the the server I am trying to connect to having the issue?

Is there a way to fix it?

Thank you.

Mac Version: Sentinel Network -dVPN - alpha-0.1.0
Server Version: 0.0.7-alpha w/ AES-256-CBC on OpenVPN Public

Ubuntu installation issues

sudo docker run -it --privileged --mount type=bind,source=$HOME/.sentinel,target=/root/.sentinel -p 3000:3000 -p 1194:1194/udp sentinelofficial/stt1-dvpn-openvpn
I[12-26|23:43:06.502] Starting RPC HTTP server on tcp://localhost:1317 module=rest-server
I[12-26|23:43:06.702] REST server started module=rest-server

Please enter account name: **********
Please enter account password: **********

Updating location and Internet speed information...
2020/12/26 23:45:13 http: multiple response.WriteHeader calls
I[12-26|23:45:13.687] Served RPC HTTP response module=rest-server method=POST url=/register/vpn status=401 duration=26 remoteAddr=127.0.0.1:46396
No JSON object could be decoded

"No JSON object could be decoded".
Can't find any infos on this bug. Suggestions?

Question

Will this work in China? Specifically behind the Great Firewall.

Sentinel

This program never works in Debian.

Ubuntu - Starting dVPN node issue

I[05-05|15:52:36.099] Starting RPC HTTP server on tcp://localhost:1317 module=rest-server
ERROR: Failed to listen on tcp://localhost:1317: listen tcp 213.183.34.101:1317: bind: cannot assign requested address
Traceback (most recent call last):
File "app.py", line 7, in
from sentinel.config import DEFAULT_GAS
File "/root/sentinel/init.py", line 2, in
from .node import node
File "/root/sentinel/node/init.py", line 2, in
from .controllers import add_tx
File "/root/sentinel/node/controllers.py", line 3, in
from .node import node
File "/root/sentinel/node/node.py", line 74, in
node = Node()
File "/root/sentinel/node/node.py", line 13, in init
self.speed_test = Speedtest()
File "/usr/lib/python2.7/site-packages/speedtest.py", line 1053, in init
self.get_config()
File "/usr/lib/python2.7/site-packages/speedtest.py", line 1136, in get_config
map(int, server_config['ignoreids'].split(','))
ValueError: invalid literal for int() with base 10: ''

The OS is Ubuntu-20.04 x64.
Did anyone have a problem of this sort?
Thanks

Can't get free tokens

I did create Etherium account, Tendermint Test Net account, but when I click Get Free Tokens, I get an error message, which says that something got wrong when getting tokens. Also when try to activate my account in Node Management it says Unable to find nodes hosted with this address

Unable to change cost per gb

I have modified the config manually and restarted docker, but the node list still shows the old cost per GB config.

Minimum Bandwidth Requirements.

Hi there, I'm stuck with a max of 50 Mbps Download and 18 Mbps Upload speeds (AUS National std), is this going to be a major problem? Do speeds just essentially slow your 'rewards' or does it go deeper than that? (do nodes with slower bandwidth get 'pushed aside' lol?, i'm sure it doesn't work like that, as in does an algorithm balance the slower nodes or something?)

I'm keen to set up a node, but want to make sure it's going to work.

I tried searching for an answer, as the initial 100mb d/l 50mb Upload specs in a guide got me wondering, so I thought i'd ask here.
Cheers.

Add Slack app to Repo

Hello.

We would like to get notifications of upcoming releases.

It would be a massive help if we could do it through Github's Slack integration.

Could you kindly install it?

Thank you

Dependency packages missing

It looks like when installing sentinel hub in linux (debian based), there are missing dependecies from different github packages:

https://docs.sentinel.co/Testnets/Sentinel-Turing-1/Sentinel-Hub_Setup/

cannot find package "github.com/hashicorp/hcl/hcl/printer" in any of:
/usr/local/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
/root/Projects/src/github.com/hashicorp/hcl/hcl/printer (from $GOPATH)
cannot find package "github.com/gogo/protobuf/grpc" in any of:
/usr/local/go/src/github.com/gogo/protobuf/grpc (from $GOROOT)
/root/Projects/src/github.com/gogo/protobuf/grpc (from $GOPATH)
cannot find package "github.com/tendermint/cosmos-rosetta-gateway/errors" in any of:
/usr/local/go/src/github.com/tendermint/cosmos-rosetta-gateway/errors (from $GOROOT)
/root/Projects/src/github.com/tendermint/cosmos-rosetta-gateway/errors (from $GOPATH)
cannot find package "github.com/tendermint/cosmos-rosetta-gateway/server" in any of:
/usr/local/go/src/github.com/tendermint/cosmos-rosetta-gateway/server (from $GOROOT)
/root/Projects/src/github.com/tendermint/cosmos-rosetta-gateway/server (from $GOPATH)
cannot find package "github.com/tendermint/cosmos-rosetta-gateway/types" in any of:
/usr/local/go/src/github.com/tendermint/cosmos-rosetta-gateway/types (from $GOROOT)
/root/Projects/src/github.com/tendermint/cosmos-rosetta-gateway/types (from $GOPATH)
cannot find package "github.com/cosmos/cosmos-sdk/x/supply" in any of:
/usr/local/go/src/github.com/cosmos/cosmos-sdk/x/supply (from $GOROOT)
/root/Projects/src/github.com/cosmos/cosmos-sdk/x/supply (from $GOPATH)
cannot find package "github.com/tendermint/tendermint/libs/bech32" in any of:
/usr/local/go/src/github.com/tendermint/tendermint/libs/bech32 (from $GOROOT)
/root/Projects/src/github.com/tendermint/tendermint/libs/bech32 (from $GOPATH)
cannot find package "github.com/cosmos/cosmos-sdk/client/context" in any of:
/usr/local/go/src/github.com/cosmos/cosmos-sdk/client/context (from $GOROOT)
/root/Projects/src/github.com/cosmos/cosmos-sdk/client/context (from $GOPATH)
cannot find package "github.com/cosmos/cosmos-sdk/x/auth/exported" in any of:
/usr/local/go/src/github.com/cosmos/cosmos-sdk/x/auth/exported (from $GOROOT)
/root/Projects/src/github.com/cosmos/cosmos-sdk/x/auth/exported (from $GOPATH)
cannot find package "github.com/cosmos/cosmos-sdk/x/auth/client/utils" in any of:
/usr/local/go/src/github.com/cosmos/cosmos-sdk/x/auth/client/utils (from $GOROOT)
/root/Projects/src/github.com/cosmos/cosmos-sdk/x/auth/client/utils (from $GOPATH)

Other parts of these libraries were still downloaded, but these missing dependencies cause 'make install' to fail.

Missing return value bug causing Uniswap transfer issue

SENT ERC20 token returns missing value on transfers.

Because of this bug, SENT token can not be transferred out of the SENT Uniswap contract.

https://etherscan.io/address/0x0b5ce6f7cbe0627aa8ad2e7e69ed554c0fe79162

This prevents people to swap their SENT tokens and removing liquidity through Uniswap (or any other decentralized liquidity protocols).

A well detailed explanation of this bug can be found in the link below. SENT was listed as one of the tokens with this bug.

https://medium.com/coinmonks/missing-return-value-bug-at-least-130-tokens-affected-d67bf08521ca

Debian 10 Installation

Hi. Trying to install Sentinel_0.1.2_amd64_18.04.deb in Debian 10 is reported this error:

sudo dpkg -i Sentinel_0.1.2_amd64_18.04.deb 
Selecting previously unselected package sentinel.
(Reading database ... 226359 files and directories currently installed.)
Preparing to unpack Sentinel_0.1.2_amd64_18.04.deb ...
Unpacking sentinel (0.1.2-1) ...
dpkg: dependency problems prevent configuration of sentinel:
 sentinel depends on libgconf2-4; however:
  Package libgconf2-4 is not installed.
 sentinel depends on openvpn; however:
  Package openvpn is not installed.
 sentinel depends on shadowsocks-libev; however:
  Package shadowsocks-libev is not installed.

Later was installed libgconf2-4: sudo dpkg -i libgconf-2-4_3.2.6-5_amd64.deb which is necessary to be downloaded from debian.org, openvpn was installed too but installing Sentinel_0.1.2_amd64_18.04.deb reported:

sudo dpkg -i Sentinel_0.1.2_amd64_18.04.deb 
(Reading database ... 226730 files and directories currently installed.)
Preparing to unpack Sentinel_0.1.2_amd64_18.04.deb ...
Unpacking sentinel (0.1.2-1) over (0.1.2-1) ...
dpkg: dependency problems prevent configuration of sentinel:
 sentinel depends on libgconf2-4; however:
  Package libgconf2-4 is not installed.
 sentinel depends on shadowsocks-libev; however:
  Package shadowsocks-libev is not installed.

In Debian, libgconf2-4 is called: libgconf-2-4 then the .deb file was unpacked with dpkg-deb -R and edited the files: DEBIAN/control and usr/lib/sentinel/resources/app.asar changing the string libgconf2-4 to: libgconf-2-4

To install shadowsocks-libev in Debian 10 is necessary to activate the backports in the surces.list file, it was installed.

After install successfully the new .deb package when I launch Sentinel from terminal an input window ask me the root password but when is inserted the terminal report this new error:

> sentinel [9367:0316/092221.212124:FATAL:memory_linux.cc(35)] Out of memory.

How can be fixed this issue?

user name password

Hello to all,
I get an error message at startup

Updating location and Internet speed information...
No account found. Returning 0.
No account found, defaulting to sequence 0
I[05-05|12:51:57.591] Served RPC HTTP response module=rest-server method=POST url=/register/vpn status=401 duration=696 remoteAddr=127.0.0.1:60868
{'message': 'Response status code is not 200.', 'code': 2, 'error': 'Ciphertext decryption failed'}

Can't install from .deb file

using the command: sudo dpkg -i sentinel-desktop-app_0.1.0_amd64.deb

I get:

dpkg-deb: error: `sentinel-desktop-app_0.1.0_amd64.deb' is not a debian format archive
dpkg: error processing archive sentinel-desktop-app_0.1.0_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
sentinel-desktop-app_0.1.0_amd64.deb

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.