Giter Club home page Giter Club logo

oo-bin-py's People

Contributors

tjaartvdwalt avatar dlundgren avatar asrusch avatar renovate[bot] avatar zinkwazi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

tjaartvdwalt

oo-bin-py's Issues

Allow for release candidates

We can use Github's pre-release feature, to create a release that can be installed by QA users for testing, before general release.

We should update the install script to handle this

Dynamically assign forwarding ports

This should not be too difficult for vnc and rdp. We only need to come up with some structure for choosing ports.

For socks5 this is a bit more involved, because we need to set the port in the Firefox profile. (This should be doable, see comment)

Allow for local tunnels config

We want to have the tunnels config remotely updated for OO employees, but we should also allow for a local set of config to amend this.

usage displayed on rdp stop command

The usage text is erroneously displayed when issuing oo tunnels rdp stop

arusch@oo-w10-04:~$ oo tunnels rdp stop
Usage: oo tunnels [OPTIONS] [PROFILE] COMMAND [ARGS]...

  Manage tunnels

Options:
  -S, --stop    Stop all running socks5 tunnels
  -s, --status  Socks5 tunnels status
  -u, --update  Update tunnels configuration from remote
  --help        Show this message and exit.

Commands:
  rdp  Manage rdp tunnels
  vnc  Manage vnc tunnels
Stopping tunnel to rind

Add rdp and vnc tunnels

  • Add type support in tunnels.conf
type = "rdp" # socks5|rdp|vnc with socks5 being the default
  • Add rdp|vnc subcommands
oo tunnels host # default, uses socks5
oo tunnels rdp host
oo tunnels vnc host
  • Update tunnels script to support the new subcommands

Do not use full command path for tunnels binaries

The way we ps and grep will not detect a command, unless it was started with the full path
i.e autossh vs /usr/bin/autossh

This can cause confusing behaviour, if a tunnel is started outside the oo script

Add `oo ssh` command

This will use the tunnels config, but ssh to the jump_host instead of opening the tunnel

Allow multiple tunnels of a specific type

  • Create PID files based on jumphost name
  • Update the code that tests if the process in a PID file is still running
  • Update status command to show all running profiles
  • Update the stop command to be more fine grained. Stop specific instances, stop all instances

Change config to use toml

This will allow more robust configuration of hosts, and enable the supporting of rdp tunnels and ssh tunnels in the same script

Move to python click

The big reason for this, is because Click supports sub commands, where argomplete does not.

It appears we are going to have subcommands

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • actions/setup-python v5
.github/workflows/lint.yml
  • actions/checkout v4
  • actions/setup-python v5
  • isort/isort-action v1
.github/workflows/manual_tests.yml
.github/workflows/release.yml
  • actions/checkout v4
  • battila7/get-version-action v2
  • AButler/upload-release-assets v3.0
pep621
pyproject.toml
  • tomli >= 1.1.0
  • test/pytest >=7.3.1
  • test/pytest-mock >=3.10.0
  • flit_core >=3.2,<4
pyenv
.python-version
  • python 3.12

  • Check this box to trigger a request for Renovate to run again on this repository

Download tunnels config from remote url

  • Add global config
  • Add configuration for downloading the tunnels config from remote location
  • Update the install script to create the global config
  • Code to download tunnels config and copy it in place

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.