Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-09 | netconf: use new IANA and IAAddress getters | Chris Koch | |
Signed-off-by: Chris Koch <chrisko@google.com> | |||
2020-03-05 | v6: DomainSearchList getter | Chris Koch | |
Signed-off-by: Chris Koch <chrisko@google.com> | |||
2020-03-05 | v6: add BootFileParam getter | Chris Koch | |
Signed-off-by: Chris Koch <chrisko@google.com> | |||
2020-03-05 | v6: add BootFileURL getter | Chris Koch | |
Signed-off-by: Chris Koch <chrisko@google.com> | |||
2020-03-05 | v6: add DNS getter (and rename DNSRecursiveNameServer to DNS) | Chris Koch | |
Signed-off-by: Chris Koch <chrisko@google.com> | |||
2020-03-05 | v6: add IANA Getter | Chris Koch | |
Signed-off-by: Chris Koch <chrisko@google.com> | |||
2020-01-02 | Fix "conn" leaking, which eventually leads to thread exhaustion on machines ↵ | Leandro Martelli | |
with many NICs Signed-off-by: Leandro Martelli <martelli@epix.com.br> | |||
2020-01-02 | v6: use time.Duration for duration fields | Chris Koch | |
Signed-off-by: Chris Koch <chrisko@google.com> | |||
2019-12-12 | [netboot] Add support of BootfileParam to "netboot" | Dmitrii Okunev | |
Signed-off-by: Dmitrii Okunev <xaionaro@fb.com> | |||
2019-09-25 | dhcpv6: simplify boot file URL | Chris Koch | |
Signed-off-by: Chris Koch <chrisko@google.com> | |||
2019-06-20 | Fix TravisCI build (#297) | insomniac | |
2019-04-30 | [netboot] Return error when there is one | Andrea Barberio | |
The current implementation has a bug, so that it always returns `nil`, even when an error happened. This PR fixes it. Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-04-29 | [netboot] use rtnl package | Andrea Barberio | |
After adding the higher-level [rtnl package](https://github.com/jsimonetti/rtnetlink/pull/44) let's switch to it. Pending https://github.com/jsimonetti/rtnetlink/pull/50 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-15 | Replace vishvananda/netlink with jsimonetti/rtnetlink (#271) | insomniac | |
Fixes #257 And saves ~100kb. Signed-off-by: Andrea Barberio <insomniac@slackware.it> | |||
2019-03-11 | dhcpv6: remove setters and getters. | Christopher Koch | |
- Make members directly accessible. | |||
2019-03-11 | dhcpv6: rename stuttering types. | Christopher Koch | |
dhcpv6.DHCPv6Message -> dhcpv6.Message dhcpv6.DHCPv6Relay -> dhcpv6.RelayMessage | |||
2019-03-07 | Allow Unknown OperState of the link interface (#254) | Łukasz Siudut | |
* Allow Unknowo OperState of the link interface We hig a bug when Netconf library was failing to bring interface up despite the fact that it was actually up. It turned out that it's oper state was not set to UP, what is expected by the library. According to kernel documentation it is ok proceed if interface state is Up or Unknown: ``` Interface is in RFC2863 operational state UP or UNKNOWN. This is for backward compatibility, routing daemons, dhcp clients can use this flag to determine whether they should use the interface. ``` Also, resaon why operational state may remain Unknown: ``` IF_OPER_UNKNOWN (0): Interface is in unknown state, neither driver nor userspace has set operational state. Interface must be considered for user data as setting operational state has not been implemented in every driver. ``` I modified our code to try DHCP transaction even if `IfUp` failed, but the OperState was equal to Unknown - it worked perfectly. * Skip rt7 test also with go 1.10 and 1.11 As per request from @pmazzini. | |||
2019-01-28 | dhcpv4: moved client into dhcpv4/client4 | Andrea Barberio | |
2019-01-28 | dhcpv6: moved client into dhcpv6/client6 | Andrea Barberio | |
2019-01-24 | dhcpv4: getters instead of getters | Christopher Koch | |
From: r := GetRouter(d.Options) To: r := d.Router() | |||
2019-01-24 | dhcpv4: nicer API for option parsing. | Christopher Koch | |
From: r := d.GetOneOption(OptionRouter).(*OptRouter).Routers d.UpdateOption(&OptRouter{Routers: []net.IP{net.IP{192, 168, 0, 1}}}) To: r := GetRouter(d.Options) d.UpdateOption(OptRouter(net.IP{192, 168, 0, 1}, ...)) | |||
2019-01-19 | dhcpv4: build more packets with modifiers | Christopher Koch | |
Also drop unnecessary return value of Modifier. | |||
2019-01-14 | iana: rename HwTypeType to HWType, add package comment. | Christopher Koch | |
2019-01-09 | dhcpv4: export packet members; remove setters and getters. | Christopher Koch | |
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-27 | simplify client interface (#181) | Pablo Mazzini | |
2018-11-21 | rfc1035label: using a structure to hold original data | Andrea Barberio | |
2018-11-20 | netboot: delay in IfUp to avoid hammering the CPU | Andrea Barberio | |
2018-11-19 | dhcpv4: run on unconfigured interfaces (#198) | insomniac | |
2018-11-13 | netboot: domain search list not mandatory | Andrea Barberio | |
2018-11-07 | Add netboot/netconf support for DHCPv4 (#185) | Marco Guerri | |
2018-08-15 | Fixing duplicate WithNetboot modifier in netboot package | Andrea Barberio | |
2018-07-30 | DHCPv6: Rename Option constants to CamelCase | Sean Karlage | |
To appease linters | |||
2018-07-29 | Fix message type usage in netboot package | Sean Karlage | |
2018-07-16 | Netboot: don't fail if no netboot url is returned | Andrea Barberio | |
2018-05-25 | OptBootFileURL fields are now public (#68) | 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-12 | OptDomainSearchList: made fields public and added unit tests (#64) | insomniac | |
2018-05-10 | OptDNSRecursiveNameServer gets public fields and tests, removes setter and ↵ | insomniac | |
getter (#62) | |||
2018-04-22 | Added netboot package (#45) | insomniac | |
Added netboot package |