summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* odhcpd: remove superfluous log output.HEADmasterKarl Palsson2016-09-271-1/+0
| | | | | | | Drop pointless syslog. The single line just doubles the amount of lines logged to syslog without adding any value. Signed-off-by: Karl Palsson <karlp@etactica.com>
* Add per-host leasetime supportSteven Barth2016-05-196-21/+75
| | | | | | Patch by Daniel Dickinson Signed-off-by: Steven Barth <steven@midlink.org>
* Merge pull request #68 from dedeckeh/bugfixesSteven Barth2016-01-312-5/+5
|\ | | | | config: blobmsg_check_attr expects bool type as last argument
| * config: blobmsg_check_attr expects bool type as last argumentHans Dedecker2015-12-152-5/+5
|/ | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* Merge pull request #67 from dedeckeh/bugfixesSteven Barth2015-11-292-7/+10
|\ | | | | Fix interface ifname overwrite in case UCI dhcp section contains ifname or networkid parameter
| * config: Prioritize ifname resolving via ubus over ifname/networkid attributesHans Dedecker2015-11-271-5/+5
| | | | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
| * config: Close interface when ifindex cannot be resolvedHans Dedecker2015-11-272-2/+5
|/ | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* fall through in error case to clear congestionSteven Barth2015-11-171-1/+0
|
* Handle netlink ENOBUFS eventsSteven Barth2015-11-164-4/+37
|
* Merge pull request #63 from willmo/router-lifetimeSteven Barth2015-10-211-2/+5
|\ | | | | Clamp router lifetime per RFC 4861
| * Don't overflow router lifetimeWill Mortensen2015-10-201-2/+5
|/ | | | | When a prefix lifetime was greater than UINT16_MAX, we would advertise a shorter router lifetime (even potentially 0). Saturate instead.
* Merge pull request #62 from willmo/dns-lifetimeSteven Barth2015-10-211-1/+1
|\ | | | | Correctly byteswap DNS lifetimes in RAs
| * Correctly byteswap DNS lifetimes in RAsWill Mortensen2015-10-201-1/+1
|/
* dhcpv6: use correct length when copying duidSteven Barth2015-09-071-1/+1
|
* router: don't announce as default router if we aren'tSteven Barth2015-09-071-1/+2
|
* router: reduce dns lifetime to 10x maximum intervalSteven Barth2015-09-071-5/+1
|
* dhcpv6: fix mac-handlingSteven Barth2015-09-071-2/+3
|
* Fixup RAs/DHCPv6 announcing incorrect addressesSteven Barth2015-09-012-3/+3
|
* router/dhcpv6: use link-local addresses for DNSSteven Barth2015-08-204-32/+21
|
* router: improve deprecation handlingSteven Barth2015-08-202-1/+3
|
* Merge pull request #56 from sbyx/revert-46-masterSteven Barth2015-08-203-121/+23
|\ | | | | Revert "RFC: dhcpv4 support openwrt alias ip addr"
| * Revert "RFC: dhcpv4 support openwrt alias ip addr"revert-46-masterSteven Barth2015-08-203-121/+23
|/
* Merge pull request #54 from dedeckeh/bugfixesSteven Barth2015-08-202-16/+17
|\ | | | | Fixes compile issues and infinite lifetimes
| * router: Fix infinite lifetimesHans Dedecker2015-08-131-11/+12
| |
| * router: Fix compile issuesHans Dedecker2015-08-132-5/+5
| | | | | | | | Fix compile issue due to comparison between signed and unsigned integers
* | Merge pull request #46 from stargieg/masterSteven Barth2015-08-203-23/+121
|\ \ | |/ |/| RFC: dhcpv4 support openwrt alias ip addr
| * dhcpv4: remove unused addr_attrs structPatrick Grimm2015-06-221-11/+0
| | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: add ifdef ubus for dhcp4 ipPatrick Grimm2015-06-221-3/+19
| | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: add in_addr dhcpv4_mask and in_addr dhcpv4_addr to struct interfacePatrick Grimm2015-06-192-17/+19
| | | | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: fix unitialization of maskPatrick Grimm2015-06-181-5/+6
| | | | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: fix char ubus_get_address4 int ubus_get_mask4 functionPatrick Grimm2015-06-183-23/+32
| | | | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: add ubus_get_address4 ubus_get_mask4 functionPatrick Grimm2015-06-151-0/+2
| | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: return pointerPatrick Grimm2015-06-151-4/+4
| | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: use iface-namePatrick Grimm2015-06-151-4/+8
| | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: remove comment code linesPatrick Grimm2015-06-151-11/+0
| | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: use ubus for ipv4 dhcp range calculationPatrick Grimm2015-06-151-10/+14
| | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: add for_each ipv4-address array in ubus_get_address4 ubus_get_mask4 ↵Patrick Grimm2015-06-151-10/+39
| | | | | | | | | | function Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: add ubus_get_address4 ubus_get_mask4 functionPatrick Grimm2015-06-141-0/+51
| | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
| * dhcpv4: read ipv4-address from UBUS to ADDRESS4Patrick Grimm2015-06-141-0/+2
| | | | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
* | ra/dhcpv6: unify address change handlingSteven Barth2015-07-274-116/+130
| |
* | Fix RA lifetimesSteven Barth2015-07-241-12/+13
| |
* | dhcpv6: fix socket generation on relay masterSteven Barth2015-07-171-1/+1
| |
* | dhcpv6: send relay-forward messages using correct socketSteven Barth2015-07-171-1/+1
| |
* | router: unify RA router and DNS lifetimeSteven Barth2015-07-151-1/+1
| |
* | router: fixup RA lifetime calculationSteven Barth2015-07-152-4/+8
| |
* | router: fix invalid router lifetimeSteven Barth2015-07-141-1/+1
| |
* | router: fix logic inversionSteven Barth2015-07-141-1/+1
| |
* | ndp: reintroduce address replaySteven Barth2015-07-141-0/+16
| |
* | Remove unsolicited unicast RAs, adjust intervalsSteven Barth2015-07-146-104/+33
| |
* | ndp: fixup relaySteven Barth2015-07-144-87/+65
| |