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
Francesco Cogno
4d410d4b1f
bumped version
2019-07-31 15:34:00 +02:00
Francesco Cogno
f9f9d6bc1c
Merge pull request #12 from MindFlavor/feat/export_remote_flag/pr
...
Export remote information behind optional flag
2019-07-31 15:32:04 +02:00
Francesco Cogno
5e0f111bd9
Export remote information behind optional flag
2019-07-31 15:24:52 +02:00
Francesco Cogno
d60597be40
Merge pull request #11 from Ma27/expose-remote-ip-and-port
...
Expose `remote_ip` and `remote_port` for each WireGuard peer
2019-07-22 20:29:43 +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
d794c81c43
Set theme jekyll-theme-hacker
2019-07-11 22:23:11 +02:00
Francesco Cogno
6aa2b1d281
typo
2019-07-11 22:22:03 +02:00
Francesco Cogno
8177a37643
Merge pull request #9 from MindFlavor/issue/8/pr
...
Replaced local_ip + local_port with allowed_ips
2019-07-11 17:44:39 +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
56b8fac7f0
fixed versions on REAMDE
2019-06-09 20:19:54 +02:00
Francesco Cogno
4769a368ab
Merge pull request #7 from MindFlavor/external_crate/pr
...
Exported boilerplate to external crate
2019-06-09 20:15:00 +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
Francesco Cogno
b43eff803d
Merge pull request #5 from Ma27/ipv6-support
...
Parse strings using `std::net` to support peers with IPv6 addresses
2019-06-03 10:28:41 +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
b9f0357f99
Updated README
2019-05-31 16:52:29 +02:00
Francesco Cogno
691e823381
Merge pull request #4 from MindFlavor/milestone2.0
...
Counters ending in `_total` and timestamps are not interpreted as delta
2019-05-31 16:47:13 +02:00
Francesco Cogno
3680ceb0ec
modified output
2019-05-31 13:20:01 +02:00
Francesco Cogno
c3b4bd6a5d
Corrected version on docs
2019-05-20 11:26:31 +02:00
Francesco Cogno
2d8c5964c7
Merge branch 'master' of github.com:MindFlavor/prometheus_wireguard_exporter
2019-05-20 11:23:42 +02:00
Francesco Cogno
1d92df41d6
Changed default port to 9586
2019-05-20 11:23:28 +02:00
Francesco Cogno
4ade8f96fc
Set theme jekyll-theme-slate
2019-05-20 11:12:00 +02:00
Francesco Cogno
eab95c5f70
Merge pull request #1 from MindFlavor/peer_names
...
Friendly names support for peer names
2019-05-20 11:07:28 +02:00
Francesco Cogno
13eddbec91
Fixed dependencies
2019-05-20 11:06:26 +02:00
Francesco Cogno
b00cddd037
Merge branch 'peer_names' of github.com:MindFlavor/prometheus_wireguard_exporter into peer_names
2019-05-20 11:01:22 +02:00
Francesco Cogno
ffd01fdba2
clippy'd
2019-05-20 11:01:04 +02:00