Git Product home page Git Product logo

convid-agent-windows's People

Contributors

flaviostutz avatar jairsjunior avatar ralphg6 avatar tiagostutz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

convid-agent-windows's Issues

RDP machine connection screen

Input:

  • Server address
  • Account email
  • Machine Id/Code

Action:

  • Connect to Remote Desktop
    • connect tunnel
    • launch Remote Desktop pointing to localhost

Chiquinho: Unable to connect twice to RDP without reexecuting the agent

Steps to reproduce:

  1. Open the agent and insert the code of the remote machine
  2. Open the RDP client and connect to machine
  3. Close the RDP session
  4. Try to connect again to the machine

Logs in Chiquinho after closing the session:

INFO[0047] Error closing resources ... recovering from closing closeClient()

Chiquinho: check whether the local binding port is already being used and assign another one

To avoid por conflict panic and at the same time enable multiples Clients openend at the same time, the agent could check the port allocation

By default the agent uses the 3389 port. Implement a logic that discovers, starting from 3389, the next available port to use it in the local tunnel.

The 3389 port is hardcoded in App.js and in enrollment.go (in estabelishSSHTunnel function and in exec.Command to open mstsc). So it would be nice to find from "3389" to avoid leaving any hard coded reference behind.

Machine enrollment Screen

Input:

  • Server address
  • Account email

Button: REGISTER MACHINE

Output:

  • Machine Id
  • Connection status

Machine Enrollment Model

Provide Go funcs:

  • for enrolling a new Machine (POST /account/[accountId]/machine)
  • for keeping SSH tunnel connections active (reconnect, get newer machine data) and generating events to notify "reconnecting","connected","disconnected".

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.