detj / moor Goto Github PK
View Code? Open in Web Editor NEW๐ VPN minus annoyance
License: MIT License
๐ VPN minus annoyance
License: MIT License
Take the seamlessness of moor to the next level. Broadly, this is what I'm looking at
Point 3, is a separate issue #3
Introduce a new -d
flag for launching as a daemon. If launched as a daemon, moor should keep track of all the profiles that are in connected state and keep them as connected.
The implementation details of how this has to be achieved is still an open question.
Move configuration to a ~/.moor
directory. All configurations including OpenVPN config profiles & things specific to moor should be kept in this dir.
Existing ~/.moorrc file needs to be migrated.
No point running moor if Tunnelblick is not installed. Guide the user to Tunnelblick's website and installation page.
Add a -a
, -d
flag to add/remove name/secret pairs in ~/.moorrc
$ moor -a "vpn-name" -s "xxxxxxx"
$ moor --add "vpn-name" --secret "xxxxxxx"
$ moor -r "vpn-name"
$ moor --remove "vpn-name"
Only OS X & macOS is supported for now. Sorry ๐ง & ๐ผ
If only 5 seconds are remaining on the google auth timer, by the time the password we type in reaches point of authentication, it has expired. These cases lead to failure of auth. In case only 5 seconds or lesser are remaining, we should wait until we get the new password, then connect to VPN.
Make it work with node v7.x.x
There is some issue with authentication for username and password
Please correct me if I am wrong.
Many a times, we need to enter the password while accessing services at Go-Jek. We can add a command like this.
Stop depending on Tunnelblick & start depending on openvpn
cli tool.
I would need more details on what does this mean in .moorrc
This is the error that I get
fs.js:641
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '/Users/sudhanshu/Library/Application Support/Tunnelblick/Configurations/[email protected]/Contents/Resources/config.ovpn'
at Error (native)
at Object.fs.openSync (fs.js:641:18)
at Object.fs.readFileSync (fs.js:509:33)
at writePass (/Users/sudhanshu/.nvm/versions/node/v6.11.2/lib/node_modules/moor/moor.js:131:21)
at connect (/Users/sudhanshu/.nvm/versions/node/v6.11.2/lib/node_modules/moor/moor.js:96:3)
at Array.forEach (native)
at connectAll (/Users/sudhanshu/.nvm/versions/node/v6.11.2/lib/node_modules/moor/moor.js:111:12)
at Object. (/Users/sudhanshu/.nvm/versions/node/v6.11.2/lib/node_modules/moor/moor.js:65:3)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.