summaryrefslogtreecommitdiff
path: root/internal/server/server.go
AgeCommit message (Collapse)Author
2023-12-08Client + Server: Base the renew button 30 min window on OAuth startjwijenbergh
2023-12-08Server: remove old, no longer relevant commentjwijenbergh
2023-10-30Server Renew Button: Log warning when error and set default case to truejwijenbergh
2023-09-01Client + Server: Increase endpoint update frequency and update secure ↵jwijenbergh
internet handling
2023-08-29Server: Set OAuth endpoints on refreshjwijenbergh
This fixes OAuth endpoints after e.g. an update from 2.x to 3.x
2023-04-18Client + Server: Implement a token updater callbackjwijenbergh
2023-02-17Refactor: Improve some errors by using errors.New and add contextjwijenbergh
2023-02-16Format: Run gofumptjwijenbergh
2023-02-16Server: Validate endpointsjwijenbergh
This commit validates the server endpoints by checking the Host and scheme of each URL to check if they match eachother. This is to prevent further mixup attacks
2023-02-15Server: Remove 75% requirement on renew buttonjwijenbergh
2023-01-31Server: Add script-security 0 to the OpenVPN configjwijenbergh
This prevents scripts from being executed by default. Clients can override this by either using the OpenVPN --script-security flag or add a script-security setting themselves.
2022-12-21Client + Exports: Forward tokens for /disconnectjwijenbergh
2022-12-21Exports + OAuth + Server: Forward tokens to getting a configjwijenbergh
2022-12-21Failover: Initial implementationjwijenbergh
2022-12-21Server: Implement forcing WireGuard selection through envjwijenbergh
2022-12-12Server: Minor style changesjwijenbergh
2022-12-12simplify error handlingAleksandar Pesic
fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com>
2022-11-28Server: Split more into multiple implementation filesjwijenbergh
2022-07-19Server: Split CustomServer and split types into multiple filesjwijenbergh
2022-07-18Server: Remove useless sugar to clear out Secure Internet statejwijenbergh
2022-07-18Server: Add ServerType and Identifier to marshalled display JSONjwijenbergh
2022-07-18All: Run Gofumpt formatterjwijenbergh
2022-07-18Server + State + Types: Return marshalled JSON for display informationjwijenbergh
2022-07-12State + Server: Ensure the current secure location is re-initializedjwijenbergh
2022-07-08Server: Remove unused error return value in ShouldRenewButtonjwijenbergh
2022-07-07Format: Run gofumptjwijenbergh
2022-07-05Refactor: Handling of different servers and identifiersjwijenbergh
- Uses OrgID for Secure Internet and gets the data from discovery - Uses URL for Institute/Custom and gets the data from discovery - Implements SKIP WAYF as we now have the needed data - Implements an initial change location with a default location (NL right now)
2022-06-21Server: Add the ability to get the saved serversjwijenbergh
2022-06-20Refactor: Errors to have one custom type that is to be wrappedjwijenbergh
- For this an `internal/types` package is created with a custom error type - This custom error type can give back the cause and traceback of an error
2022-09-20Server: Implement function for checking renewal button visibilityjwijenbergh