https://linen.dev logo
Join Discord
Powered by
# general
  • s

    simonfalke

    08/25/2022, 1:49 PM
    Ok, thanks!
  • w

    Wepzen

    08/25/2022, 2:23 PM
    I have a question concerning the WebRTC implementation in your system. I understand that in terms of performance it is significantly better, especially when a user is connected in P2P using STUN. Moreover, this communication is secure, since the information exchanged between the two parties is end-to-end encrypted. But how do you keep track of the actions that the user performs in his WS? From what I understand, it is not possible to audit them nor to define Network Policies that the user must comply with. Can you explain this, please? 🙂
  • p

    Phorcys

    08/25/2022, 2:39 PM
    I don't get what you want to achieve
  • w

    Wepzen

    08/25/2022, 2:43 PM
    I was just curious from a customer's point of view
  • p

    Phorcys

    08/25/2022, 2:46 PM
    what do you mean by "keep track"
  • w

    Wepzen

    08/25/2022, 2:47 PM
    Like logs
  • c

    colin (rust enthusiast)

    08/25/2022, 2:57 PM
    in v1 we have a solution to log all shell commands in a users workspace
  • c

    colin (rust enthusiast)

    08/25/2022, 2:58 PM
    we're currently in the process of replacing webrtc with wireguard, which opens up the door for us to do network policies/auditing and the like
  • w

    Wepzen

    08/25/2022, 3:06 PM
    Ohh okay thank you!
  • c

    colin (rust enthusiast)

    08/25/2022, 3:07 PM
    it'll be based on tailscale if you've ever heard of that
  • w

    Wepzen

    08/25/2022, 3:10 PM
    Oh no I didn't Using this I guess you will be able to have an efficient auditing system without facing again the latency problem
  • c

    colin (rust enthusiast)

    08/25/2022, 3:11 PM
    yup yup
  • w

    Wepzen

    08/25/2022, 3:11 PM
    Amazing
  • w

    Wepzen

    08/25/2022, 3:13 PM
    I'm curious to see this implementation then Because from my understanding, to have an auditing system you need to have a middle man that inspects the traffic, like your previous proxy
  • w

    Wepzen

    08/25/2022, 3:13 PM
    But I'm glad you're on the right way to achieve it!
  • p

    Phorcys

    08/25/2022, 3:14 PM
    isn't tailscale still WebRTC ?
  • c

    colin (rust enthusiast)

    08/25/2022, 3:15 PM
    the auditing is something we'll likely do later, but since the agent in the workspace mitms all of the traffic it's able to report back to coderd
  • c

    colin (rust enthusiast)

    08/25/2022, 3:15 PM
    nah it's wireguard
  • p

    Phorcys

    08/25/2022, 3:15 PM
    oh yeah no
  • p

    Phorcys

    08/25/2022, 3:15 PM
    this is for agent server communication right?
  • w

    Wepzen

    08/25/2022, 3:16 PM
    Okay okay
  • c

    colin (rust enthusiast)

    08/25/2022, 3:16 PM
    agent server and client agent
  • p

    Phorcys

    08/25/2022, 3:16 PM
    alright
  • p

    Phorcys

    08/25/2022, 3:16 PM
    i thought it was web related
  • p

    Phorcys

    08/25/2022, 3:17 PM
    well, because it used webrtc
  • p

    Phorcys

    08/25/2022, 3:17 PM
    that's why I was confused
  • p

    Phorcys

    08/25/2022, 3:18 PM
    because you can't just use any protocol from a browser, but since it has nothing to do with browsers then it doesn't even matter
  • c

    colin (rust enthusiast)

    08/25/2022, 3:18 PM
    https://github.com/coder/coder/pull/3505 here's the pr @Wepzen
  • c

    colin (rust enthusiast)

    08/25/2022, 3:18 PM
    should hopefully be in soon
  • c

    colin (rust enthusiast)

    08/25/2022, 3:18 PM
    (blocked on me currently)
1...131415...96Latest