summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
AgeCommit message (Collapse)Author
2016-11-21config: Support infinite as DHCP pool leasetime valueHans Dedecker
Add support for infinite leasetime value; this can be done by specifying "infinite" as leasetime value which is similar to dnsmasq infinite leasetime support. Specifying "infinite" as leasetime is valid for both the host and dhcp uci sections. A DHCPv4/DHCPv6 assignment is now considered infinite if valid_unil holds the value 0. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2016-05-19Add per-host leasetime supportSteven Barth
Patch by Daniel Dickinson Signed-off-by: Steven Barth <steven@midlink.org>
2015-11-16Handle netlink ENOBUFS eventsSteven Barth
2015-08-20router/dhcpv6: use link-local addresses for DNSSteven Barth
2015-08-20Revert "RFC: dhcpv4 support openwrt alias ip addr"Steven Barth
2015-08-20Merge pull request #46 from stargieg/masterSteven Barth
RFC: dhcpv4 support openwrt alias ip addr
2015-07-14Remove unsolicited unicast RAs, adjust intervalsSteven Barth
2015-07-14ndp: fixup relaySteven Barth
2015-07-07router: also send RAs to every known neighborSteven Barth
2015-06-19dhcpv4: add in_addr dhcpv4_mask and in_addr dhcpv4_addr to struct interfacePatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-18dhcpv4: fix char ubus_get_address4 int ubus_get_mask4 functionPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-15dhcpv4: add ubus_get_address4 ubus_get_mask4 functionPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-04-10ra: always send current hop limitSteven Barth
2015-03-30properly handle return codesJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-03-30Readd missing ubus function definitionsSteven Barth
2015-03-29Remove prefix coloring support, refine hybrid management modeSteven Barth
2014-10-30Fix IPv6 DNS server adddress selectionHans Dedecker
Fix selection of IPv6 DNS address in DHCPv6 and RA overwrite as an address could be selected with preferred lifetime zero while IPv6 addresses are in use with non zero preferred lifetimes. Fix tries to pick the IPv6 address with the longest preferred lifetime now. Fixes also the issue an IPv6 address with preferred lifetime zero could be returned in DHCPv6 DNS server option while an IPv6 address with non zero preferred lifetime is returned as DNS recursive RA option for the same set of available IPv6 addresses.
2014-10-17ndp: more fixesSteven Barth
2014-10-16Begin rewrite of NDP-relaySteven Barth
2014-10-16router: add support for router addressSteven Barth
2014-08-12dhcpv4: implement router configuration optionChristian 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-07-22Revert "rewrite of NDP proxy" for nowSteven Barth
2014-07-16Initial rewrite of NDP proxySteven Barth
2014-07-01DHCPv6 destination address checkHans 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-05-30Make filtering customizableSteven Barth
2014-05-29Move dhcpv6 raw attributes to correct placeSteven Barth
2014-05-25Add support for raw DHCPv6 attributesSteven Barth
2014-04-01Complete managed PD/CER-ID supportSteven Barth
2014-03-24Managed PD: initial supportSteven Barth
2014-02-21Fix wrong address pool being advertisedSteven Barth
2014-02-17Add support for (managed) prefixes of length 65-96Steven Barth
2014-01-04Use 1 socket per interface for DHCPv6Steven Barth
2014-01-03Remove ula_compat featureSteven Barth
2013-12-03Fix prefix class logicSteven Barth
2013-12-02Initial prefix class supportSteven Barth
2013-10-23Fix cleanup of interfacesSteven Barth
2013-10-15Handle reload mechanismSteven Barth
2013-10-15Fix config retrieval from netifdSteven Barth
2013-10-15Fix ubus reload detectionSteven Barth
2013-10-14Various fixesSteven Barth
2013-10-14Fix upstream detectionSteven Barth
2013-10-14Initial commitSteven Barth