Commit Graph

19 Commits

Author SHA1 Message Date
Jeff Carr 6fc08df071 convert to gadget.BasicWindow()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 00:07:13 -06:00
Jeff Carr c420145c2e use 'go.wit.com/log'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-03 19:33:13 -06:00
Jeff Carr 3be643036f fixed stuff
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-03 12:40:31 -06:00
Jeff Carr beb076375e 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 a84e307c77 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 88fb976119 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 bb662ccd82 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 4c3be58461 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 1532d885e0 hostname check basically working
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-16 09:36:40 -06:00
Jeff Carr a33eca708a gocui mode works again
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-16 09:02:59 -06:00
Jeff Carr dae59705a1 remove places the app could exit
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-28 08:53:51 -05:00
Jeff Carr 91787b9121 clean output
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-26 21:29:38 -05:00
Jeff Carr 35ae17e15c everything auto-updates on open
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-26 16:17:32 -05:00
Jeff Carr 22c249bcf1 working pretty well
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-25 16:19:44 -05:00
Jeff Carr fa6ce585de correctly shows the DNS status
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-25 15:43:24 -05:00
Jeff Carr c314dab9ed fields are displaying. ready to add DNS
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-25 08:40:48 -05:00
Jeff Carr befbf3cda5 hostname actually set
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-09 14:21:34 -06:00
Jeff Carr 7e2189369f 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 041e3a0c6e 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