Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-18 | dhcpv4: send NAK to broacast address | Christian Mehlis | |
2014-08-18 | dhcpv4: added more comments | Christian Mehlis | |
2014-08-13 | PD: don't consider deprecated assigned prefixes when calculating avilable PD ↵ | Steven Barth | |
size | |||
2014-08-12 | Merge pull request #22 from mehlis/log-dhcp4-events | sbyx | |
dhcpv4: log requests and replies to syslog | |||
2014-08-12 | Merge pull request #21 from mehlis/fix-nak-by-doing-valid-reply | sbyx | |
dhcpv4: offer a valid configuration with DHCP NAK | |||
2014-08-12 | dhcpv4: offer a valid configuration with DHCP NAK | Christian Mehlis | |
On network change the client requests a non valid configuration. In this case we have to reply with a DHCP NAK. But this NAK can include a valid configuration like an ACK does. With this change iDevices and Androids can finish DHCP even with wrong configuration in first REQUEST with two packets and without any additional timeouts and round trips. | |||
2014-08-12 | dhcpv4: implement router configuration option | Christian Mehlis | |
RFC 2132 defines: 3.5. Router Option The router option specifies a list of IP addresses for routers on the client's subnet. Routers SHOULD be listed in order of preference. The code for the router option is 3. The minimum length for the router option is 4 octets, and the length MUST always be a multiple of 4. Code Len Address 1 Address 2 +-----+-----+-----+-----+-----+-----+-----+-----+-- | 3 | n | a1 | a2 | a3 | a4 | a1 | a2 | ... +-----+-----+-----+-----+-----+-----+-----+-----+-- | |||
2014-08-12 | dhcpv4: log requests and replies to syslog | Christian Mehlis | |
This change let odhcpd print dhcpv4 events to syslog. | |||
2014-08-08 | Make failed to send a notice instead of a warning | Steven Barth | |
2014-08-08 | Add host-entries for all IPv6 addresses | Steven Barth | |
2014-08-07 | sync hostfile more often | Steven Barth | |
2014-08-07 | ra: don't send MSR for /64 prefix if DP is /64 as well | Steven Barth | |
2014-07-23 | Don't loose routes in managed PD | Steven Barth | |
2014-07-22 | Revert "rewrite of NDP proxy" for now | Steven Barth | |
2014-07-21 | Fix typo in ubus integration | Steven Barth | |
2014-07-17 | Fix compilation | Steven Barth | |
2014-07-17 | Add missing NDP sync features | Steven Barth | |
2014-07-16 | Initial rewrite of NDP proxy | Steven Barth | |
2014-07-14 | odhcpd: only enable packet socket if really needed | Steven Barth | |
2014-07-01 | Replace option sol_max_rt by inf_max_rt in reply response to information request | Hans Dedecker | |
2014-07-01 | DHCPv6 destination address check | Hans Dedecker | |
As described in RFC3315 §15 any solicit, confirm, rebind or information request message is discarded if the destination address is unicast Likewise any request (§18.2.1), renew (§18.2.3), release (§18.2.6) or decline (§18.2.7) message is discarded and the server replies with the status code use multicast. | |||
2014-07-01 | DHCPv4: send DHCPNAK if requested addr != leased addr | Steven Barth | |
2014-06-30 | leasefile: do not output expired dhcpv6 leases | Nikolay Martynov | |
Sometimes ip that is assigned to a host changes, old ip is still kept aroung as 'expired'. This expired ip gets dumped into leasefile and is read by dnsmasq. The result is that hotsname is resolved into expired ip and that confuses clients. This patch prevents expired leases from being written into leasefile. | |||
2014-06-30 | Fixes compile error with musl | Steven Barth | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-18 | Fix DHCPv4 static leases (thanks arnd) | Steven Barth | |
2014-06-17 | use leaetime as base for T1 and T2 upper bound | Steven Barth | |
2014-06-17 | backup for notonlink | Steven Barth | |
2014-06-17 | Make hostid more convenient | Steven Barth | |
2014-06-17 | dhcpv6: send NotOnLink status on global level | Steven Barth | |
2014-06-16 | add more consistency to host file writing | Steven Barth | |
2014-06-16 | dhcpv4: update hostfile more often | Steven Barth | |
2014-06-16 | Fix option id for hostnames | Steven Barth | |
2014-06-16 | config: accept domains with trailing . | Steven Barth | |
2014-06-12 | dhcpv4: use search domain instead of domain option | Steven Barth | |
2014-06-10 | Fix DHCP settings for /28 | Steven Barth | |
2014-06-09 | Fix DHCPv6 relay reply message in case raw DHCPv6 attributes are present | Hans Dedecker | |
Use enum to index iov struct | |||
2014-06-07 | Add default DHCPv4 range for prefixes down to /28 | Steven Barth | |
2014-05-30 | Make filtering customizable | Steven Barth | |
2014-05-29 | Move dhcpv6 raw attributes to correct place | Steven Barth | |
2014-05-25 | Add support for raw DHCPv6 attributes | Steven Barth | |
2014-04-23 | Add status code ok option in reply to a decline message | Hans Dedecker | |
RFC3315 Section 18.2.7 states a status code OK needs to be returned by the server : After all the addresses have been processed, the server generates a Reply message and includes a Status Code option with the value Success, a Server Identifier option with the server's DUID, and a Client Identifier option with the client's DUID. | |||
2014-04-23 | Don't return a DHCPv6 reply in response to a confirm without address(es) | Hans Dedecker | |
RFC3315 Section 18.2.2 states no reply must returned by the server in case no address(es) are present : If the server is unable to perform this test (for example, the server does not have information about prefixes on the link to which the client is connected), or there were no addresses in any of the IAs sent by the client, the server MUST NOT send a reply to the client. | |||
2014-04-09 | config: use correct defaults if interface is not in UCI | Steven Barth | |
2014-04-06 | odhcpd: managed PD wait for 250ms initial period | Steven Barth | |
2014-04-03 | Make clang happy | Steven Barth | |
2014-04-01 | Keep managed PD for at least 150 seconds | Steven Barth | |
2014-04-01 | Wait at least 15 seconds for managed PD to be acknowledged | Steven Barth | |
2014-04-01 | don't kill of managed PD too early | Steven Barth | |
2014-04-01 | Complete managed PD/CER-ID support | Steven Barth | |
2014-03-24 | Managed PD: initial support | Steven Barth | |