Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-12 | add GetInnerRelay | Pablo Mazzini | |
2018-07-08 | add NewReplyFromDHCPv6Message (#78) | Pablo Mazzini | |
Add a more generic NewReplyFromMessage to avoid code duplication. This is one step closer towards fixing issue #73. Leave NewReplyFromRequest, NewReplyFromRenew and NewReplyFromRebind for backwards compatibility. | |||
2018-07-08 | add DelOption to OptIANA (#77) | Pablo Mazzini | |
2018-07-05 | DHCPv6.Exchange now applies modifiers correctly for both solicit and request ↵ | insomniac | |
(#75) | |||
2018-06-28 | Added OptDomainNameServer for DHCPv4 (#74) | insomniac | |
2018-06-11 | Pass through unknown DUIDs (#71) | Michael Stapelberg | |
I’m building on a program which works with user-supplied DUIDs. Before this change, the code would panic when users provide a DUID which is not (yet) implemented. In addition to this being a better failure mode, the behavior is also mandated by the DHCPv6 RFC: https://tools.ietf.org/html/rfc3315#section-9 states: Clients and servers MUST treat DUIDs as opaque values and MUST only compare DUIDs for equality. | |||
2018-06-11 | add NewReplyFromRenew and NewReplyFromRebind (#72) | Pablo Mazzini | |
2018-06-10 | add IsNetboot and IsUsingUEFI (#70) | Pablo Mazzini | |
2018-05-26 | Add NewRelayReplFromRelayForw (#69) | Pablo Mazzini | |
2018-05-25 | OptBootFileURL fields are now public (#68) | insomniac | |
2018-05-25 | OptUserClass does not allow empty user classes (#67) | insomniac | |
2018-05-21 | Tests for DUID, OptIAAddress and several fixes (#66) | insomniac | |
2018-05-20 | Unbreak build after changing OptIANA interface (#65) | insomniac | |
2018-05-20 | OptIANA and OptElapsedTime now have public fields | Andrea Barberio | |
2018-05-12 | OptDomainSearchList: made fields public and added unit tests (#64) | insomniac | |
2018-05-11 | add dhcpv4.GetOption and dhcpv4.GetSingleOption methods (#63) | Brandon Bennett | |
GetOption and GetOneOption are convenience methods for getting a DHCPv4 option from its Option Code. GetOption returns a list of options that match since the DHCP RFC allows for an option to be present multiple times with its values appended together. (Note: I am not sure I've ever seen this done and it's not clear if how option parsing would work for more complex values. Is appending done at the byte level? ) GetOneOption will return the first found option that matches a code. | |||
2018-05-10 | OptDNSRecursiveNameServer gets public fields and tests, removes setter and ↵ | insomniac | |
getter (#62) | |||
2018-05-08 | OptStatusCode: public fields, proper codes, and tests (#61) | insomniac | |
2018-05-06 | Added code coverage via Codecov (#60) | insomniac | |
2018-05-06 | Added tests for OptServerId (#59) | insomniac | |
2018-05-06 | Added tests for OptClientId and using net.HardwareAddr for DUID (#58) | insomniac | |
2018-05-06 | Added tests for OptClientArchType (#57) | insomniac | |
2018-05-02 | Added WithClientId, WithServerId and tests (#56) | insomniac | |
2018-05-02 | UpdateOption now adds the option if missing (#55) | insomniac | |
2018-05-02 | NewMessage now accepts modifiers (#54) | insomniac | |
2018-05-01 | Corrected variable name | Andrea Barberio | |
2018-05-02 | UpdateOption is now part of the DHCPv6 interface (#53) | insomniac | |
2018-05-02 | ClientID and ServerID are now public, with no setter/getter (#52) | insomniac | |
2018-04-30 | Made client ID field public | Andrea Barberio | |
2018-04-30 | add NewReplyFromRequest (#51) | Pablo Mazzini | |
2018-04-30 | add NewAdvertiseFromSolicit (#50) | Pablo Mazzini | |
add NewAdvertiseFromSolicit | |||
2018-04-27 | fix EncapsulateRelay (#48) | Pablo Mazzini | |
2018-04-26 | Fixed OptUserClass and added unit test (#47) | insomniac | |
Fixed OptUserClass and added unit test | |||
2018-04-22 | Added netboot package (#45) | insomniac | |
Added netboot package | |||
2018-04-20 | dhcpv6: option userclass: supporting multiple user classes (#44) | insomniac | |
dhcpv6: option userclass: supporting multiple user classes | |||
2018-04-20 | WithUserClass using the passed user class now | Andrea Barberio | |
2018-04-20 | dhcpv6: added modifiers (#41) | insomniac | |
dhcpv6: added modifiers Added support for packet modifiers, i.e. functions that can arbitrarily manipulate a DHCPv6 packet. These modifiers are used by NewMessage, NewSolicitForInterface, NewRequestForAdvertise, and can be used by other packet creation functions. A bunch of sample modifiers have been added under modifiers.go , too. With the introduction of modifiers I also removed some options that should not necessarily be in a standard DHCPv6 message. | |||
2018-04-19 | OptArchType: made field public | Andrea Barberio | |
2018-04-18 | dhcpv6: Client.Exchange returns all the intermediate packets | Andrea Barberio | |
2018-04-18 | DHCPv6 client now waits for specific packet types (#38) | insomniac | |
Before this patch the client just took whatever DHCP message it received, without checking if it's what it wants. Now it checks for the message type. If the message is not a relay, also check the transaction ID | |||
2018-04-18 | Fixed DHCPv4 listener (#37) | insomniac | |
Fixed DHCPv4 listener There were two bugs in the DHCPv4 client: * the listener was called *after* the sender * the listener was not binding to the same interface as the sender, but listening for every UDP packet This is now fixed. | |||
2018-04-18 | Fixed user class and status code options | Andrea Barberio | |
2018-04-18 | Added missing field to user class, and added to ParseOption | Andrea Barberio | |
2018-04-18 | Fixed user class option length | Andrea Barberio | |
2018-04-18 | Fixed user class length | Andrea Barberio | |
2018-04-17 | Added user class option and fixed status code option | Andrea Barberio | |
2018-04-17 | dhcpv6: OptBootFileURL.String now uses string representation | Andrea Barberio | |
2018-04-17 | dhcpv6: added DHCPv6Message.UpdateOption | Andrea Barberio | |
2018-04-11 | Update README.md | insomniac | |
2018-04-10 | add GetInnerPeerAddr (#33) | Pablo Mazzini | |