Michael Stapelberg
ae8cfee616
dhcp6: inspect server advertisment IAPD and report error, if any
...
The fiber7 DHCPv6 servers (sometimes?) use this field for reporting errors.
2020-07-02 22:06:55 +02:00
Matt Layher
b8c40958e8
internal/dhcp6: fix error case
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-09 17:00:43 -04:00
Chris K
4f0efc7b18
dhcp6: use new IAPD & Prefix getters ( #41 )
...
Signed-off-by: Chris Koch <chrisko@google.com>
2020-03-13 08:47:38 +01:00
Chris K
ffc4c21bcd
dhcp6: use new getters ( #37 )
...
Signed-off-by: Chris Koch <chrisko@google.com>
2020-03-07 09:35:59 +01:00
Michael Stapelberg
73bd5c6a50
dhcp6: T1 is now already a time.Duration
...
see https://github.com/insomniacslk/dhcp/pull/347
2020-01-03 08:06:17 +01:00
Michael Stapelberg
3b5cf99b29
dhcp6_test: add new DHCPv6 infra packet capture
2019-12-02 10:43:39 +01:00
Michael Stapelberg
c0067c5aa5
change diff order to -want +got
...
This is easier to read and consistent with how we do things at work.
2019-07-11 08:42:21 +02:00
Michael Stapelberg
54843950dd
dhcp6: allow overriding hardwareaddr in test
...
This fixes the breakage introduced by commit
8166b9a9db
2019-04-29 19:16:19 +02:00
Michael Stapelberg
ea8efe1978
log hardwareAddr for debugging travis
2019-04-29 19:02:39 +02:00
Andrea Barberio
4b3cbd556f
Fix build after insomniacslk/dhcp constant moved
...
The AllDHCPRelayAgentsAndServers constant has moved from client6 to
dhcpv6 in insomniacslk/dhcp . This PR fixes the build after
https://github.com/insomniacslk/dhcp/pull/278
Signed-off-by: Andrea Barberio <insomniac@slackware.it>
2019-04-29 15:43:30 +01:00
Michael Stapelberg
1a65f972c6
dhcp6: only call net.InterfaceByName when client is constructed
2019-04-16 08:36:06 +02:00
Andrea Barberio
26075c4957
dhcp6: use NewSolicit instead of removed NewSolicitForInterface
...
In https://github.com/insomniacslk/dhcp/pull/256 NewSolicitForInterface
was removed in favour of NewSolicit. This PR fixes the build failure due
to that change.
2019-04-10 09:54:16 +02:00
Christopher Koch
33348e1f0d
dhcp6: use updated DHCPv6 stuff
2019-03-13 20:31:36 +01:00
insomniac
cbff6a2541
internal/dhcp6: fix build after DHCP library API change ( #23 )
2019-01-28 22:06:10 +01:00
Chris K
ea50066bad
dhcpv6: use new TransactionID type ( #21 )
2019-01-27 11:47:19 +01:00
Chris K
a3799c4ec5
dhcp6: use changed type name. ( #19 )
2019-01-15 08:02:56 +01:00
Michael Stapelberg
0bbc1d923d
refactor replayer code into pcapreplayer package
2018-10-22 21:04:35 +02:00
insomniac
cfbf52db6e
dhcp6: update after changes in insomniacslk/dhcp ( #10 )
2018-10-16 08:03:45 +02:00
Pablo Mazzini
81894ba0b3
dhcp6: simplify PD obtention ( #9 )
2018-10-11 14:29:22 +02:00
Michael Stapelberg
447f1779e2
dhcp6: update for breaking upstream changes
...
see https://github.com/insomniacslk/dhcp/pull/81
2018-09-05 08:39:35 +02:00
Michael Stapelberg
ad779c3665
dhcp6: update for breaking upstream changes
2018-08-05 11:45:03 +02:00
Michael Stapelberg
984e8802f7
dhcp6: log XIDs when they differ
...
Encountering this message can be perfectly normal, e.g. in a high-availability
setup, where two DHCP servers answer to your requests.
2018-07-03 17:37:25 +02:00
Michael Stapelberg
86f5433cbb
dhcp6: correctly clear previous error
2018-06-29 12:02:16 +02:00
Michael Stapelberg
ff7aa8f2cb
add copyright notices
2018-06-28 20:08:23 +02:00
Michael Stapelberg
ea476bbb04
remove accidentally committed router7.test binaries
2018-06-08 16:51:50 +02:00
Michael Stapelberg
7164b27041
dhcp6: specify the prefix delegation option
2018-06-03 20:03:07 +02:00
Michael Stapelberg
3cadbdd7aa
dhcp6: hook up SIGUSR2 to DHCPRELEASE
2018-06-02 21:00:56 +02:00
Michael Stapelberg
7d2205c295
dhcp6: implement support for client identifier
2018-06-02 18:01:44 +02:00
Michael Stapelberg
aec417cfbc
dhcp6: work around ipv6ZoneCache issue (fixes tests)
2018-06-02 17:33:01 +02:00
Michael Stapelberg
6b9ce5728a
Initial commit
2018-05-27 17:30:42 +02:00