Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added initial prototype for rathole #8632

Merged
merged 113 commits into from
Jun 30, 2024
Merged

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    11e7127 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Configuration menu
    Copy the full SHA
    91a326a View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    191193d View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. define RatholeConfig model

    - added a tomlreaderwriter to read/write with locks
    - added a RatholeClientToml Reader/Writer
    - define a RatholeServerTole reader/writer
    shubham3121 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    02694ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d26dab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a875114 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2186a26 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    59eff34 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. added nginx conf builder

    shubham3121 committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    6ed6b10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0084bef View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. - pass server name to nginx builder

    - integrate nginx builder with toml manager
    - add requirements.txt
    - update rathole dockerfile
    
    Co-authored-by: Khoa Nguyen <[email protected]>
    shubham3121 and khoaguin committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    bbb093f View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. fix relative import issues

    khoaguin committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    17e9a2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3807a52 View commit details
    Browse the repository at this point in the history
  3. fix rathole server

    shubham3121 committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    3f1be01 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    f5bd6ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    284ca05 View commit details
    Browse the repository at this point in the history
  3. fix rathole config in docker compose files

    - fix imports in rathole utils
    - add rathole loadbalancer to traefik
    shubham3121 committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    ce2d36e View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. fix client.toml

    shubham3121 committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    c179ddb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    895448b View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    e04fb02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b22309e View commit details
    Browse the repository at this point in the history
  3. retry fixing traefik

    shubham3121 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b61d70e View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    6f0759e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bffeefa View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. Configuration menu
    Copy the full SHA
    eee0fc1 View commit details
    Browse the repository at this point in the history
  2. fix rathole configmap

    shubham3121 committed May 1, 2024
    Configuration menu
    Copy the full SHA
    0eb42a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc31f6b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00cc225 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. update configmap to seperate path of conf loaded and used in rathole

    add a script to copy toml file from loaded path to used path
    cleanup start.sh
    shubham3121 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    79bcc23 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    c693d3f View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Configuration menu
    Copy the full SHA
    3d7759e View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. add toml_w and tomli packages

    - add methods to extract configmap by name
    shubham3121 committed May 8, 2024
    Configuration menu
    Copy the full SHA
    a1a379b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81c4dfa View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. add classes to handle CRUD ops for toml server and client files in ra…

    …thole
    
    - add RatholeServer class to add client info to rathole server
    - add method to alter endpoints in traefik
    - add method to add config to rathole dynamic traefik config via configmaps
    shubham3121 committed May 9, 2024
    Configuration menu
    Copy the full SHA
    619e119 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2fda67d View commit details
    Browse the repository at this point in the history
  3. add method to add host to client.toml in configmap

    -  add methods to forward rathole port to proxy
    shubham3121 committed May 9, 2024
    Configuration menu
    Copy the full SHA
    55272f8 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. move RatholeService to seperate file

    - fix bugs with saving toml
    - add resourceVersion
    shubham3121 committed May 13, 2024
    Configuration menu
    Copy the full SHA
    7b8e461 View commit details
    Browse the repository at this point in the history
  2. fix add host to client method to pass remote addr

    - integrate Rathole service to Network service
    shubham3121 committed May 13, 2024
    Configuration menu
    Copy the full SHA
    13e2dd0 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Configuration menu
    Copy the full SHA
    ad838ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01fe5e8 View commit details
    Browse the repository at this point in the history
  3. fix set remote addr method in Rathole service

    - skip remote ping check if rathole
    shubham3121 committed May 15, 2024
    Configuration menu
    Copy the full SHA
    f7be280 View commit details
    Browse the repository at this point in the history
  4. rename RATHOLE_MODE to MODE in rathole/start.sh

    - removed extra braces from get_rathole_port
    shubham3121 committed May 15, 2024
    Configuration menu
    Copy the full SHA
    c5c3fa6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    401d974 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Configuration menu
    Copy the full SHA
    e4e55f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd9a037 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. configure rathole toml to use websockets

    - add a path in ingress to resolve to rathole service
    - fix remote addr url in client.toml
    shubham3121 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    f9a3fcf View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. configure to use same port and path for both http and websocket

    - add a traefik rule to route requests with Header with websocket to rathole
    shubham3121 committed May 21, 2024
    Configuration menu
    Copy the full SHA
    299dbac View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    f67774c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd60a9b View commit details
    Browse the repository at this point in the history
  3. start traefik in watch mode with watch on directory instead of a sing…

    …le file
    
    - replace localhost with 0.0.0.0 during local addr bind in rathole client.toml
    - fix allow backend to access and perform crud on resource Services
    shubham3121 committed May 22, 2024
    Configuration menu
    Copy the full SHA
    72e7daa View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    59ecc5d View commit details
    Browse the repository at this point in the history
  2. fix proxy rule for dynamically added router rules for rathole

    - set RUST_LOG level to trace for debugging
    shubham3121 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    7c54096 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    eb284ff View commit details
    Browse the repository at this point in the history
  2. fix lint

    shubham3121 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    57b35b0 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. move rathole token to http routes

    - update get and post to patch host headers if rathole token is present
    - fix stream endpoint to work with rathole
    shubham3121 committed May 28, 2024
    Configuration menu
    Copy the full SHA
    1fbd8be View commit details
    Browse the repository at this point in the history
  2. fix passing host name in case of rathole connection

    - pass reverse tunnel via connect_to_gateway
    - add method to get rathole route
    shubham3121 committed May 28, 2024
    Configuration menu
    Copy the full SHA
    9c7983c View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. add widget

    eelcovdw authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    2b7172e View commit details
    Browse the repository at this point in the history
  2. minor fixes

    eelcovdw authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    667c4d4 View commit details
    Browse the repository at this point in the history
  3. add decision column, disable sort

    eelcovdw authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    6262647 View commit details
    Browse the repository at this point in the history
  4. fix old resolve method + typing

    eelcovdw authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    17cc6d3 View commit details
    Browse the repository at this point in the history
  5. add comments

    eelcovdw authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    810bd65 View commit details
    Browse the repository at this point in the history
  6. fix tests

    eelcovdw authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    307c4b8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a931f6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b1d96e4 View commit details
    Browse the repository at this point in the history
  9. Fix unit/notebook tests

    IonesioJunior authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    0245797 View commit details
    Browse the repository at this point in the history
  10. Update settings test

    IonesioJunior authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    ba11b4d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    552a8ed View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    46a0a76 View commit details
    Browse the repository at this point in the history
  13. Fix lint

    IonesioJunior authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    7a8368a View commit details
    Browse the repository at this point in the history
  14. Fix unit tests

    IonesioJunior authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    3010045 View commit details
    Browse the repository at this point in the history
  15. Fix lint

    IonesioJunior authored and madhavajay committed May 29, 2024
    Configuration menu
    Copy the full SHA
    fc2b703 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3e92863 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    dbf3ff3 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Re-add changed node route

    madhavajay committed May 30, 2024
    Configuration menu
    Copy the full SHA
    74ad277 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cebd471 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    47d5852 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6ac3253 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. make id optional in NodeConnection and its subclasses

    - remove using route id to check for existing routes
    shubham3121 committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    e27c5cd View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    b9a0e6c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7de407 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

  1. update internal proxy url to include /rathole

    - fix syntax in middleware to strip rathole prefix
    - fix proxy config map to ignore if PathPrefix doesn't match
    shubham3121 committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    d52643b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db9bd4c View commit details
    Browse the repository at this point in the history
  3. update protocol version

    shubham3121 committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    ed6ce11 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. fix parameter name reference in update peer api

    - fix reference of node side instead of node side type from context
    - return the updated object in mongo
    shubham3121 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    6ea2cff View commit details
    Browse the repository at this point in the history
  2. added notebook

    shubham3121 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    4dd0b7f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51b7209 View commit details
    Browse the repository at this point in the history
  4. lint notebook

    shubham3121 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    2df1656 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cec992b View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    0db775f View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. add a stream upload API for blob storage

    - integrate proxy uid to stream upload data from client to domain via gateway
    shubham3121 committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    abcc997 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    43d47fc View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. add a test for reverse tunnel

    - cleanup rathole start script
    - use slim version of python in rathole dockerfile
    shubham3121 committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    c335d53 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. modulizer rathole config builder to a seperate class

    - have a more generalize class for reverse tunnel service
    - define methods to remove config from rathole client and server toml and configmaps
    shubham3121 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    8e88b48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2be7e68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b30c15 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    d4074b0 View commit details
    Browse the repository at this point in the history
  2. fix url path in _make_get

    shubham3121 committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    f174537 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    70d661d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f5554c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5d5ac71 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    fbcfe59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9be64e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7609728 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4677e7d View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. rename rathole to reverse tunnel in syft application

    - rename rathole path and token to rtunnel
    shubham3121 committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    e6f31f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b393b7a View commit details
    Browse the repository at this point in the history
  3. revert backend account to have permission to patch services

    - rename reference of rathole_token to rtunnel_token in gateway test
    shubham3121 committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    30f1132 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ad31f5b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a95a815 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    feaa0d4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    714d451 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. fix incorrect path

    yashgorana committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    e95af15 View commit details
    Browse the repository at this point in the history
  2. fix charts

    yashgorana committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    c2ab102 View commit details
    Browse the repository at this point in the history