Giter Site home page Giter Site logo

moor's People

Contributors

detj avatar gitter-badger avatar

Watchers

 avatar  avatar  avatar  avatar

moor's Issues

Make moor more seamless

Take the seamlessness of moor to the next level. Broadly, this is what I'm looking at

  1. No need to enter username/password once or more than once when you fire moor post install
  2. No annoying Tunnelblick dialogs should popup asking for user interaction when moor is in operation
  3. Auto reconnect all profiles and stay connected (#3)

Point 3, is a separate issue #3

Deamon mode

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.

~/.moor directory structure

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.

Options to manage ovpn configs

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"

Incase of last 5 seconds remaining, don't connect. Wait.

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.

  • Also, we can keep the last seconds remaining configurable. Because in times of bad internet connections, I have seen that this thing matters a lot.

Can't find folder. Need more details on <tunnelblick-profile-name>

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)

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.