Releases: utilitywarehouse/wiresteward
0.2.0-rc.2
Changelog
1cba84f Merge pull request #87 from utilitywarehouse/update-drone-golang-1.16
7cb91c9 Use golang:1.16 image when releasing
c28ddbc Merge pull request #86 from utilitywarehouse/clamp-mss-to-pmtu
bf03131 Merge pull request #82 from utilitywarehouse/healthcheck
7ab6b54 Use init() for initializations, drop redundant func
407e563 Fixes afetr review
0706eaa Clamp mss to pmtu for agent running on Linux
29d1f68 Remove not needed flag
bbd51c6 Write to stop channel on hc stop, avoid risking a panic
4b16011 Remove agent healthcheck config
7995198 Use golang.org/x/net/icmp lib for icmp echo requests
d116f7f call rand.seed only once, fix listen network for icmp
9984136 Replace healthchecks with ping check
dc774f1 Set udp read/write deadline before copying data
7e70354 Make healthcheck optional
acf05f3 Merge remote-tracking branch 'origin/master' into healthcheck
83dec3b Merge pull request #84 from utilitywarehouse/go-1.16
1ac1026 Merge pull request #85 from utilitywarehouse/fix-server-start
5384031 Remove flag check to allow starting -server
d4f9863 Use a package var to hold bigInt value
5190d07 Unexport codeVerifier and value
322d422 Update go.mod + dependencies + build config
37429b8 Update Go 1.16 packages
f6d5130 Merge pull request #83 from utilitywarehouse/pkce
5619f56 Use better crypto for PKCE
0c194fc Fix camelcase typo
3db3b6e For linux it should be safe to always use netlink RouteReplace
28fa446 PoC: Introduce dummy healthcheck
a744fb5 Merge pull request #80 from utilitywarehouse/fix-callback
44de0d5 Fix hardcoded callback URL
0.2.0-rc.1
Changelog
1b61e77 Merge pull request #79 from utilitywarehouse/default-device-type
0606fdb Use wireguard devices on linux by default
1ef0c82 Merge pull request #78 from utilitywarehouse/configurable-listen-address
77de543 Update port comment
2104c06 agent: make listen address configurable
ac1fd17 Merge pull request #77 from utilitywarehouse/fix-cleanup
cd82970 Fix cleanup of devices on error
dd8e524 Merge pull request #76 from utilitywarehouse/mips-builds
c234a46 Add mips to the goreleaser targets
b76cea7 Merge pull request #75 from utilitywarehouse/kernel-default
6c84c49 Add WireguardDevice which implements AgentDevice
62484de Rename WireguardDevice to ServerDevice
da701ef Define AgentDevice interface
5c06011 Merge pull request #74 from utilitywarehouse/update-and-tidy
7d8e478 Update to latest Go, Alpine and Go deps
v0.1.1
v0.1.0
Promoted https://github.com/utilitywarehouse/wiresteward/releases/tag/v0.1.0-rc4 to the first stable wiresteward release!
Changelog
23e8b2e Merge pull request #72 from utilitywarehouse/droneci
f5c56d2 Merge pull request #71 from utilitywarehouse/terraform-matchbox-config
343c6ee Migrate build to Drone CI
417e46a Remove stale config from README example
b06bc33 Remove wireguard cidrs input and include it in peers object
8ed5dba Remove addition ignition systemd and files input
80040fa add matchbox terraform provider config (opinionated example)
98a2cae Export standalone ignition systemd and files lists
4be1a81 Merge pull request #70 from utilitywarehouse/ignition-id-rendered
ff62a11 Add version constraint to ignition terraform module
041071f Use rendered attribute of ignition resources
047702d Merge pull request #69 from utilitywarehouse/tf-flatcar-stable
1cfe068 terraform: switch to flatcar stable
732770f Merge pull request #68 from utilitywarehouse/validation_options_list
d180a17 Comment about using a List for the domain validation opts
bb82416 Fix reference
7ec6506 Convert validation_options to a list
750f6f9 Merge pull request #67 from utilitywarehouse/terraform-upgrade
5d8ed65 Upgrade terraform modules to 0.13
v0.1.0-rc4
Changelog
7f343ab Merge pull request #66 from utilitywarehouse/add-gw-into-linux-routes
c5795e6 Add GW in linux routes.
85cf769 Merge pull request #65 from utilitywarehouse/tf-aws-private-ip
c602312 terraform/aws: get private addresses from instances
207bf17 Merge pull request #64 from utilitywarehouse/document-7773-refresh
19e4e5a Document re-configuration on localhost endpoitn
66a5179 Merge pull request #63 from utilitywarehouse/export-gcp-target-tag
db7c86c Export gcp target tag to be used in external fw rules
1aa7adb Merge pull request #62 from utilitywarehouse/documentation
010b486 Move service definitions under examples/
82d14e3 Update documentation
170b243 Merge pull request #61 from utilitywarehouse/additional-sgs
265898b Allow additional sgs for aws instances
v0.1.0-rc3
Changelog
0e93624 Merge pull request #59 from utilitywarehouse/launchd
300dbe5 Merge pull request #60 from utilitywarehouse/goreleaser-main-version
d21c792 Use goreleaser ldflags for version
adaa62c Add agent launchd instructions for OSX
d001806 Merge pull request #58 from utilitywarehouse/add-ign-files
0d2bfe3 Allow additional ignition files
d1ca297 Merge pull request #57 from utilitywarehouse/leasemanager-extend-existing
70df1ca Merge getPeersConfig in updateWgPeers
4bdc83d Extend existing leases instead of a new allocation
984289a Merge tests for createOrUpdatePeer
2d7b1aa Merge pull request #56 from utilitywarehouse/leasemanager-locks
bf3204e Fix lease sync loop lock
7bfbc57 Merge pull request #55 from utilitywarehouse/oidc-is-oauth
e1d0f9a Use oauth instead of oidc
101c082 Merge pull request #52 from utilitywarehouse/leasefile
4bd6863 Merge peer creation methods
8f5c1bc Make updateWgPeers a method of FileLeaseManager
2306700 Make loadWgRecords a method of FileLeaseManager
0e75d6b Avoid using pointers to WgRecord
b5711ab Add missing newline
40b38b1 Improve error handling
8853b69 Make FileLeaseManager remove stale leases
d3c9d48 Merge pull request #54 from utilitywarehouse/logging
23133b5 Warn in case default log level is used
caa3543 Rename logger creation function
ae38eb9 Fix missing dot
c02b83d Remove redundant string
6530244 Use global logger for all application logs
bc16305 Merge pull request #53 from utilitywarehouse/fix-refresh-crash
bafffc5 Do not exit fatally if token exchange fails
48c0c8c Merge pull request #51 from utilitywarehouse/fix-golint
b6c381a Fix golint errors
6fc7426 Merge pull request #50 from utilitywarehouse/tf-gcp-fixes
7bdcd13 Merge pull request #49 from utilitywarehouse/var-lib
eaaa10c fix fmt
9aa9065 Force gcp instance recreation and update group
6b829de Only load wgRecords if the leases file exists
469531a Create directory once on creating of FileLeaseManager
affc448 Move the agent token and leases files to /var/lib/wiresteward
af3f099 Merge pull request #48 from utilitywarehouse/lease-expiry-from-token
c1f804f Refuse to lease an address to non-expiring tokens
303f4da Update comment and example server config
0274ac3 Use access token expiry time for leases
7733f6a Merge pull request #47 from utilitywarehouse/rm-ssh-key-agent
0045225 terraform: fix module output types
e3f21c6 terraform: export instance private ip addresses
f5d034b terraform: remove external ssh access
25b0b97 terraform/ignition: remove ssh-key-agent
6c5c9a3 Merge pull request #46 from utilitywarehouse/access-tokens
352b6cd Specify default auth server in terraform README example
c67f665 Remove leftover comment
d4d3eab Use access tokens instead of id_tokens
0f56c23 Merge pull request #45 from utilitywarehouse/tf-gcp
ee9da22 terraform/gcp: fix record trailing dots
a833a67 terraform: add gcp module
406e16e Merge pull request #44 from utilitywarehouse/oauth2-email-domain
fae6e92 terraform/ignition: add oauth2_email_domain var
2fe8f52 Update documentation for decoupled modules
063f9b1 Merge pull request #43 from utilitywarehouse/decouple-ignition
82a64e1 terraform/aws: removed embedded ignition module
bfc2d2d terraform/ignition: calculate and output endpoints
af41329 terraform/aws: expand variable documentation
0aaebd2 Merge pull request #42 from utilitywarehouse/tf-modules
6888e08 Add terraform documentation
3e58261 Remove redundant variables
6bab4d6 Add terraform modules for an AWS deployment
9794247 Merge pull request #41 from utilitywarehouse/server-txqlen
76d84f2 Set default tx qlen for server device
ec675aa Merge pull request #40 from utilitywarehouse/server-mtu
9dc25f4 Remove deviceName from WireguardDevice
d63d529 Detect default MTU and adjust for wireguard
1d06910 Merge pull request #39 from utilitywarehouse/server-address
840c122 Call LinkSetUp after timeout
322d822 Make waitLinkIsUp timeout after 10 tries
97d8804 Bring the interface up before setting an address
dacefb9 Add Travis build badge
35ee437 Merge pull request #38 from utilitywarehouse/travis
838d6f4 Move build to travis ci
092ba77 Merge pull request #37 from utilitywarehouse/server-device
6f6fd8b Refine server logs
06c0e01 Extract wireguard listen port and configure device
29531e9 Server should also handle SIGTERM
f4a26f5 Upgrade github.com/vishvananda/netlink to master
758256b Add iptables package
c61b7d5 Expand server to manage the network device
19eeac8 Expand serverConfig
0b95dab Merge pull request #35 from utilitywarehouse/tundevice-cleanup
6fe6973 Merge pull request #36 from utilitywarehouse/startup-auto-auth
e23784d Use cached token on startup if it's valid
bcb1e70 Improve error handling and add extra logging
80a4afd Rename tun.go to device.go
337be75 TunDevice is reusable
a44dcb1 Cleanup TunDevice
d2a1451 Merge pull request #34 from utilitywarehouse/mtu
4b57cd1 Use lowercase for func arguments
46d48b3 Fix typo
d736079 Support setting device mtu
2732c72 Merge pull request #33 from utilitywarehouse/merge-ip-lease
1301a1c Merge ip.go into lease.go
c42dd61 Merge pull request #32 from utilitywarehouse/agent-config-check
a42a6c8 Fix stack trace when refreshing on the callback page
52ebc5b Return error if no devices are defined in config
d0230fb Merge pull request #31 from utilitywarehouse/interface-device
5fc4538 Rename interface to device
2e29ae0 Merge pull request #30 from utilitywarehouse/lint
0015f87 Un-export various structs
6c25343 Remove leaserSyncInterval global
c10809b Remove unused global variable
eee4c12 Update names and add comments based on golint
44aede9 Fix various issues detected by golint
e3b0592 Merge pull request #29 from utilitywarehouse/netlink-merge
ecbf3d3 Merge netlinkHandle into DeviceManager
71f3d45 Merge pull request #28 from utilitywarehouse/agent-rework-p2
a4aa203 Update call to NewAgent
f4afd7a Merge AgentHttpHandler into Agent
86510f6 Reimplement Agent on top of DeviceManager
10dff98 Introduce DeviceManager
c4d211e Importove TunDevice cleanup
2fa4d5b Merge pull request #27 from utilitywarehouse/gomod-update
12e200a Merge pull request #25 from utilitywarehouse/agent-rework
5e3d9b8 Revisit PeerConfig
ecde4a9 Update deps to latest
44bee60 Merge pull request #26 from utilitywarehouse/fmt
5be02c6 Follow error naming conventions
d6477fc err is not a new variable
b3a1414 netlink: introduce UpdateDeviceConfig
d6007a6 Change TunDevice shutdown sync
29719ab TunDevice: add Name() method
7b84df4 Rename HTTP structs to LeaseRequest/LeaseResponse
37eee8e Merge pull request #24 from utilitywarehouse/lease-email
f68d2fa Return nil in case of error
75a6218 Return in case of parse token error
39f5305 Lease ips to emails grabbed from id_token
5b673c9 Merge pull request #23 from utilitywarehouse/refactor-agent-http
fd14e15 avoid init function for agent http handler
0cecf53 Refactor agent http handler
6062723 Merge pull request #22 from utilitywarehouse/404
824c89b Handle renew tokens only on URI "/"
bda6d84 Merge pull request #21 from utilitywarehouse/fix-ip-alloc
e99573e squeeze to avoid cringe, and rename
c6928f9 Merge pull request #20 from utilitywarehouse/build
d86dc25 use ip Equal method to compare ips
91564f7 Latest alpine for running
2616054 Merge pull request #19 from utilitywarehouse/server-config
c1737fd Use flag package's default value for config path
37f3911 Converge agent and server default config paths
d0d0771 Merge server configuration in ServerConfig struct
ad74107 Merge pull request #18 from utilitywarehouse/service-agent
7458db4 fmt: capitals after punctuation marks
625909d Use log and update readme instructions
3ab0806 Change agent listen port and serve under /
bfafd8d README and agent http response messages changes
d69d2e8 Update README
45fbf24 Remove dublicate line
97e8597 Merge remote-tracking branch 'origin/master' into service-agent
76d9ffe Run agent as service
37ed783 Merge pull request #17 from utilitywarehouse/gateway-address
345c115 Add gateway IP to list of allocated addresses
2c61847 Exclude the gateway address from being allocated to peers
68c8bb1 Merge pull request #16 from utilitywarehouse/instances
5710a47 Merge pull request #14 from utilitywarehouse/gomod
c0a15b1 Use constructor for leaseManager
82c2d5c Merge pull request #15 from utilitywarehouse/cleanup-tf
fb14e57 Use structs for lease management and http server
890ebb5 Remove gsuite-related terraform
cc7de4c Use go mod
688c200 Merge pull request #13 from utilitywarehouse/fix-flags
063926a Fix README flags
07035c5 Merge pull request #12 from utilitywarehouse/not-print-defaults
d835369 Change style
c5d9773 Avoid printing flag defaults when closing agent
v0.1.0-rc2
Changelog
a01b7af Merge pull request #11 from utilitywarehouse/fix-agent-peer-list
fe97fa8 Allow agent to configure multiple peers
706dcdb Merge pull request #10 from utilitywarehouse/flags
12a0a27 Merge pull request #9 from utilitywarehouse/cache-token
eb754ac Use flags for all args
53ec5fd drop WIRESTEWARD_HOME option
1d1df58 Exit when when missing an arg
8124591 Agent and server as flags only
17b8dee Exit if os..MkdirAll fails
601c16d Move default config location under ~/.config/wiresteward
2eacbec Allow getting home dir from env vars
1510361 Merge remote-tracking branch 'origin/master' into cache-token
66b5c44 Update main.go
b66d34e Update main.go
3408619 Add version flag
180b40b Cache tokens and reuse them before expiry
f4df2cc Merge pull request #7 from utilitywarehouse/doc
54a635d Merge pull request #8 from utilitywarehouse/config-loc
80a5096 Update default config location to be a dot file
98742d8 Update example binary location to /usr/local/bin
v0.1.0-rc1
Changelog
f638a58 Release darwin binaries
5d4d43e Merge pull request #6 from utilitywarehouse/darwin-netlink
13f1558 Add netlink implementation for darwin
94dc46c Merge pull request #5 from utilitywarehouse/tun
1803d4a Make everything work for linux
3fb088a Use tun wireguard lib to create interface
ab85f95 Merge pull request #4 from utilitywarehouse/interfaces
9fafe4a add uw in example interface name
a421c1b Update forgotten devs ref
cd2bd01 Rename devices to interfaces
v0.1.0-rc0
Changelog
44bc71e build only for linux
77a1f3b Go get modules before building
18bab22 Merge pull request #3 from utilitywarehouse/circle-ci-and-release
2037828 Circle ci and goreleaser manifests
1dbcbf3 Merge pull request #2 from utilitywarehouse/server-lease
65f06b0 Do not export agent config funcs
b9c4163 Remove pointers from config, fix typo
6bf7dab Remove unused config file
15f4a95 Use config file for agent
88e5abc More expressive logs
82d93da Get server key from device instead of static config
961b246 Use pkce flow instead of client secret
c9a8758 Refactor code in smaller functions
4aecbb1 Create agent and change server
854f24a Initial commit of a file leaser
43e5396 Add missing LICENSE