IPv6 support for all modules (#64)
authorHasso Tepper <hasso.tepper@gmail.com>
Fri, 30 Sep 2016 16:29:52 +0000 (19:29 +0300)
committerBrian Brazil <brian-brazil@users.noreply.github.com>
Fri, 30 Sep 2016 16:29:52 +0000 (17:29 +0100)
commit8cf960535bd8734e84e344cdd2c881bbd6dc2065
tree2c858649c8a4865095e6b178518cbb7c7ab1eb63
parentdbfe523dc1b2fdf97d15ff2b9d7beb550cbdcc65
IPv6 support for all modules (#64)

* IPv6 and IP protocol preferrence support for all modules

Introduce protocol field for every module which can be used to force
probe to IPv4 (tcp4/udp4/icmp4) or IPv6 (tcp6/udp6/icmp6). In case
of tcp/udp/icmp both can be used in order of preferrence. IPv6 is
preferred by default, but it can be tuned with 'preferred_ip_protocol'
parameter.

Default for all modules is an automatic selection with IPv6 preferred.

ICMP code is mostly from Michael Stapelberg.

* Document protocol and preferred_ip_protocol parameters

* Protocol tests for DNS and TCP modules
README.md
dns.go
dns_test.go
http.go
icmp.go
main.go
tcp.go
tcp_test.go