• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Duet muti printer server anyone?

Scheduled Pinned Locked Moved
General Discussion
16
54
7.5k
Loading More Posts
  • 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.
  • undefined
    Cata
    last edited by 20 Feb 2018, 02:05

    Nice server. Currently I am using a split screen with two tabs. I will try this in my 7" screen with raspberry pi 3.

    1 Reply Last reply Reply Quote 0
    • undefined
      tomasf
      last edited by 20 Feb 2018, 10:22

      Nice work. This could be pretty handy.

      Interesting to see that DWC includes a Access-Control-Allow-Origin header that allows stuff like this. Doesn't feel great that any website could pull data from my Duet if it wanted to. Or for that matter, execute arbitrary G-code, which would work even without CORS. 😕

      1 Reply Last reply Reply Quote 0
      • undefined
        Danal
        last edited by 20 Feb 2018, 12:53

        @tomasf:

        Interesting to see that DWC includes a Access-Control-Allow-Origin header that allows stuff like this. Doesn't feel great that any website could pull data from my Duet if it wanted to. Or for that matter, execute arbitrary G-code, which would work even without CORS. 😕

        Just my opinion:

        The Duet server should be treated as insecure, with or without any given header, etc. For one thing, it doesn't do HTTPS, and so the password should be considered open to discovery by anyone on the same network. Traffic to and from a Duet should never be exposed outside the network segment it is on… NEVER to the public internet. It should ALWAYS be proxied with external authentication and external facing HTTPS provided by that proxy.

        With regard to "Any Arbitrary Website", the code loaded from a malicious website into a browser that was already connected to a Duet (via DWC or MultiDWMC) would have to find the Duet's address. There is no (known) way to discover a Duet. (Otherwise, I'd be using it...).

        Given that a Duet can't be treated as secure, then configuring toward maximum utility on the local network segment makes sense.

        Again, just my opinion.

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • undefined
          Danal
          last edited by 20 Feb 2018, 12:56

          @Austin55:

          I am much more interested to know more about duet printer server. I will wait for next updates.

          About

          • A Duet Board/Firmware?

          • "Duet Web Control" that comes with the board firmware?

          • "Multi Duet Web Monitoring and Control" which is being discussed in this thread?

          Delta / Kossel printer fanatic

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 20 Feb 2018, 13:38

            @Danal:

            There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

            Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • undefined
              Danal
              last edited by 20 Feb 2018, 13:56

              @dc42:

              @Danal:

              There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

              Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

              Ah, interesting… is the underlying technique usable from a browser/javascript?

              And/or is the "Find my Duet" source available?

              Delta / Kossel printer fanatic

              1 Reply Last reply Reply Quote 0
              • undefined
                chrishamm administrators
                last edited by 20 Feb 2018, 14:07

                @Danal:

                And/or is the "Find my Duet" source available?

                See https://github.com/chrishamm/FindMyDuet

                Duet software engineer

                1 Reply Last reply Reply Quote 0
                • undefined
                  tomasf
                  last edited by 20 Feb 2018, 16:41

                  @Danal:

                  The Duet server should be treated as insecure, with or without any given header, etc. For one thing, it doesn't do HTTPS, and so the password should be considered open to discovery by anyone on the same network. Traffic to and from a Duet should never be exposed outside the network segment it is on… NEVER to the public internet. It should ALWAYS be proxied with external authentication and external facing HTTPS provided by that proxy.

                  I agree. I just think it's a shame that this is the case. TLS might be a bit too much to ask, I guess, but some rudimentary cookie-based authentication sounds reasonable to me. Attackers could still sniff the traffic and find the password when the user authenticates, but it's much better than nothing.

                  @Danal:

                  With regard to "Any Arbitrary Website", the code loaded from a malicious website into a browser that was already connected to a Duet (via DWC or MultiDWMC) would have to find the Duet's address. There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

                  Yep, apart from using a zeroconf address (that you would still have to guess). However, a web page could iterate through common local IP numbers (say 192.168.0.*) and the chance of finding it would be relatively significant. I don't like the idea of security through obscurity. 🙂

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Danal
                    last edited by 21 Feb 2018, 05:00

                    @dc42:

                    Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

                    So mDNS / Bonjour is supported by Duet firmware. Unfortunately, there is no way (I can find) to browse for a mDNS / Bonjour directly from Browser based Javascript.

                    This does (somewhat) address the security concern.

                    Delta / Kossel printer fanatic

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Danal
                      last edited by 22 Feb 2018, 12:16

                      By the way, I'm taking a short pause to re-package "Multi" for github, and create build scripts that produce a .zip package suitable for "serving from Duet" and a package suitable for "Serving from anywhere".

                      More soon… meanwhile, keep the feedback and design ideas coming...

                      http://danalspub.com/MultiDWMC

                      for now, if you want to take a look.

                      Delta / Kossel printer fanatic

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        BuildA3DPrinter.eu
                        last edited by 23 Feb 2018, 07:28

                        I really like (and want!) this. We are building a farm of at least 10 large scale custom printers (build volume 1000x1000x1200mm at least).
                        This would be a great addition to keep everything in check.

                        My wishlist now would be:

                        • Make printers manually sortable to organize them in a particular order.
                        • Show name of the current print.
                        • Make the action buttons customizable. I do not want a calibration button but for instance would like to have a babystep button or something else. Making it possible to select the buttons I want would be awesome.
                        • Make the theme match the Dark theme. Luxury wishlist naturally.

                        I can help with the Dutch translation if you want. Native Dutch speaker here… 😉

                        Keep up the great work!

                        Build A 3D Printer.eu - Duet reseller in the Netherlands

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Danal
                          last edited by 23 Feb 2018, 12:51

                          Sorting: On the way.

                          Name of current print: On the way.

                          Action buttons custom: Probably not. Lot of work, and the real answer is just to click in the name/ip box for that printer and open full DWC in another tab.

                          Theme: Maybe. Probably, but no absolute commitment. Under the covers, this uses the same CSS as DWC, so this should be relatively easy.

                          Dutch translation: Under the covers it uses the same language files and translation scheme as DWC, at this moment, the language is greyed out, but I do plan to turn it on. When it becomes active, there will need to be a few more entries in each language…. for you to do the Dutch ones should be erg makkelijk.

                          Delta / Kossel printer fanatic

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Danal
                            last edited by 25 Feb 2018, 01:32

                            R2.00 posted to http://danalspub.com/MultiDWMC/

                            Changes in this release:

                            Repackaged to make building for Duet vs. "any server" easier.
                            Added sorting of rows. Not entirely happy with how it works internally, may change it.
                            Added file name and size when printing.

                            Should be fairly usable at this point. The package builders for "Server from Duet" and "Serve from anywhere" are working and lightly tested. I will put this on github in the next few days.

                            Delta / Kossel printer fanatic

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Danal
                              last edited by 5 Mar 2018, 21:02

                              R2.01 now available.

                              Including "Serve from Duet". See: https://github.com/DanalEstes/MultiDuetWebMonitor

                              Or:

                              1. Download the github file (via the download button, NOT via "right click")
                                https://github.com/DanalEstes/MultiDuetWebMonitor/blob/master/MultiDuetWebControl-Duet-2.01.zip

                              2. Upload to Duet via the normal upload process. Do not unzip.

                              3. Invoke via HTTP://your-duet-ip-or-name/multi.htm

                              Feedback welcome.

                              Delta / Kossel printer fanatic

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                SputnikOC3d
                                last edited by 6 Mar 2018, 18:16

                                @dc42:

                                @Danal:

                                There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

                                Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

                                Jeeebus H Mary and Josef !!!! Where has this been all my Duet life ? Thanks for this - finding where this machine is on my net has been doing my dome in for weeks …

                                P.S. - very cool project / server app buddy KUDOS.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators
                                  last edited by 6 Mar 2018, 18:26

                                  @SputnikOC3d:

                                  @dc42:

                                  @Danal:

                                  There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

                                  Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

                                  Jeeebus H Mary and Josef !!!! Where has this been all my Duet life ? Thanks for this - finding where this machine is on my net has been doing my dome in for weeks …

                                  P.S. - very cool project / server app buddy KUDOS.

                                  Thanks are due to chrishamm for writing it, not to me.

                                  Duet WiFi hardware designer and firmware engineer
                                  Please do not ask me for Duet support via PM or email, use the forum
                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                  1 Reply Last reply Reply Quote 0
                                  • DjDemonDundefined
                                    DjDemonD
                                    last edited by 6 Mar 2018, 21:44

                                    Works great, monitoring 3 machines. Extremely easy to install and setup.

                                    Excellent work. I could see this being very popular.

                                    Simon. Precision Piezo Z-Probe Technology
                                    www.precisionpiezo.co.uk
                                    PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      3D_low
                                      last edited by 10 Apr 2018, 13:14

                                      Was there any progress on this? Is it possible to contribute in some way?

                                      undefined 1 Reply Last reply 10 Apr 2018, 13:32 Reply Quote 0
                                      • undefined
                                        AlexLin
                                        last edited by 10 Apr 2018, 13:22

                                        cool this should be promoted a bit more

                                        undefined 1 Reply Last reply 10 Apr 2018, 13:33 Reply Quote 0
                                        • undefined
                                          Danal @3D_low
                                          last edited by Danal 4 Oct 2018, 13:34 10 Apr 2018, 13:32

                                          @3d_low said in Duet muti printer server anyone?:

                                          Was there any progress on this? Is it possible to contribute in some way?

                                          It is "up and running", available now:

                                          https://github.com/DanalEstes/MultiDuetWebMonitor

                                          Suggestions or feedback welcome. Post in this thread. Also, for contribution... what are your thoughts? What would you like to see? Of course, it is Github, so you can just fork it.

                                          Delta / Kossel printer fanatic

                                          undefined 1 Reply Last reply 10 Apr 2018, 18:58 Reply Quote 1
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA