Commit graph

90 commits

Author SHA1 Message Date
Quentin McGaw
3c27991831
Readme docker (#46)
* Add Docker badges
* Use pre-built docker image for running it
* Docker image build instructions
2020-10-13 08:06:12 -04:00
Quentin McGaw
eea9b11c85
Remove linux/386 platform from buildx (#47) 2020-10-12 17:33:01 -04:00
Francesco Cogno
512ac9e891
Added support for sudo 2020-10-11 20:44:11 +02:00
Francesco Cogno
38b55fca32
Merge pull request #45 from MindFlavor/issue/27/sudo_wg_optional
Added optional sudo to wg command
2020-10-11 20:38:56 +02:00
Francesco Cogno
73e0b12c22
added missing startup flag 2020-10-11 16:48:08 +02:00
Francesco Cogno
fa739c423c
Added optional sudo 2020-10-11 16:40:10 +02:00
Francesco Cogno
e77a3e26ee
Support for # key values in comment (friendly_name at the moment) (#44)
* Draft support for friendly_name

* updated version and readme
2020-10-11 16:21:51 +02:00
Francesco Cogno
d65b8f5862
Update README.md 2020-10-05 09:07:30 +02:00
Francesco Cogno
c514ec7f05
Merge pull request #42 from qdm12/ci-docker
Fix latest buildx workflow
2020-09-23 18:01:29 +02:00
Quentin McGaw
50e9bdf596 Fix latest buildx workflow 2020-09-23 07:29:33 -04:00
Francesco Cogno
988f536a35
Merge pull request #41 from qdm12/ci-docker
Docker CI
2020-09-18 14:59:53 +02:00
Quentin McGaw
f055d0a656 Docker Hub description sync 2020-08-31 20:53:11 -04:00
Quentin McGaw
610fcd1e0d Buildx tagged Docker build on releases/tags 2020-08-31 20:53:00 -04:00
Quentin McGaw
4a13a26869 Buildx latest on master branch changes 2020-08-31 20:52:50 -04:00
Quentin McGaw
e9e0690a88 Buildx tagged Docker build on branches 2020-08-31 20:52:37 -04:00
Quentin McGaw
970783e903 Simple Docker build on master pull request 2020-08-31 20:52:12 -04:00
Francesco Cogno
392c80eb1b
Merge pull request #39 from qdm12/master
Dockerize the app!
2020-08-17 13:24:52 +02:00
Quentin McGaw
01b7e16de0 Readme instructions to use with Docker 2020-08-09 18:06:48 -04:00
Quentin McGaw
98c251bba8 Run as root to access wg 2020-08-09 18:06:23 -04:00
Quentin McGaw
5cd14e0aa7 Add Dockerfile and itself to .dockerignore 2020-08-09 18:06:11 -04:00
Quentin McGaw
0f3dcfc57a Dockerfile 2020-08-09 17:49:13 -04:00
Francesco Cogno
5e9848dbba
Switch from Travis to GitHub actions (#33)
* github action badge added

* Update README.md

* removed travis file
2020-05-10 16:00:42 +02:00
Francesco Cogno
4e3083bf85
Merge pull request #32 from MindFlavor/issue/29/parsing_case_insensitive
Parse case insensitive
2020-05-10 15:47:46 +02:00
Francesco Cogno
ec967e7f9d Parse case insensitive 2020-05-10 15:40:45 +02:00
Francesco Cogno
f04208a810
Added github action 2020-05-09 16:54:48 +02:00
Francesco Cogno
52740036bf
Multiple interfaces from command line support (#31) 2020-05-09 16:48:52 +02:00
Francesco Cogno
2013f8b5af
Split interface name from peer configuration file (#26)
Split interface name from peer configuration file
2020-04-07 10:20:19 +02:00
Francesco Cogno
f2a11f0c3c updated deps 2020-03-24 11:58:33 +01:00
Francesco Cogno
ceeea75b3c
Support for stderr output in TRACE log level (#25)
* exported stderr

* version bump
2020-03-24 11:57:54 +01:00
Francesco Cogno
8b3b015492 version bump 2020-03-24 11:44:10 +01:00
Francesco Cogno
fd13be8806
Merge pull request #24 from MindFlavor/issue/23/dev
support for ipv6 address in command line
2020-03-24 11:42:33 +01:00
Francesco Cogno
ff5806571b support for ipv6 addr in command line 2020-03-24 09:36:13 +01:00
Francesco Cogno
8f0f5112ec
Merge pull request #21 from eth3rgeist/master
wrong param for interface
2020-01-10 20:59:11 +01:00
eth3rgeist
a92f49a150
wrong param for interface
Its '-l' instead of '-p'
2019-12-26 15:58:57 +01:00
Francesco Cogno
2293e4d878 version 3.2.2 2019-12-01 19:48:29 +01:00
Francesco Cogno
d398ccdb70
Merge pull request #20 from MindFlavor/std_future/pr
Migrated to std::future
2019-12-01 19:47:47 +01:00
Francesco Cogno
923b70c4b7 migrated to std::future 2019-12-01 19:42:47 +01:00
Francesco Cogno
4612afe684 release v3.2.1 2019-11-08 09:34:17 +01:00
Francesco Cogno
90a1585dab
Merge pull request #18 from Ma27/workaround-link-local-zone-ids
Strip link-local zone ids from IPv6 socket addrs
2019-11-08 09:28:26 +01:00
Maximilian Bosch
9a54a8f424
Strip link-local zone ids from IPv6 socket addrs
This is a fairly ugly hack to temporarily work around the issue #10.
Until now Rust doesn't support so-called zone-ids[1] in link-local IPv6
socket-addresses and has a pending RFC on this topic. As I'm
encountering this issue on one of my machines I decided to work around
this issue (for now) by removing the zone-id from the IPv6 address.

This won't harm any other cases as `regex.replace_all` simply returns
the input if the regex doesn't match:

```
>> extern crate regex;
>> let re = regex::Regex::new(r"^\[(?P<ip>[A-Fa-f0-9:]+)%(.*)\]:(?P<port>[0-9]+)$");
>> let rs = re.replace_all("fairly unrelated stuff", "[$ip]:$port");
>> rs
"fairly unrelated stuff"
```

Please note that (1) this regex isn't RFC-compliant[2] and is just a
heuristic to remove zone-ids that currently break this exporter and
(2) this is something that probably shouldn't be merged as-is. I mainly
pushed this since I needed a workaround for this issue (and others
probably too), but it may be better to wait for proper support from the
language.

[1] https://tools.ietf.org/html/rfc4007#section-11
2019-11-02 19:48:16 +01:00
Francesco Cogno
09aa62ad40 fixed lock 2019-10-13 19:44:53 +02:00
Francesco Cogno
e04a3f833b
wg show <interface> if specified in the command line (#17)
Using `interface` instead of `all` if specified
2019-10-13 19:42:44 +02:00
Francesco Cogno
42ae2f5927 fixed lock 2019-09-27 11:03:38 +02:00
Francesco Cogno
9e5e306899 default IP to 0.0.0.0 2019-09-27 11:01:27 +02:00
Francesco Cogno
1bd6a74e3c
Merge pull request #15 from sc0rp10/master
add ability to specify exporter IP address
2019-09-27 09:42:51 +02:00
Konstantin Zamyakin
2a91bc5332 add ability to specify exporter IP address 2019-09-27 00:44:48 +03:00
Francesco Cogno
eb03a6f1f2
updated version 2019-09-25 20:34:57 +02:00
Francesco Cogno
5d124dd799
updated version 2019-09-25 20:33:55 +02:00
Francesco Cogno
3ab9dd0610
Merge pull request #14 from MindFlavor/issue/13/pr
swapped rx-tx
2019-09-25 20:32:56 +02:00
Francesco Cogno
067136de45
swapped rx-tx 2019-09-25 20:22:27 +02:00