diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2024-06-05 13:35:20 -0700 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2024-06-05 13:35:20 -0700 |
commit | 23a37100f121edd0c1291c4a78901662eae5d58b (patch) | |
tree | 1b16a2f5b53746b0bef8f5f7f92729f128d2baaa /test/example_config/wg1/wg1.conf | |
parent | 24ac246d85115396489f970d2396acdbad93431b (diff) | |
download | wg2nd-23a37100f121edd0c1291c4a78901662eae5d58b.tar.xz wg2nd-23a37100f121edd0c1291c4a78901662eae5d58b.zip |
- Parse \r\n line feeds
- Add simple integration tests to ensure regressions do not occur
- Add test "wg1" for \r\n parsing
Diffstat (limited to 'test/example_config/wg1/wg1.conf')
-rw-r--r-- | test/example_config/wg1/wg1.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/example_config/wg1/wg1.conf b/test/example_config/wg1/wg1.conf new file mode 100644 index 0000000..209bc1f --- /dev/null +++ b/test/example_config/wg1/wg1.conf @@ -0,0 +1,9 @@ +[Interface]
+PrivateKey = 0OCS+dV5wsDje6qUAEDQzPmTNWOLE9HE8kfGU1wJUE0=
+Address = 10.55.127.342/32, ab00:aaaa:aaa:aa02::5:abcd/128
+DNS = 10.64.0.1
+
+[Peer]
+PublicKey = WBSnuq6Vswxz5G5zz9pUt60ZSA+JfZ1iTXdg0RJGjks=
+AllowedIPs = 0.0.0.0/0,::0/0
+Endpoint = 128.45.210.64:51821
|