Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-12 | config: Fix RA interface config being overwritten | Hans Dedecker | |
In case multiple dhcp uci sections are configured and one section contains RA config while the other section does not; the RA interface config of the first section will be overwritten by the second section. Fix this by setting the default values for ra_management and ndp_proxy_routing uci parameters when the interface is created and by removing the overwrite check Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2016-12-01 | dhcpv6-ia : Fix static DHCPv6 assignments becoming non static | Hans Dedecker | |
The valid_until parameter which is set to 0 for static DHCPv6 assignments was overwritten depending on the received DHCPv6 message which turned the assignment into having a finite lifetime and thus not static anymore. Fix this by checking if the valid_until parameter holds infinite lifetime before updating it. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2016-12-01 | dhcpv6-ia: Fix assignment of static DHCPv6 leases | Hans Dedecker | |
Fix assignment of static DHCPv6 leases which was broken by commit 6c3bc0141dacc88992583d6f2cdc8a360df7422d. At the same time fix lifetime check of existing assignments having a finite lifetime Fixes FS#309 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2016-12-01 | odhcpd: Display infinite valid lifetime as -1 | Hans Dedecker | |
Display infinite valid lifetime as -1 both in ubus and statefile Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2016-11-21 | Respect interface "ignore" settings as documented. | Karl Palsson | |
The "ignore" option is correctly loaded. Actually observe it as documented. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||
2016-11-21 | enable loglevel setting via command line | Karl Palsson | |
Currently the loglevel is hardcoded to LOG_WARNING, even though there is debug log messages. Allow setting the loglevel via cli option. Include basic help text because we're adding command line options. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||
2016-11-21 | dhcpv4: Adding DHCP client leasetime request support | Hans Dedecker | |
Add support for DHCPv4 clients proposing a leasetime; proposed leasetime will be accepted if it does not exceed either the pool or configured lease leastime. Further rework the duplicated leasetime logic which was in place. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2016-11-21 | dhcpv6-ia: Display infinite lifetime as INT32_MAX in state file | Hans Dedecker | |
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2016-11-21 | ubus: Fix displayed valid paramater for both DHCPv4 and DHCPv6 lease | Hans Dedecker | |
Fix ubus valid parameter being displayed as a negative number; also display infinite lifetime as INT32_MAX Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2016-11-21 | dhcpv4: Keep DHCPv4 assignment lifetime value in sync with assigned leasetime | Hans Dedecker | |
Keep the valid_until assignment parameter in sync with the leasetime assigned to the DHCP client when handling DHCP request message. This guarantees the contents of the ubus dhcp ipv4leases valid parameter is in sync with the client leasetime Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2016-11-21 | config: Support infinite as DHCP pool leasetime value | Hans 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-09-27 | odhcpd: remove superfluous log output. | Karl Palsson | |
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> | |||
2016-05-19 | Add per-host leasetime support | Steven Barth | |
Patch by Daniel Dickinson Signed-off-by: Steven Barth <steven@midlink.org> | |||
2015-12-15 | config: blobmsg_check_attr expects bool type as last argument | Hans Dedecker | |
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2015-11-27 | config: Prioritize ifname resolving via ubus over ifname/networkid attributes | Hans Dedecker | |
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2015-11-27 | config: Close interface when ifindex cannot be resolved | Hans Dedecker | |
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2015-11-17 | fall through in error case to clear congestion | Steven Barth | |
2015-11-16 | Handle netlink ENOBUFS events | Steven Barth | |
2015-10-20 | Don't overflow router lifetime | Will Mortensen | |
When a prefix lifetime was greater than UINT16_MAX, we would advertise a shorter router lifetime (even potentially 0). Saturate instead. | |||
2015-10-20 | Correctly byteswap DNS lifetimes in RAs | Will Mortensen | |
2015-09-07 | dhcpv6: use correct length when copying duid | Steven Barth | |
2015-09-07 | router: don't announce as default router if we aren't | Steven Barth | |
2015-09-07 | router: reduce dns lifetime to 10x maximum interval | Steven Barth | |
2015-09-07 | dhcpv6: fix mac-handling | Steven Barth | |
2015-09-01 | Fixup RAs/DHCPv6 announcing incorrect addresses | Steven Barth | |
2015-08-20 | router/dhcpv6: use link-local addresses for DNS | Steven Barth | |
2015-08-20 | router: improve deprecation handling | Steven Barth | |
2015-08-20 | Revert "RFC: dhcpv4 support openwrt alias ip addr" | Steven Barth | |
2015-08-20 | Merge pull request #54 from dedeckeh/bugfixes | Steven Barth | |
Fixes compile issues and infinite lifetimes | |||
2015-08-20 | Merge pull request #46 from stargieg/master | Steven Barth | |
RFC: dhcpv4 support openwrt alias ip addr | |||
2015-08-13 | router: Fix infinite lifetimes | Hans Dedecker | |
2015-08-13 | router: Fix compile issues | Hans Dedecker | |
Fix compile issue due to comparison between signed and unsigned integers | |||
2015-07-27 | ra/dhcpv6: unify address change handling | Steven Barth | |
2015-07-24 | Fix RA lifetimes | Steven Barth | |
2015-07-17 | dhcpv6: fix socket generation on relay master | Steven Barth | |
2015-07-17 | dhcpv6: send relay-forward messages using correct socket | Steven Barth | |
2015-07-15 | router: unify RA router and DNS lifetime | Steven Barth | |
2015-07-15 | router: fixup RA lifetime calculation | Steven Barth | |
2015-07-14 | router: fix invalid router lifetime | Steven Barth | |
2015-07-14 | router: fix logic inversion | Steven Barth | |
2015-07-14 | ndp: reintroduce address replay | Steven Barth | |
2015-07-14 | Remove unsolicited unicast RAs, adjust intervals | Steven Barth | |
2015-07-14 | ndp: fixup relay | Steven Barth | |
2015-07-14 | ndp: remove bindtodevice workaround | Steven Barth | |
2015-07-13 | odhcpd: remove old workaround | Steven Barth | |
2015-07-13 | ndp: fixup route replication | Steven Barth | |
2015-07-13 | router: only send RAs to neighbors if unsolicited | Steven Barth | |
2015-07-13 | router: only send direct RAs to link-local addresses | Steven Barth | |
2015-07-07 | main: fix missing parameter while iterating neighbors | Steven Barth | |
2015-07-07 | router: also send RAs to every known neighbor | Steven Barth | |