Announcement

Collapse
No announcement yet.

ZeroTier Networking

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ZeroTier Networking

    About 9 years ago I made a Java program to exchange target info between users. This was based on Port 30003 SBS-1 data. I use modesmixer2 and an old Beast receiver connected to a RPi in my rafters, and using Power over Ethernet to power it.

    This gives me port 30003 data which on the same RPi I run the Java shim ADSBNet to convert the data into network target reports that can be exchanged. Originally I used a list of IP's to the people I was sharing with. There's no MLAT or anything, just ADS-B and Mode-S. Also it sends the reports over a Multicast network. This allows all your PC's to listen, and ADSBNet only has to send each target once, as Multicast is a one-to-many UDP broadcast.

    Now there is a great network system in the form of ZeroTier. This requires a client to be loaded onto your machine, which then connects you to a peer-2-peer worldwide network. Thus, your Multicast targets are sent over this network to everyone, as it is one-to-many. No server required! No non-disclosure problems!

    You could even have multiple ZeroTier networks. Maybe the Worldwide Multicast network on one LAN, and maybe smaller regional network LAN's that are formed by copying targets that pass a location filter, and re-transmitted onto the regional LAN.

    Just a comment and idea. No business plan :-)

    github.com/srsampson/ADSBNet

    Have fun,
    Steve/alias coupe
    Last edited by coupe; 2020-02-03, 22:33.

  • #2
    Coupe!

    Nice to see you here. I'm still using adsmysql to dump SQL and make pretty pages!

    Did you ever update from 1.27 (I think thats what I'm running)
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

    Comment


    • #3
      I haven't had a database here at the house for a long time, so that was probably the last version, ha.

      Comment


      • #4
        Aha, I found a file on my computer, and the latest was 1.8. However I don't know how complete it is. I'll have to install MySQL and find out.

        github.com/srsampson/ADSBMySQL

        oops, they don't let me post links yet...
        Last edited by coupe; 2019-05-10, 10:15.

        Comment


        • #5
          Only just noticed you gave an updated link! legend.

          Now to work out where I went wrong creating the latest rendition of it tablewise.

          I think I used the .sql included step by step, but may have lost some of the metric functions when transferring SQL versions :/

          I'm sure I shouldn't be backing up 20Gb tables.. :Padsmysql.JPG
          Posts not to be taken as official support representation - Just a helpful uploader who tinkers

          Comment


          • #6
            Hi Coupe,

            I notice you've archived 1.8 and now have a 1.9

            I'll happily move to that if I can work out how to trim my current dbase and keep my current data/append to it if possible

            How linked is target echo? I have a 4Gb table head with 20Gb of actual data - and I don't tend to reference historic positions, only the hex and date/time

            Like if I set a regular drop for targetecho for 30days+, is that likely to also prune the targethistory references
            Posts not to be taken as official support representation - Just a helpful uploader who tinkers

            Comment


            • #7
              Originally posted by Oblivian View Post
              Hi Coupe,

              I notice you've archived 1.8 and now have a 1.9

              I'll happily move to that if I can work out how to trim my current dbase and keep my current data/append to it if possible

              How linked is target echo? I have a 4Gb table head with 20Gb of actual data - and I don't tend to reference historic positions, only the hex and date/time

              Like if I set a regular drop for targetecho for 30days+, is that likely to also prune the targethistory references
              The targetecho isn't linked anywhere I'm pretty sure. Targethistory entries come from when the target fades out, but it isn't linked anywhere. I think both of these can be dropped. Obviously you probably have to stop ADSBMySQL when doing the archive and then truncate the table.

              The targetecho was kind of an afterthought as I created it to use with the TrackView program. The theory being to use a database rather then memory.

              As you know, I'm not a database guru, so a lot of the design was on the fly...

              Comment


              • #8
                Sorry for not seeing your comments, as I haven't been logging in regularly.

                Comment


                • #9
                  All good

                  In the intrim I've ended up doing a stop and full backup. Change global to per file IBD (old sql 5.6 via WAMP) and re import. Lost 5Gb in the process which was better than the 100mb free the machine had (but did take nearly 8hours of fluffing about before realising my backups were being truncated!)

                  From here I can do a trim and drop a date range if need be and have the file shrink. I started to do <2015 thinking I could find a use for historic location mapping at some point using the track data similar to how VirtualRadar does with current on-screen targets. But it was taking AAAGGEEES. Presumaby the associated log updates

                  If I get brave I'll compare the table columns/data with your new version and see if I can import the old data and continue capture with the new version. The heading data and so on sounds fun.

                  Then work out how to cycle the tracked echo data regularly to a preset amount
                  Posts not to be taken as official support representation - Just a helpful uploader who tinkers

                  Comment


                  • #10
                    The Zerotier idea wasn't very good, as the network Multicast data was too intensive. So I started converting it to just connect sites together using UDP via Zerotier or normal method. Not sure where I left off, but I think the code has been slightly abandoned...

                    Comment

                    Working...
                    X