Richard Genoud
10cfc0ddb3
Fix length->netmask conversions to avoid undefined behaviour.
2014-09-17 21:17:39 +01:00
Simon Kelley
47a9516980
Use event system to re-send query on new route. Tidies module boundaries.
2014-07-08 22:22:02 +01:00
Simon Kelley
a0358e5ddb
Handle async notification of address changes using the event system.
2014-06-07 13:38:48 +01:00
Jonas Gorski
57ab36e77d
Tweak definition of a permanent IPv6 address on Linux.
...
The linux kernel treats all addresses with a limited lifetime as being
non permanent, but when taking over the prefix livetimes from
upstream assigned prefixes through DHCP, addresses will always have a limited
lifetime.
Still reject temporary addresses, as they indicate autoconfigured
interfaces.
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
Signed-off-by: Jonas Gorski<jogo@openwrt.org >
2014-01-22 11:34:16 +00:00
Simon Kelley
c47e3ba446
Update copyright for 2014.
2014-01-08 17:07:54 +00:00
Simon Kelley
1ee9be4c3f
Implement dynamic interface discovery on *BSD
2013-12-09 16:50:19 +00:00
Vladislav Grishenko
408c368fa5
Remove unused variable warnings when omitting stuff at compile-time.
2013-09-24 16:18:49 +01:00
Simon Kelley
ff7eea27e7
Add --dhcp-relay config option.
2013-09-04 18:01:38 +01:00
Vladislav Grishenko
4568a6f842
IFACE_PERMANENT interface flag in enumeration.
2013-08-19 16:07:07 +01:00
Simon Kelley
115ac3e4d7
Generalise --interface-name to cope with IPv6 addresses.
2013-05-20 11:28:32 +01:00
Simon Kelley
3f2873d42c
Handle IPv4 interface-address labels in Linux.
2013-05-14 11:28:47 +01:00
Simon Kelley
61744359de
Change copyright messages to include 2013.
2013-01-31 14:34:40 +00:00
Simon Kelley
87d346f6a7
saner function name
2012-12-22 22:35:11 +00:00
Simon Kelley
f0dd7f807d
Fix new-address logic and ordering for first address on new interface.
2012-12-22 22:31:58 +00:00
Simon Kelley
bad7b875eb
add general flag param to iface_enumerate IPv6 callback
2012-12-20 22:00:39 +00:00
Simon Kelley
5d162f20a9
Rationalise join_multicast()
2012-12-20 14:55:46 +00:00
Simon Kelley
293fd0f700
Missed interface re-read path in netlink.c
2012-12-18 18:31:11 +00:00
Simon Kelley
8445f5d2e2
Fix initialisation order.
2012-12-18 18:31:11 +00:00
Simon Kelley
1f776932a1
First checkin of interface-address constructor mode for DHCPv6 and RA.
2012-12-18 18:31:11 +00:00
Simon Kelley
2f38141f43
Don't elide code needed for --bind-dynamic if compiled without IPv6.
2012-11-29 21:16:44 +00:00
Simon Kelley
dfb23b3f77
Don't report spurious netlink errors.
2012-09-18 21:44:47 +01:00
Simon Kelley
e17b4b3871
Fix build-failure with -DNO_DHCP6.
2012-06-28 21:44:30 +01:00
Simon Kelley
af576b56c2
Tidy up - no functional change.
2012-06-20 14:17:04 +01:00
Simon Kelley
54dd393f39
Add --bind-dynamic
2012-06-20 11:23:38 +01:00
Simon Kelley
353ae4d270
Check assumed SLAAC addresses by pinging them.
2012-03-19 20:07:51 +00:00
Simon Kelley
843c96b4b3
Make RA without DHCPv6 possible.
2012-02-27 17:42:38 +00:00
Simon Kelley
741c2952d4
Tidy up RA scheduling.
2012-02-25 13:09:18 +00:00
Simon Kelley
c5ad4e7998
Router Advertisement
2012-02-24 16:06:20 +00:00
Simon Kelley
e44ddcac63
Fix hang at startup when DHCPv6 enabled on a complex network
...
configuration - we have to read all the MAC addresses from netlink,
not bail when we find a suitable one.
Fix thinko in dhcp_update_configs - thanks to Hartmut for spotting
that.
Get a sensible address for the default DNS server even when using a
relay.
2012-02-18 17:08:50 +00:00
Simon Kelley
6aef600d48
Correct duid generate on FreeBSD
2012-02-11 22:01:50 +00:00
Simon Kelley
4cb1b32009
Clean compile, basic DHCPv6 functionality is there.
...
TODO
hostname handling.
update DHCP6 configs from dns
parse domain=<domain>,<IPv6 range>
pretty-print counted string options.
DECLINE messages
lease-script fro DHCPv6
2012-02-06 14:30:41 +00:00
Simon Kelley
52b92f4db8
It compiles and it allocates a lease! No renewals yet.
2012-01-22 16:05:15 +00:00
Simon Kelley
5954608577
Updated copyright notices. Happy new year!
2012-01-06 20:02:04 +00:00
Simon Kelley
c72daea868
Accumulated 2.60 changes going into git
2012-01-05 21:33:27 +00:00
Simon Kelley
74c95c2542
import of dnsmasq-2.59.tar.gz
2012-01-05 17:31:15 +00:00
Simon Kelley
7de060b08d
import of dnsmasq-2.58.tar.gz
2012-01-05 17:31:15 +00:00
Simon Kelley
28866e9567
import of dnsmasq-2.56.tar.gz
2012-01-05 17:31:15 +00:00
Simon Kelley
c52e189734
import of dnsmasq-2.55.tar.gz
2012-01-05 17:31:15 +00:00
Simon Kelley
8ef5ada238
import of dnsmasq-2.53.tar.gz
2012-01-05 17:31:15 +00:00
Simon Kelley
316e2730ac
import of dnsmasq-2.52.tar.gz
2012-01-05 17:31:15 +00:00
Simon Kelley
7622fc06ab
import of dnsmasq-2.48.tar.gz
2012-01-05 17:31:14 +00:00
Simon Kelley
73a08a248d
import of dnsmasq-2.47.tar.gz
2012-01-05 17:31:14 +00:00
Simon Kelley
9009d74652
import of dnsmasq-2.46.tar.gz
2012-01-05 17:31:14 +00:00
Simon Kelley
3927da46aa
import of dnsmasq-2.44.tar.gz
2012-01-05 17:31:14 +00:00
Simon Kelley
824af85bdf
import of dnsmasq-2.41.tar.gz
2012-01-05 17:31:13 +00:00
Simon Kelley
5aabfc78bc
import of dnsmasq-2.40.tar.gz
2012-01-05 17:31:13 +00:00
Simon Kelley
f2621c7ff0
import of dnsmasq-2.39.tar.gz
2012-01-05 17:31:13 +00:00
Simon Kelley
832af0bafb
import of dnsmasq-2.36.tar.gz
2012-01-05 17:31:13 +00:00
Simon Kelley
7cebd20fe7
import of dnsmasq-2.31.tar.gz
2012-01-05 17:31:12 +00:00
Simon Kelley
309331f52c
import of dnsmasq-2.29.tar.gz
2012-01-05 17:31:12 +00:00