Simon Kelley
c8e8f5c204
Bump copyright notices for 2021. Happy New Year!
2021-01-24 21:59:37 +00:00
Simon Kelley
4d85e409cd
Change default lease time for DHCPv6 to one day.
...
Also remove floor on valid and preffered times in RA when
no time is specified.
2020-07-12 22:45:46 +01:00
Simon Kelley
cd672933c9
Fix RA problems with two interfaces on same IPv6 subnet.
2020-01-27 22:53:07 +00:00
Simon Kelley
378fa56888
Don't send RAs on interfaces without a link-local address.
...
Since the source address of the RAs must be the link-local address.
2020-01-05 17:23:19 +00:00
Simon Kelley
2a8710ac2f
Update copyrights to 2020.
2020-01-05 16:40:06 +00:00
Simon Kelley
5ed82ae5f2
Remove unclear gcc-ism in conditional expression.
2019-03-05 16:38:34 +00:00
Ville Skyttä
faaf306a63
Spelling fixes.
2018-01-14 17:32:52 +00:00
Simon Kelley
d1ced3ae38
Update copyrights to 2018.
2018-01-01 22:18:03 +00:00
Simon Kelley
24036ea507
Security fix, CVE-2017-14492, DHCPv6 RA heap overflow.
...
Fix heap overflow in IPv6 router advertisement code.
This is a potentially serious security hole, as a
crafted RA request can overflow a buffer and crash or
control dnsmasq. Attacker must be on the local network.
2017-09-25 19:59:27 +01:00
Simon Kelley
50ca85504c
Bump year in copyrights.
2017-06-24 22:43:18 +01:00
Vladislav Grishenko
6ec5f5c427
Extend --ra-param mtu: field to allow an interface name.
2017-04-24 22:34:45 +01:00
David Flamand
005c46d6f5
Add mtu facility to --ra-param.
2017-04-11 11:49:54 +01:00
Josh Soref
730c6745f0
Comprehensive spelling/typo fixes.
...
Thanks to Josh Soref for generating these fixes.
2017-02-06 16:14:04 +00:00
Simon Kelley
6b1c464d6d
Don't reset packet length on transmission, in case of retransmission.
2016-07-22 20:59:16 +01:00
Simon Kelley
fa78573778
Zero packet buffers before building output, to reduce risk of information leakage.
2016-07-22 20:56:01 +01:00
Simon Kelley
ce7845bf54
Check return of expand() always.
2016-07-06 21:42:27 +01:00
S L
a18bf3149a
Avoid losing timer when deleting a RA context.
2016-02-12 17:36:20 +00:00
Simon Kelley
c49778df4a
Update copyright notices. Happy new year!
2016-01-06 18:52:33 +00:00
Neil Jerram
4918bd5505
Documenation updates for --bridge-interface and "off-link".
2015-06-10 22:23:20 +01:00
Neil Jerram
9bad339af8
Apply --bridge-interfaces to unsolicited router advertisements.
2015-06-10 22:16:35 +01:00
Neil Jerram
ba4fc0f996
Upply --bridge-interface aliasing to solicited router advertisements.
2015-06-10 22:14:49 +01:00
Neil Jerram
2fd5bc952d
Allow router advertisements to have the "off-link" bit set.
2015-06-10 22:13:06 +01:00
Simon Kelley
ff841ebf5a
Fix boilerplate code for re-running system calls on EINTR and EAGAIN etc.
...
The nasty code with static variable in retry_send() which
avoids looping forever needs to be called on success of the syscall,
to reset the static variable.
2015-03-11 21:36:30 +00:00
Simon Kelley
aff3396280
Update copyrights for dawn of 2015.
2015-01-31 20:13:40 +00:00
Simon Kelley
85900a246c
Revert route-information option in RA. There are problems with some clients.
...
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2014q3/008796.html
2014-09-13 20:42:54 +01:00
Ilya Ponetaev
5bf50af2d0
RFC4191 route information option.
2014-09-09 12:46:21 +01:00
Simon Kelley
7ea3d3fdca
ra-advrouter mode for RFC-3775 mobile IPv6 support.
2014-04-25 22:04:05 +01:00
Simon Kelley
a59ff5f3df
Merge branch 'master' of ssh://central/var/cache/git/dnsmasq
2014-01-12 22:36:12 +00:00
Simon Kelley
c3a04081ff
[fd00::} and [fe80::] special addresses in DHCPv6 options.
2014-01-11 22:18:19 +00:00
Simon Kelley
ae76242fdf
Fix missing RA RDNS option with --dhcp-option=option6:23,[::]
2014-01-10 18:15:16 +00:00
Simon Kelley
c47e3ba446
Update copyright for 2014.
2014-01-08 17:07:54 +00:00
Simon Kelley
6ea1f23b3f
Send correct O and M bits when advertising only deprecated prefixes.
2013-12-19 15:45:12 +00:00
Vladislav Grishenko
4c82efc5ac
Relax rules in prefix length in (IPv6) dhcp-range.
2013-12-03 16:05:30 +00:00
Simon Kelley
4452292064
When advertising ONLY deleted IPv6 prefixes, set router lifetime to zero.
2013-11-15 14:45:04 +00:00
Simon Kelley
dd9d9ce54c
Fix problems when advertising deleted IPv6 prefixes.
2013-11-15 11:24:00 +00:00
Simon Kelley
806cf78797
Better defaults for address and lifetime of RDNS option in RA.
2013-10-14 14:08:44 +01:00
Kevin Darbyshire-Bryant
8c0b73d3a8
Add --quiet-* options.
2013-10-11 11:56:33 +01:00
Simon Kelley
c4cd95df68
Add --ra-param and remove --force-fast-ra
2013-10-10 20:58:11 +01:00
Simon Kelley
8f3194f7ac
Do multicast interface selection portably for router advertisements.
2013-09-30 15:04:58 +01:00
Simon Kelley
89500e31f1
Support MAC addresses in dhcp-host and dhcp-mac for DHCPv6.
2013-09-20 16:29:20 +01:00
Simon Kelley
8d03046269
Add --force-fast-ra option.
2013-07-29 15:41:26 +01:00
Simon Kelley
ef1a94abaa
Advertise lost prefixes with pref_time == 0 for 2 hours.
2013-07-26 13:59:03 +01:00
Simon Kelley
1ecbaaa382
Tweak parameter lifetimes in Router advertisements.
2013-07-25 14:19:27 +01:00
Simon Kelley
ab915f837c
Only use ourselves as default DNS server for RA if we're doing DNS.
...
This makes RA the same as DHCP4/6
2013-04-30 10:43:09 +01:00
Simon Kelley
49333cbdbe
Allow trailing '*' wildcard in interface names.
2013-03-15 20:30:51 +00:00
Simon Kelley
61744359de
Change copyright messages to include 2013.
2013-01-31 14:34:40 +00:00
Simon Kelley
dc9476b670
Use RA_INTERVAL for lifetimes.
2012-12-29 22:08:26 +00:00
Simon Kelley
55b548ae2b
Add RA_INTERVAL parameter in config.h
2012-12-29 17:13:04 +00:00
Simon Kelley
3b43646a08
Use /proc/sys/net/ipv6/conf/<iface>/mtu for RA advertised MTU.
2012-12-28 11:55:45 +00:00
Simon Kelley
3bc0d932d0
More work on lease and router lifetime calculation.
2012-12-28 11:31:44 +00:00