Commit graph

20 commits

Author SHA1 Message Date
Francesco Cogno
5e0f111bd9 Export remote information behind optional flag 2019-07-31 15:24:52 +02:00
Maximilian Bosch
691aa809b0
Expose remote_ip and remote_port for each WireGuard peer 2019-07-21 18:32:21 +02:00
Francesco Cogno
1b40335280
Label split option 2019-07-11 15:31:25 +02:00
Francesco Cogno
c987073210
Replaced local_ip + local_port with allowed_ips 2019-07-09 17:55:03 +02:00
Francesco Cogno
ee164d2f73 Exported boilerplate to external crate 2019-06-09 20:09:06 +02:00
Francesco Cogno
2cd6f2087f
Merge pull request #6 from MindFlavor/travis/pr
Added Travis integration and fixed failing tests
2019-06-03 11:23:44 +02:00
Francesco Cogno
70c2eff919
Added Travis integration and fixed failing tests 2019-06-03 11:23:02 +02:00
Maximilian Bosch
1b4a7a2df1
Parse strings using std::net to support peers with IPv6 addresses
Also alter datatype for ports to `u16` as tcp port numbers are unsigned
16bit integers.
2019-06-02 22:06:27 +02:00
Francesco Cogno
3680ceb0ec
modified output 2019-05-31 13:20:01 +02:00
Francesco Cogno
1d92df41d6
Changed default port to 9586 2019-05-20 11:23:28 +02:00
Francesco Cogno
ffd01fdba2
clippy'd 2019-05-20 11:01:04 +02:00
Francesco Cogno
a12ecb50fb Corrected wrong method 2019-05-20 10:21:32 +02:00
Francesco Cogno
82188d1494
before live test 2019-05-20 10:09:02 +02:00
Francesco Cogno
be9bf63fac
Simpified code 2019-05-20 09:45:20 +02:00
Francesco Cogno
5b983d5e34
adding switch 2019-05-17 19:32:35 +02:00
Francesco Cogno
70178cb8d6
Added proper tests (but more should be addedgit add --all :/) 2019-05-17 11:00:53 +02:00
Francesco Cogno
792a821de0
Added sanity checks 2019-05-17 10:17:06 +02:00
Francesco Cogno
f01d55370d
parsing done, tests to do 2019-05-16 20:45:04 +02:00
Francesco Cogno
1b4d57871e Started wireguard config file parse 2019-05-15 16:55:07 +02:00
Francesco Cogno
143a450778
Initial commit 2019-04-23 23:06:35 +02:00