Commit graph

17 commits

Author SHA1 Message Date
Leo Antunes
ddf5cf87d1 finish README 2018-08-26 00:03:29 +02:00
Leo Antunes
1aad0f5845 add simple tests for entry writing 2018-08-25 22:28:24 +02:00
Leo Antunes
b6d9115583 also ignore entries without ip during writing 2018-08-25 22:28:04 +02:00
Leo Antunes
06d16b7b51 close tmpfile before removing to avoid fd leak 2018-08-25 22:27:38 +02:00
Leo Antunes
2c93f8b233 merge calls to fmt.Fprintf 2018-08-25 19:40:24 +02:00
Leo Antunes
5eb23ea821 skip "bridge" and "none" nets; add some tests 2018-08-25 13:25:47 +02:00
Leo Antunes
f6a14606f1 pass config around instead of using as global 2018-08-25 12:31:08 +02:00
Leo Antunes
cc75212b46 fsync tmpfile file before overwriting hostsfile 2018-08-25 12:29:49 +02:00
Leo Antunes
42552f4316 add more error reporting and fallback mode for docker 2018-08-23 00:25:12 +02:00
Leo Antunes
092698694f add complete dockerfile 2018-08-23 00:23:47 +02:00
Leo Antunes
95c2cbeaae better handling of log level option 2018-08-22 22:25:41 +02:00
Leo Antunes
00bfe9ea30 don't leak kickoff channel 2018-08-22 22:25:07 +02:00
Leo Antunes
97d926b432 add cleanup on exit 2018-08-22 00:19:42 +02:00
Leo Antunes
03a5f533ca add acutal etchosts syncing 2018-08-22 00:09:55 +02:00
Leo Antunes
323ad6a54e add some configuration with envconfig 2018-08-22 00:09:01 +02:00
Leo Antunes
7bf4e645ec refactor connection establishment 2018-08-20 22:51:07 +02:00
Leo Antunes
a7f3eb52f6 WIP 2018-08-19 02:06:39 +02:00