Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-22 | Fixed unnecessary conversions in dhcpv6 (#305) | Christian Muehlhaeuser | |
No need to convert here. | |||
2019-05-09 | Adding RemoteID option while creating a Relayed Encapsulated Packet (#282) | Akshay Navale | |
2019-05-08 | Addressed more linter warnings | Andrea Barberio | |
Mostly addressed missing error checking. Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-05-08 | Addressed various linter warnings | Andrea Barberio | |
Mostly for dead code and potentially wrong comparisons. Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-05-02 | [dhcpv6] Handle SOLICIT with rapid commit in NewReplyFromMessage | Andrea Barberio | |
NewReplyFromMessage creates a reply from a message. With this patch it can handle Solicit messages with rapid-commit. RFC3315 states that: ``` If the client has included a Rapid Commit option in its Solicit message, the client terminates the waiting process as soon as a Reply message with a Rapid Commit option is received. ``` Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-04-29 | [server6] Server should join multicast address | Andrea Barberio | |
The previous logic was wrong - there's no "listening" on multicast address, the server should listen on the given address, and join the multicast group. This PR fixes it. Also moved the multicast addresses to a common package. Tested with unit/integ tests, and with coredhcp. Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-04-24 | [dhcpv6] Solicit messages derive default IAID from MAC address | Andrea Barberio | |
IAID must be set by the client. This patch generates the IAID from the MAC address of the interface. To do so, a new WithIAID modifier is added, the interface of NewSolicitWithCID now requires a hwaddr parameter, and NewAdvertiseFromSolicit copies the IA_NA option from the solicit if present. Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-04-23 | Revert "[dhcpv6] Solicit messages derive default IAID from MAC address" | Andrea Barberio | |
This reverts commit b071bdc86a58037f6c745647c97fca202f3caef9. Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-04-23 | [dhcpv6] Solicit messages derive default IAID from MAC address | Andrea Barberio | |
IAID must be set by the client. This patch generates the IAID from the MAC address of the interface. To do so, a new WithIAID modifier is added, the interface of NewSolicitWithCID now requires a hwaddr parameter, and NewAdvertiseFromSolicit copies the IA_NA option from the solicit if present. Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-04-17 | [server] Serve returns an error, and closes when done | Andrea Barberio | |
Server6 and Server4 had Serve methods that return without reporting an error, changed in this PR. Serve now also closes the connection when done. Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-04-07 | nclient6: small fixes | Christopher Koch | |
- RapidCommit solicits wait for Reply messages, not Advertise. - Default recipient should be all relay agents and servers, not just servers. - Make New() and NewWithConn() interface same as in nclient4. Signed-off-by: Christopher Koch <chrisko@google.com> | |||
2019-04-04 | client6: new async DHCPv6 client like #250. | Christopher Koch | |
- Race-condition-averse. - Supports multiple concurrent requests. - Tested. - Requires a fully compatible net.PacketConn. Signed-off-by: Christopher Koch <chrisko@google.com> | |||
2019-04-03 | Use cancellable crypto RNG from u-root | Andrea Barberio | |
Fixes #246 Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-03-14 | client: simulate relay (#259) | Pablo Mazzini | |
2019-03-11 | dhcpv6: standardize GetInnerMessage | Christopher Koch | |
2019-03-11 | dhcpv6: remove setters and getters. | Christopher Koch | |
- Make members directly accessible. | |||
2019-03-11 | dhcpv6: add explicit unmarshaling functions. | Christopher Koch | |
2019-03-11 | dhcpv6: rename stuttering types. | Christopher Koch | |
dhcpv6.DHCPv6Message -> dhcpv6.Message dhcpv6.DHCPv6Relay -> dhcpv6.RelayMessage | |||
2019-01-28 | Created examples directory and adjusted README | Andrea Barberio | |
2019-01-28 | dhcpv6: moved client into dhcpv6/client6 | Andrea Barberio | |
2019-01-26 | dhcpv6: remove unnecessary Length function | Christopher Koch | |
2019-01-26 | dhcpv6: move option code and length marshaling to Options.ToBytes. | Christopher Koch | |
2019-01-26 | dhcpv6: easier option parsing | Christopher Koch | |
- move option parsing to uio buffer library. - move option code and length reading into FromBytes rather than implementing it in each OptionParser. | |||
2019-01-26 | dhcpv6: use uio buffer in DHCPv6 message parsing | Christopher Koch | |
2019-01-26 | dhcpv6: move option code types; add Stringer. | Christopher Koch | |
2019-01-26 | dhcpv6: introduce TransactionID type | Christopher Koch | |
2019-01-26 | dhcpv6: clean up MessageType | Christopher Koch | |
- print unknown message type numbers. - unexport unneeded map of strings. | |||
2019-01-26 | dhcpv6: introduce options type. | Christopher Koch | |
2019-01-19 | dhcpv6: added Duid.Equal | Andrea Barberio | |
2019-01-14 | iana: rename HwTypeType to HWType, add package comment. | Christopher Koch | |
2019-01-14 | Rename iana.ArchType to iana.Arch. | Christopher Koch | |
2018-12-12 | [dhcpv6/ztpv6] Adding Parsing Vendor Opts and Parsing Remote Id Opts lib for ↵ | Chris Gorham | |
ztpv6 (#208) | |||
2018-12-09 | Addressed pmazzini's feedback | Andrea Barberio | |
2018-12-08 | Also simplified corresponding v6 modifiers | Andrea Barberio | |
2018-12-08 | Added netconf v4 tests and required modifiers | Andrea Barberio | |
2018-12-08 | Added netconf basic testing and required modifiers | Andrea Barberio | |
2018-11-29 | interfaces: added package with interface facilities | Andrea Barberio | |
2018-11-27 | simplify client interface (#181) | Pablo Mazzini | |
2018-11-27 | Removed ineffective assignment | Andrea Barberio | |
2018-11-27 | Added missing check in tests | Andrea Barberio | |
2018-11-27 | dhcpv6: using stretchr test framework for OptVendorOpts | Andrea Barberio | |
2018-11-27 | Removed unreachable code, fixed misspelling (#212) | insomniac | |
* Removed unreachable code * Addressed misspelling errors | |||
2018-11-27 | Test TransactionID generation | Mikołaj Walczak | |
2018-11-26 | Add missing error check in GenerateTransactionID | Mikołaj Walczak | |
2018-11-21 | rfc1035label: using a structure to hold original data | Andrea Barberio | |
2018-11-20 | Added example for DHCPv6 server | Andrea Barberio | |
2018-11-18 | iputils: add ExtractMAC (#199) | insomniac | |
2018-11-18 | iputils: add ExtractMAC | Pablo Mazzini | |
2018-11-18 | iputils: add ExtractMAC | Pablo Mazzini | |
2018-11-18 | ExtractMAC: increase coverage | Pablo Mazzini | |