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
Steven Barth
0a0dec1c4a
odhcpd: fix musl build, change default DHCPv6 behavior
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45147
2015-03-30 08:49:47 +00:00
Steven Barth
8dc388f769
odhcpd: improvements for DHCPv4 and compile fixes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44619
2015-03-06 14:41:07 +00:00
Steven Barth
4e26b81c48
odhcpd: disable flash-renumbering hack for non-64 prefixes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43202
2014-11-06 13:37:50 +00:00
John Crispin
74a3a77bcd
license info - revert r43155
...
turns out that r43155 adds duplicate info.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43167
2014-11-03 09:56:44 +00:00
John Crispin
c10d97484a
Add more license tags with SPDX identifiers
...
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.
I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.
However, I can not garantee that I always picked the correct information
and/or did not miss license information.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 43155
2014-11-03 08:01:08 +00:00
Steven Barth
bec9d38fa4
Add a few SPDX tags
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43151
2014-11-02 12:20:54 +00:00
Steven Barth
6d3fd947e4
odhcpd: fix regression in dhcpv6 t1 and t2 calculation
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42951
2014-10-18 15:47:31 +00:00
Steven Barth
f71f3afd20
odhcpd: multiple fixes
...
* Rewrite ndp proxy using kernel proxying
* Aid flash-renumbering in hybrid DHCPv6-mode
* Unicast RAs to RS senders
* Add support for router address
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42944
2014-10-17 11:18:52 +00:00
Steven Barth
71960baa7d
odhcpd: fix segfault when parsing domain options in UCI
...
SVN-Revision: 42663
2014-09-25 11:53:12 +00:00
Steven Barth
befad7432b
odhcpd: fix static lease behavior with dhcpv4
...
SVN-Revision: 42270
2014-08-24 08:12:57 +00:00
Steven Barth
fe3d4f2176
odhcpd: various DHCPv4 and DHCPv6 fixes
...
SVN-Revision: 42217
2014-08-19 05:58:51 +00:00
Steven Barth
a8a07e5156
odhcpd: improve DHCPv6-PD detection
...
SVN-Revision: 42160
2014-08-13 14:57:07 +00:00
Steven Barth
eba984b94b
odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42153
2014-08-12 13:30:04 +00:00
Steven Barth
c1d698fce4
odhcpd: avoid logspam in certain corner cases
...
SVN-Revision: 42067
2014-08-08 08:45:33 +00:00
Steven Barth
74941a0d25
odhcpd: write host-entries for all leased IPv6 addresses
...
SVN-Revision: 42065
2014-08-08 05:30:59 +00:00
Steven Barth
28007326d4
odhcpd: update hostfile more often
...
SVN-Revision: 42042
2014-08-07 18:07:37 +00:00
Steven Barth
4659a5f920
odhcpd: correct incorrect commit-id in last commit
...
SVN-Revision: 42026
2014-08-07 05:50:44 +00:00
Steven Barth
7dbe0cb7b1
odhcpd: skip MSRs in RAs for prefixes with same size as DP
...
SVN-Revision: 42024
2014-08-07 05:34:02 +00:00
Steven Barth
22419ae4cb
odhcpd: don't lose downstream routes for managed PD
...
SVN-Revision: 41816
2014-07-23 21:14:56 +00:00
Steven Barth
b4a3863875
odhcpd: revert NDP relay rewrite (performance issue still fixed)
...
SVN-Revision: 41808
2014-07-22 21:52:20 +00:00
Steven Barth
b864faa47c
odhcpd: fix typo in ubus integration (thanks Markus Stenberg)
...
SVN-Revision: 41796
2014-07-21 21:57:15 +00:00
Steven Barth
c05d6ba1ff
odhcpd: rewrite NDP proxy feature
...
SVN-Revision: 41703
2014-07-17 19:11:17 +00:00
Steven Barth
7264389699
odhcpd: disable packet socket if unneeded to preserve performance
...
SVN-Revision: 41644
2014-07-14 13:39:03 +00:00
Steven Barth
d5340f6092
odhcpd: some minor DHCP/DHCPv6 fixes
...
SVN-Revision: 41432
2014-07-01 08:15:28 +00:00
Steven Barth
3c791c31bf
odhcpd: fix build failure with musl
...
SVN-Revision: 41409
2014-06-30 07:56:33 +00:00
Steven Barth
bff5e3822c
odhcpd: improve static DHCPv4 leases (thanks arnd)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41260
2014-06-18 12:10:10 +00:00
Steven Barth
c8b4058bf3
odhcpd: also honor leasetime for dhcpv6
...
SVN-Revision: 41226
2014-06-17 07:59:15 +00:00
Steven Barth
19f89dfd2c
odhcpd: Improve NotOnLink-behavior and make hostid more convient to configure
...
SVN-Revision: 41225
2014-06-17 07:44:24 +00:00
Steven Barth
d11426b32b
odhcpd: add more consistent hostname-writing
...
SVN-Revision: 41211
2014-06-16 16:45:05 +00:00
Steven Barth
bea1a153ed
odhcpd: update hostfile more often
...
SVN-Revision: 41197
2014-06-16 09:09:13 +00:00
Steven Barth
cd271413aa
odhcpd: fix dhcpv4 hostname attribute handling
...
SVN-Revision: 41196
2014-06-16 08:33:49 +00:00
Steven Barth
8a5b65195d
odhcpd: accept FQDN as search domain
...
SVN-Revision: 41194
2014-06-15 22:49:58 +00:00
Steven Barth
fa2df0e8c7
odhcpd: use search domain instead of domain attribute
...
SVN-Revision: 41152
2014-06-12 09:22:07 +00:00
Steven Barth
b482d8ff64
odhcpd: various regression fixes (thanks Hans Dedecker)
...
SVN-Revision: 41079
2014-06-10 08:47:15 +00:00
Steven Barth
7ec499eca5
odhcpd: improve DHCPv4 range defaults
...
SVN-Revision: 41038
2014-06-07 10:35:34 +00:00
Steven Barth
7c0d5b99c4
odhcpd: add configuration for userclass-filter
...
SVN-Revision: 40900
2014-06-02 07:08:16 +00:00
Steven Barth
57999c4807
odhcpd: Fix a segfault in DHCPv6 option handling
...
SVN-Revision: 40881
2014-05-29 21:01:42 +00:00
Steven Barth
05090cb270
odhcpd: add support for configuring raw dhcpv6 options
...
SVN-Revision: 40862
2014-05-26 17:08:57 +00:00
Steven Barth
e1bd4e9aa4
odhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker)
...
SVN-Revision: 40567
2014-04-24 09:36:01 +00:00
Steven Barth
9efa78ebeb
odhcpd: use correct defaults for interfaces not in UCI
...
SVN-Revision: 40435
2014-04-09 12:29:43 +00:00
Steven Barth
057900bfd1
odhcpd: improve managed PD
...
SVN-Revision: 40395
2014-04-06 14:34:45 +00:00
Steven Barth
e544c1607a
odhcpd: add preliminary support for managed DHCPv6-PD and CER-ID
...
SVN-Revision: 40355
2014-04-01 18:52:09 +00:00
Steven Barth
f4ace532c8
odhcpd: fix more segfaults + ubus interaction
...
SVN-Revision: 39960
2014-03-20 12:25:17 +00:00
Steven Barth
b5cc199ec9
odhcpd: fix possible segfaults
...
SVN-Revision: 39958
2014-03-20 09:39:00 +00:00
Steven Barth
cd695565fb
odhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-Reconfigure
...
SVN-Revision: 39868
2014-03-11 08:21:58 +00:00
Steven Barth
8aa91b167f
odhcpd: avoid the unspecificed address being advertised as DNS
...
SVN-Revision: 39740
2014-02-24 13:37:11 +00:00
Steven Barth
e6044ef1c0
odhcpd: fix DNS-server and MSR-entries in RA
...
Similarly to the previously broken address pools, DNS-servers and some
MSRs could be advertised incorrectly as well. This is now fixed.
SVN-Revision: 39739
2014-02-24 13:33:45 +00:00
Steven Barth
980626aa32
odhcpd: fix wrong address pool being advertised
...
SVN-Revision: 39651
2014-02-21 18:02:25 +00:00
Steven Barth
2f2a73f862
odhcpd: Fix RA interval + add support for prefixes > 64 and < 97
...
SVN-Revision: 39604
2014-02-17 20:30:29 +00:00
Steven Barth
ef7bc81961
odhcpd: fix homenet dhcpv6 filter
...
SVN-Revision: 39479
2014-02-05 15:42:02 +00:00
Steven Barth
8fa06b7e3c
odhcpd: fix internal router DHCPv4 filter
...
SVN-Revision: 39441
2014-02-01 13:33:05 +00:00
Steven Barth
3787078b26
odhcpd: fix certain config values being overwritten
...
Thanks to Hans Dedecker for the fix.
SVN-Revision: 39371
2014-01-23 11:02:18 +00:00
Steven Barth
471095f869
odhcpd: Fix a memory corruption when static leases are used
...
SVN-Revision: 39319
2014-01-18 10:11:03 +00:00
Steven Barth
24ba434185
odhcpd: be even less verbose and don't start unnecessary relays
...
SVN-Revision: 39315
2014-01-17 19:05:54 +00:00
Steven Barth
2c9d868900
odhcpd: fix logspam
...
SVN-Revision: 39314
2014-01-17 15:53:43 +00:00
Steven Barth
17b0d874eb
odhcpd: use hybrid management mode by default
...
SVN-Revision: 39313
2014-01-17 15:48:02 +00:00
Steven Barth
684537f3e7
odhcpd: several bugfixes and improved integration
...
SVN-Revision: 39308
2014-01-17 13:59:51 +00:00
Steven Barth
4bdd40c08b
odhcpd/6c: Add config menu for prefix class ext.
...
SVN-Revision: 38996
2013-12-05 12:17:09 +00:00
Steven Barth
fb6ebac74a
odhcpd: Fix ubus integration
...
SVN-Revision: 38994
2013-12-04 13:14:27 +00:00
Steven Barth
a54f104701
odhcpd: fix cleaning of configuration on reload
...
SVN-Revision: 38503
2013-10-23 09:30:28 +00:00
Steven Barth
579e2df8c5
odhcpd: various bugfixes
...
SVN-Revision: 38454
2013-10-18 13:39:48 +00:00
Steven Barth
76dfe21a27
odhcpd: add new experimental dhcp-server
...
SVN-Revision: 38428
2013-10-16 09:03:55 +00:00