Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. How to stop "TURN" service

How to stop "TURN" service

Scheduled Pinned Locked Moved Support
turn
7 Posts 4 Posters 1.4k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      P Offline
      p44
      translator
      wrote on last edited by girish
      #1

      How I can stop TURN service?

      It seems that someone is trying to attach to that listening ports and using a lot of resources.

      I'm not using any voip at all.

      Schermata 2021-03-25 alle 07.02.26.png

      Thank's

      nebulonN 1 Reply Last reply
      0
      • P p44

        How I can stop TURN service?

        It seems that someone is trying to attach to that listening ports and using a lot of resources.

        I'm not using any voip at all.

        Schermata 2021-03-25 alle 07.02.26.png

        Thank's

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @p44 generally there is no way to permanently stop a service at the moment. You can manually docker stop turn via SSH however it will be eventually restarted again by the platform on for example an update.

        The coturn server as such is protected by an auth secret anyways. Also note that it may be used for anything webrtc related, not just voip. One example is p2p file sharing, like the filepizza app provides.

        P 1 Reply Last reply
        1
        • nebulonN nebulon

          @p44 generally there is no way to permanently stop a service at the moment. You can manually docker stop turn via SSH however it will be eventually restarted again by the platform on for example an update.

          The coturn server as such is protected by an auth secret anyways. Also note that it may be used for anything webrtc related, not just voip. One example is p2p file sharing, like the filepizza app provides.

          P Offline
          P Offline
          p44
          translator
          wrote on last edited by p44
          #3

          @nebulon Thank's nebulon, but I want to stop it because someone toke as target and service run out of memory. I don't have any application using it so I think it is better to stop.

          Do you plan to add feature to stop manually, even at reboot?

          nebulonN 1 Reply Last reply
          0
          • P p44

            @nebulon Thank's nebulon, but I want to stop it because someone toke as target and service run out of memory. I don't have any application using it so I think it is better to stop.

            Do you plan to add feature to stop manually, even at reboot?

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            @p44 agreed it looks like at least some throttling or rate-limiting is required.

            So far there is no logic yet to start services on-demand based on the apps installed.

            1 Reply Last reply
            1
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              You can docker stop turn that will stop the service if you don't use it. But you have to do this on every server reboot.

              d19dotcaD 1 Reply Last reply
              1
              • girishG girish

                You can docker stop turn that will stop the service if you don't use it. But you have to do this on every server reboot.

                d19dotcaD Offline
                d19dotcaD Offline
                d19dotca
                wrote on last edited by
                #6

                @girish @p44 - Thinking out loud here, I guess the workaround would be to run docker stop turn and then stick that in a cronjob on the server to run on boot, assuming it runs after the turn container is actually running. That way you don't have to remember to do that after every boot.

                --
                Dustin Dauncey
                www.d19.ca

                1 Reply Last reply
                1
                • P Offline
                  P Offline
                  p44
                  translator
                  wrote on last edited by
                  #7

                  @nebulon @girish @d19dotca Thank's a lot @d19dotca ! For me is a little bit complex append that command in cronjob and I don't know if Cloudron make some integrity test at boot time to try to check if turn is on or off.

                  Another solution is to use VPS provided firewall to lock that doors... But as @nebulon wrote, one improvement could be add rate-limiting and/or start that services on demand.

                  Thank's all for your answer 🙂

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search