aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf/parser.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: bump dateJason A. Donenfeld2022-01-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: use strings.Cut where possibleJason A. Donenfeld2021-12-231-4/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update to go 1.18 beta1Jason A. Donenfeld2021-12-161-2/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: apply gofumptJason A. Donenfeld2021-12-091-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: switch to netipJason A. Donenfeld2021-11-061-51/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: remove wireguard-go/Wintun implementationJason A. Donenfeld2021-10-161-163/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: remove workaround for erroneous hasendpoint flagJason A. Donenfeld2021-08-041-1/+1
| | | | | | | | This reverts commit 22be5b26d95f8d8c32e5bf7dbca214f799cbc103. Fixed for wgnt 0.3. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: work around erroneous hasendpoint flagJason A. Donenfeld2021-08-031-1/+1
| | | | | | Revert me for wgnt 0.3. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: introduce new module for talking with kernel driverJason A. Donenfeld2021-08-021-0/+72
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: support turning off automatic routing tableJason A. Donenfeld2021-06-181-0/+17
| | | | | | | This supports the familiar "Table = off" syntax as on Linux, and then interprets other valid values as simply "on". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: merge {Pre,Post}{Up,Down} from uapiJason A. Donenfeld2021-03-051-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: bump copyright dateJason A. Donenfeld2021-02-011-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: pipeline UAPI requestsJason A. Donenfeld2021-02-011-4/+11
| | | | | | This avoids the somewhat expensive pipe setup. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update headersJason A. Donenfeld2020-11-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: enable {Pre,Post}{Up,Down} scripts gated behind admin knobJason A. Donenfeld2020-11-221-0/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: add support for search domains inside dns lineJason A. Donenfeld2020-06-051-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: fix typo in error messageSimon Rozman2020-06-051-2/+2
| | | | | Reported-by: KolinPower@Crowdin Signed-off-by: Simon Rozman <simon@rozman.si>
* l18n: add localization supportSimon Rozman2020-03-151-31/+32
| | | | | | | | | | | | | | | | | | | | | Revise the messages to make them localizable. Note: The log messages are not marked for localization. Probably, we want to keep log files in English for easier global troubleshooting. Having a user run `go generate` requires a valid and up-to-date Go environment. Rather than instructing users how to setup the environment correctly, the `go generate` was integrated into build.bat. This reuses the Go building environment downloaded and prepared by build.bat to provide controllable and consistent result. Use `make generate` on Linux. As the zgotext.go output varies for GOARCH=386 and amd64, one had to be chosen to provide stable output. The former is the first one to build in build.bat. Signed-off-by: Simon Rozman <simon@rozman.si>
* conf: safely escape weird input charactersJason A. Donenfeld2019-06-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: read files potentially with UTF16Jason A. Donenfeld2019-05-221-0/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: change acronyms to uppercaseSimon Rozman2019-05-161-4/+4
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* conf: don't verify scope as part of ip checkingJason A. Donenfeld2019-05-091-1/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: validate tunnel nameJason A. Donenfeld2019-03-051-0/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: uapi returns hex, not base64Jason A. Donenfeld2019-03-041-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: make winipcfg sort of workJason A. Donenfeld2019-03-011-2/+6
| | | | | | | | The duplicate route thing is silly, and we currently don't do DNS or the fancy socket routing. But this is a step in the right direction, perhaps. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: introduce configuration managementJason A. Donenfeld2019-02-281-0/+454
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>