Hans Dedecker
503e496366
odhcpd: update to version 2017-04-28 (FS#595)
...
9268ca6 ndp: don't trigger IPv6 ping when neighbor entry is invalid
2b3355f ndp: fix adding proxy neighbor entries
7dff5b4 ndp: fix wrong interface name in syslog message
a54afb5 dhcpv6-ia: Fix segfault when writing DHCPv4 leases in state file
c0e9dbf ubus: don't segfault when there're no leases
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-05-02 22:08:32 +02:00
Hans Dedecker
c266641acf
odhcpd: update to version 2017-04-21
...
570069d ubus: rework dumping IPv6 and IPv4 leases
4e579c4 dhcpv6-ia: simplify logic to write statefile and dhcpv6 logging
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-05-02 22:08:21 +02:00
Hans Dedecker
c2999ef592
odhcpd: update to version 2017-03-29 (FS#635)
...
3d9f406 rework IPv6 dns address selection (FS#635)
bc6c3ac ndp: keep an exact copy of IPv6 interface addresses
6eb1e01 ndp: code cleanup
eea7d03 rework IPv6 address dump logic
24d21c7 ndp: add syslog debug tracing
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-04-13 13:55:57 +02:00
Florian Fainelli
a532aaa2aa
odhcpd: update to version 2017-02-28
...
Brings in the following change:
9eac2a896341 dhcpv6-ia: Check lockf return value
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-13 13:55:57 +02:00
Hans Dedecker
425c6d0462
odhcpd: update to version 2017-02-21
...
1b630f8 router: don't announce prefixes with valid lifetime equal to 0
ba0cac0 router: fix arithmetic exception fault
3495f17 router: allow RA prefix lifetime being set to leasetime value (FS#397)
e437ce9 treewide: simplify dhcp leasetime checking
942fb33 router: support ra_mininterval and ra_lifetime uci parameters (FS#397)
f913337 router.h: fix alignment style
4dc7edb Revert "odhcpd.h: fix alignment style"
62ea54f odhcpd.h: fix alignment style
a898ee5 config: make loglevel configurable via uci (FS#481)
51c756c odhcpd: display correct default log level in usage text
68ee0b5 treewide: define and use macro IN6_IS_ADDR_ULA
fa57225 ndp: deregister netlink event socket for non recoverable errors
ac70d28 odhcpd: fix white space errors
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-04-13 13:55:57 +02:00
Hauke Mehrtens
298c40fd34
odhcpd: fix sha256 sum
...
The sha256sum added in commit b8567cb44e
("odhcpd: update to git HEAD
version (FS#396)") does not match the sha256sum of the file on the mirror or
when I clone it. Update the sha256 sum to the correct value.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
2017-03-30 22:00:48 +02:00
Hans Dedecker
b8567cb44e
odhcpd: update to git HEAD version (FS#396)
...
8df4253 ndp: harden netlink event socket error handling
b02f3e6 ndp: close proc file descriptor also during error handling
8a615ad npd: rework IPv6 relay logic (FS#396)
0129f79 config: restore interface defaults when cleaning interface
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-02-09 21:42:48 +01:00
Hans Dedecker
03ff2d7359
odhcpd: update to git HEAD version (FS#388)
...
3317c86 dhcpv6-ia: apply lease delete based on assignment bound state
df50429 odhcpd: properly handle netlink messages (FS#388)
83d72cf odhcpd: fix coding style
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-02-09 21:42:00 +01:00
Hans Dedecker
02d511818f
odhcpd: use LEDE_GIT in package source url
...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-02-01 15:53:21 +01:00
Hans Dedecker
036cf93edf
odhcpd: update to git HEAD version
...
c4f9ace odhcpd: decrease default log level to LOG_INFO
a6eadd7 odhcpd: rework IPv6 interface address dump
44965f1 odhcpd: extra syslog tracing
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-02-01 15:53:21 +01:00
Hans Dedecker
cd99f3c744
odhcpd: update to git HEAD version
...
e447ff9 router: fix compile issue on 64 bit systems
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-02-01 15:53:20 +01:00
Hans Dedecker
ef170bff32
odhcpd: update to git HEAD version
...
237f1f4 router: convert syslog lifetime traces into LOG_INFO prio
da660c7 treewide: rework prio of syslog messages
0485580 ndp: code cleanup
c5040fe router: add syslog debug tracing for trouble shooting
df023ad treewide: use RELAYD_MAX_ADDRS as address array size
c8ac572 ndp: don't scan netlink attributes in case of netlink route
event
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-02-01 15:53:20 +01:00
Hans Dedecker
5303d4bedb
odhcpd: take over maintainership
...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Acked-by: Jo-Philipp Wich <jo@mein.io>
2017-01-12 12:14:46 +01:00
Hans Dedecker
621f8cbfae
odhcpd: bump to git HEAD
...
ef3c563 dhcpv6-ia: filter out prefixes having invalid length
16cd87e dhcpv6-ia: fix dereference after freeing assignment
d6b0c99 dhcpv6-ia: log only IPv6 addresses which are effectively
assigned to a DHCPv6 client
08a9367 config: respect ignore uci option
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-01-07 21:08:24 +01:00
Hans Dedecker
1175a5b153
odhcpd: bump to git HEAD version
...
091d8a9 dhcpv6-ia: fix static assignment check
11ce6b5 dhcpv6-ia: coding style fixes
561890e dhcpv6-ia: update valid_until only for non static DHCPv6 leases
0b45fce dhcpv4: coding style fixes
95b76c2 README: Add host leasetime uci parameter
541219e dhcpv6-ia: fix invalid IPv6/hostname entries in statefile
13937ab dhcpv6-ia: fix delete logic of an assignment in reconf_timer
60c3969 dhcpv6-ia : code style fixes
bf4ebc0 config: use free_lease to delete a lease
c24782a config: coding style fixes
0572d1a config: Create statefile dir
ec833f4 dhcpv6-ia: use free_dhcpv6_assignment where needed
1d55edb dhcpv6-ia: make free_dhcpv6_assignment static
f01e538 dhcpv4: make dhcpv4_msg_to_string static
700f5ab dhcpv4: fix DHCPv4 hostname handling
4c89614 Limit lifetime of non-static leases in case of release and
decline
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-01-03 22:25:13 +01:00
Stijn Tintel
1b5640be33
odhcpd: bump to git HEAD
...
8dc2a59 Revert "Respect interface "ignore" settings as documented."
93ab25b router: skip parse_routes when ra_default > 1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2016-12-27 10:50:29 +01:00
Felix Fietkau
c7c1cf5618
treewide: clean up and unify PKG_VERSION for git based downloads
...
Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-22 16:42:21 +01:00
Hans Dedecker
6f77b8d510
odhcpd: Bump to git HEAD version (various fixes)
...
e055530 Don't print non bound assignments in the state file
3af23ad config: Fix RA interface config being overwritten
41b5268 dhcpv6-ia : Fix static DHCPv6 assignments becoming non static
be6c515 dhcpv6-ia: Fix assignment of static DHCPv6 leases
374dc3f cmake: Find libubox/uloop.h
01c919c odhcpd: Display infinite valid lifetime as -1
2016-12-17 22:23:49 +01:00
Felix Fietkau
720b99215d
treewide: clean up download hashes
...
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-16 22:39:22 +01:00
Hauke Mehrtens
fb74550bdf
odhcpd: update sha256sum
...
The sha256sum was not updated in the last commit.
Fixes: a7c231027
[odhcpd: Fix dnsmasq re-reading hostfile]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-12-14 21:43:58 +01:00
Hans Dedecker
a7c2310278
odhcpd: Fix dnsmasq re-reading hostfile
...
Depending on the dhcp uci config pidof dnsmasq can return
multiple pids. Fix re-reading of the hostfile by dnsmasq in
such case by sending SIGHUP signal to each of the returned
pids.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2016-12-13 23:32:57 +01:00
John Crispin
320d8fa3bc
odhcpd: update to latest git HEAD
...
Signed-off-by: John Crispin <john@phrozen.org>
2016-11-21 12:16:55 +01:00
John Crispin
41164ba2dc
odhcpd: update to latest git HEAD
...
Signed-off-by: John Crispin <john@phrozen.org>
2016-11-21 12:04:23 +01:00
Hans Dedecker
e58f3f515f
odhcpd: Add reload support
...
odhcpd daemon has hitless config reload support by means of the
sighup signal; add reload_service function which uses sighup
signal to reload the config
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2016-11-14 20:35:13 +01:00
Hans Dedecker
1341b88732
odhcpd: Upstep to git HEAD version
...
Adds per-host leasetime support
Various bugfixes :
-Prioritize ifname resolving via ubus
-Free interface if ifindex cannot be resolved
-...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [update mirror sha256]
2016-10-13 17:05:21 +02:00
Daniel Engberg
9edfe7dd13
source: Switch to xz for packages and tools where possible
...
* Change git packages to xz
* Update mirror checksums in packages where they are used
* Change a few source tarballs to xz if available upstream
* Remove unused lines in packages we're touching, requested by jow- and blogic
* We're relying more on xz-utils so add official mirror as primary source, master site as secondary.
* Add SHA256 checksums to multiple git tarball packages
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-06 12:16:56 +02:00
Hauke Mehrtens
3f38356893
packages: prefer http over git for git protocol
...
In company networks everything except the http and https protocol is
often causes problems, because the network administrators try to block
everything else. To make it easier to use LEDE in company networks use
the https/http protocol for git access when possible.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-06-22 19:32:06 +02:00
Steven Barth
0c450f1f47
odhcpd: correctly handle netlink congestion case
...
Thanks to @ktgeek and @willmo for diagnosing
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 47514
2015-11-19 11:49:21 +00:00
Steven Barth
8ac42ac28b
odhcpd: fix parsing of host entries without duid
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46803
2015-09-07 13:31:36 +00:00
Steven Barth
60e786c4cd
odhcpd: various bugfixes
...
* ra: don't announce as default router if we aren't (regression)
* ra: reduce maximum announced dns lifetimes due to buggy clients
* dhcpv6: fix mac-based lease-matching
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46802
2015-09-07 09:49:35 +00:00
Steven Barth
750a344a55
odhcpd: fix incorrect address assignment for DHCPv6
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46761
2015-09-01 13:31:00 +00:00
Steven Barth
c154130ebd
odhcpd: various RA improvements
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46694
2015-08-20 12:43:45 +00:00
Steven Barth
fefb6758f9
odhcpd: fix RA lifetimes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46479
2015-07-24 13:51:43 +00:00
Steven Barth
56e7ba4a1e
odhcpd: fix last commit
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46393
2015-07-17 11:09:13 +00:00
Steven Barth
9a977c2b11
odhcpd: fix dhcpv6 relay forwarding
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46392
2015-07-17 08:47:48 +00:00
Steven Barth
f08895d0e9
odhcpd: also unify router and DNS lifetimes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46376
2015-07-15 07:38:54 +00:00
Steven Barth
d8e082c593
odhcpd: fix RA lifetime calculation
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46375
2015-07-15 06:57:43 +00:00
Steven Barth
a5641a6444
odhcpd: use 65535s as default lifetime and make interval configurable
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46370
2015-07-14 20:10:46 +00:00
Steven Barth
63ef3540d1
odhcpd: unsolicited unicast RAs + fix NDP-relay
...
odhcpd now sends unsolicited RAs also via unicast to known link-local
neighbors. This is an attempt to work-around common smartphone issues
https://code.google.com/p/android/issues/detail?id=32662
Also NDP-relay should now work more reliably now
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46357
2015-07-14 09:12:29 +00:00
Steven Barth
8304c0c04d
odhcpd: fix DHCPv6 downstream PD
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45707
2015-05-21 15:07:54 +00:00
Steven Barth
a11d2f1cb2
odhcpd: ignore /64 on interface when doing PD
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45679
2015-05-13 12:31:06 +00:00
Steven Barth
e9999a7168
odhcpd: remove invalid call to free()
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45675
2015-05-11 19:49:03 +00:00
Steven Barth
4fb99ec22f
odhcpd: Remove prefix class config option as not supported anymore by odhcpd
...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 45586
2015-04-28 14:58:54 +00:00
Steven Barth
c6cd1f1632
odhcpd: minor fixes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45539
2015-04-21 07:45:49 +00:00
Steven Barth
6fad3d5524
odhcpd: fix accidental logic inversion
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45435
2015-04-14 14:21:52 +00:00
Steven Barth
7e5bf40cac
odhcpd: avoid illegal memory access in some corner cases
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45428
2015-04-14 08:31:53 +00:00
Steven Barth
f9b0423836
odhcpd: send current hop-limit by default in RAs
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45359
2015-04-10 11:52:42 +00:00
Steven Barth
6f5bbfa181
odhcpd: fix infinite lifetime handling in dhcpv6
...
thanks to Arjen de Korte
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45279
2015-04-06 10:50:54 +00:00
Steven Barth
78552c24ba
odhcpd: compile fixes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45192
2015-03-31 17:30:56 +00:00
Steven Barth
24be294d8e
odhcpd: fix default dhcpv6 behavior for non-/64
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45148
2015-03-30 08:53:22 +00:00