Commit Graph

48 Commits

Author SHA1 Message Date
Jeff Carr a4659ec595 still compiles
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-11-01 21:47:10 -05:00
Jeff Carr 46de348eb2 start rewrite after some years of nothing 2024-03-02 11:51:16 -06:00
Jeff Carr a26018c86d works within 30 seconds
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-02-01 08:49:16 -06:00
Jeff Carr 7e358767ea new gui api changes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-31 13:34:02 -06:00
Jeff Carr fdc01e28d9 name changes in the gui package
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-21 00:15:20 -06:00
Jeff Carr db86b09070 move linuxstatus into separate repo
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-15 17:22:51 -06:00
Jeff Carr f8df2d1ce3 autofix!
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-10 20:22:25 -06:00
Jeff Carr b992949060 more debugging & smartwindow test
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-08 12:55:23 -06:00
Jeff Carr 16fe0dacdd not sure
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-08 11:55:56 -06:00
Jeff Carr b1c311a1e2 errors are always displayed
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-08 11:05:40 -06:00
Jeff Carr e14bd65844 change paths
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-07 16:52:23 -06:00
Jeff Carr 4ed6f6b35f new paths
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-07 16:48:33 -06:00
Jeff Carr 1decb6925b watches for finished setup
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-07 14:43:17 -06:00
Jeff Carr 34569cbcee main window is pretty clean
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-07 12:45:01 -06:00
Jeff Carr ef6eb7a96a error window v0.1
error box starts doing something
    start a window for errors to fix
    more status cleanups & housecleaning

    Signed-off-by: Jeff Carr <jcarr@wit.com>

Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-07 10:38:17 -06:00
Jeff Carr 807b3be94f window titles update to correct values
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-07 07:09:59 -06:00
Jeff Carr 930bdc941b remove debugging options
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-07 05:46:59 -06:00
Jeff Carr e5319cd50e status changes to working if it's working
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 21:17:06 -06:00
Jeff Carr 5e9f1591ca update worked correctly for the first time
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 21:02:41 -06:00
Jeff Carr cefe15539f knows which AAAA records are broken!
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 19:58:58 -06:00
Jeff Carr 0148cec0b2 purge years of old test code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 17:51:41 -06:00
Jeff Carr 15d9f97693 all engines running and stable
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 16:59:33 -06:00
Jeff Carr 34bbd63bfb more cleanups after removing old window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 15:07:30 -06:00
Jeff Carr 5dee2af784 old window is nearly deprecated
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 14:57:51 -06:00
Jeff Carr 8b59a3141a move UID code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 05:32:52 -06:00
Jeff Carr 3457aefa86 add LinuxStatus()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 05:24:11 -06:00
Jeff Carr 01eca8fc10 all engines still firing
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 02:21:56 -06:00
Jeff Carr ca3a01f478 make new resolverStatus()
also fix dns-https

Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 01:41:33 -06:00
Jeff Carr fdcd51d211 hide extra windows by default
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 00:11:48 -06:00
Jeff Carr ff21dba712 convert to gadget.BasicWindow()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 00:07:13 -06:00
Jeff Carr 3baa63dadf first gadgets.BasicWindow()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-04 22:01:39 -06:00
Jeff Carr e14770e94c fixed stuff
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-03 12:40:31 -06:00
Jeff Carr a3dd21aef0 move to go.wit.com/gui/gadgets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-29 02:43:00 -06:00
Jeff Carr 1258be9bef add digital ocean & DNS state windows
lists digital ocean droplets
    create a new digital ocean droplet
    knows what needs to be done to get IPv4 and IPv6 to work
    update windows on Show()
    make a window for the state of DNS specific to the hostname

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-29 01:36:10 -06:00
Jeff Carr 8afc73da04 DNS status window Show() and Hide()
display HTTPS results from dns.google.com for go.wit.com
    use a grid instead of boxes
    start go.wit.com/log

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-28 15:36:05 -06:00
Jeff Carr 6fa6d6dfc9 Detect that a VPN is needed
IPv6() returns true if it's working
    display duration
    a 'DNS Lookup Status' window
    actual dig results
    display status and failure counters
    count lookup failures and successes
    add TCP dns lookup
    logic to test if dns is working at all
    add DNS over HTTPS
    cloudflare new & update kind of working
    holy shit, go.wit.com finally works with git mod tidy
    working, but cloudflare api stuff is broken
    AAAA '(none)' logic detection is better
    cloudflare control panel
    display the working real AAAA addresses

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-28 09:43:45 -06:00
Jeff Carr 73b0cee933 add a DurationSlider()
widgets to adjust timeouts
    redo bash curl.sh example

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-21 17:56:56 -06:00
Jeff Carr 379fee6d96 rename to go.wit.com/control-panel-dns
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-20 15:12:26 -06:00
Jeff Carr 382cc8dd17 make a cloudflare package
move cloudflare stuff to a package
    display cloudflare API values
    dns protobuf example
    sort output, but gocli formatting is bad
    cloudflare window can be closed
    first time success pushing AAAA records for my box
    enable a cloudflare button
    RFC 8482. DNS servers we use should respond to ANY
    	We should support ANY requests via DNS
    	as long as we enforce TCP over UDP
    populate the API provider
    domain NS record changes are tracked
    check hostname OS configuration
    detect domain name changes
    lookup of NS records for my domain name
    button to investigate port 53 daemon
    start dns resolver detection and debugging
    measure dns resolution speed
    sort todo items

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-20 03:13:43 -06:00
Jeff Carr bbf96ee7fa seems to compile and run
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-16 12:59:18 -06:00
Jeff Carr 27696b9764 gocui mode works again
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-16 09:02:59 -06:00
Jeff Carr dbd81e9462 misc cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-05-22 16:23:55 -05:00
Jeff Carr 70a7ca6d75 everything auto-updates on open
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-26 16:17:32 -05:00
Jeff Carr 90f9015ab2 correctly shows the DNS status
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-25 15:43:24 -05:00
Jeff Carr 8e2f94c4ac add interfaces to the dropdown menu
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-25 08:09:34 -05:00
Jeff Carr 0b26e5f1ca hostname actually set
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-09 14:21:34 -06:00
Jeff Carr 3ce3a39226 tagging against wit/gui v0.6.1
using Queue() for textbox fixes crashing (?)
    change TTL to 2 minutes
    gui debugging checkboxes
    make a dig test button

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-01 11:21:47 -06:00
Jeff Carr 7ad38cdf6c v0.0.2 next step: acutally try to nsupdate
upto the point where DNS update is next.
    start displaying real AAAA & naming buttons
    add RFC 2136 defining nsupdate. Vixie et al in 1997
        Personal thansk to Paul for meeting with me some years back
    ready to pull DNS records
    starting a checkDNS() function
    dampen output. actually track IPs
    poll every 2 seconds (netlink is not the right thing here)
    ready to start looking for changes
    screw everything about logging. I hate log.whatthefuck*(){}
    Do you know what I don't care about? log()
    You shouldn't care either. Ignore it until you need it
    that is what logging is for. building something that works.
    So, here you go. a damn log() function in one place
    Also, because I'm annoyed today sleep() and exit()
    Because, when I want you to sleep or exit, I don't
    want to go to the top of a file and declare stupid shit related
    to nanoseconds or add "import os.Exit" or whatever the hell
    stop wasting my time. life is short.
    if he sit tunnelbroker down
    add IsRealIP() and IsIPv6()
    need a netlink function to trigger on changes (nope)
    put the gui plugin's in the debian package for now
    set the window title
    build a .deb package

    Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-02-18 23:37:11 -06:00