#
11d38187 |
| 02-Jul-2024 |
florian <florian@openbsd.org> |
Use correct idiom to get mac addresses from ethernet-like interfaces.
This unbreaks rad(8) on top of carp(4).
OK deraadt, bluhm
|
#
20fc6e8e |
| 31-May-2024 |
florian <florian@openbsd.org> |
Prefixes delegated via DHCPv6 have a lifetime, honour it.
The "auto prefix" feature derives the prefix to announce from a configured IPv6 address. If that address has a vltime / pltime use that valu
Prefixes delegated via DHCPv6 have a lifetime, honour it.
The "auto prefix" feature derives the prefix to announce from a configured IPv6 address. If that address has a vltime / pltime use that value in router advertisements instead of statically configured values.
We also need to count down the vltime / pltime as time progresses.
testing Ryan Vogt testing & OK bket@, jmatthew@
show more ...
|
#
c358c7e3 |
| 31-May-2024 |
florian <florian@openbsd.org> |
getifaddrs(3) does a non trivial amount of work.
Call it once and pass a pointer to the head of the list around when reconfiguring interfaces.
testing Ryan Vogt ok benno testing & OK bket@, jmatthe
getifaddrs(3) does a non trivial amount of work.
Call it once and pass a pointer to the head of the list around when reconfiguring interfaces.
testing Ryan Vogt ok benno testing & OK bket@, jmatthew@
show more ...
|
#
30ca3407 |
| 17-May-2024 |
florian <florian@openbsd.org> |
Send source link-layer address option in router advertisements.
With this, hosts immediately learn the layer 2 (i.e. ethernet mac) address of their default router and don't need to do another round
Send source link-layer address option in router advertisements.
With this, hosts immediately learn the layer 2 (i.e. ethernet mac) address of their default router and don't need to do another round trip.
It also turns out that apple devices (macOS & iOS) install the default route as what they call "interface scoped" if a DNS option is present and the source link-layer address option is absent. This effectively makes the default route unusable.
Problem with fruit devices tracked down & diff by Ryan Vogt (rvogt.ca AT gmail), thanks!
OK sthen, bket
show more ...
|
#
639a58ba |
| 23-Apr-2024 |
florian <florian@openbsd.org> |
Implement RFC 4191 default router preference.
OK phessler, kn
(Committing from a ferry somewhere on the English channel. Sadly the free WiFi does not provide IPv6.)
|
#
6c2b9309 |
| 11-Feb-2024 |
bluhm <bluhm@openbsd.org> |
Remove needless includes of netinet6/ip6_var.h header in userland.
OK millert@
|
#
d9be77f0 |
| 14-Dec-2023 |
claudio <claudio@openbsd.org> |
Use imsg_get_fd() to access the file descriptor passed in the imsg. OK tb@
|
#
3a50f0a9 |
| 28-Dec-2022 |
jmc <jmc@openbsd.org> |
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
|
#
5207bb19 |
| 15-Oct-2022 |
florian <florian@openbsd.org> |
Implement RFC 8781 PREF64 router advertisement option.
With this clients can learn the presence and used prefix for Network Address and Protocol Translation between IPv6 and IPv4 (NAT64).
Apparentl
Implement RFC 8781 PREF64 router advertisement option.
With this clients can learn the presence and used prefix for Network Address and Protocol Translation between IPv6 and IPv4 (NAT64).
Apparently there is support in mobile devices as well as in macOS.
This option, together with the the dhcp "IPv6-only preferred" option (108) enables the Customer-side transLATor (CLAT) on macOS so IPv4 literals can be used in IPv6-only networks.
Input & OK kn
show more ...
|
#
50b55cf4 |
| 17-Jan-2022 |
naddy <naddy@openbsd.org> |
rad: fix -Wunused-but-set-variable warning
ok florian@
|
#
032fa683 |
| 19-Jan-2021 |
florian <florian@openbsd.org> |
Make imsg event structs static to fix -fno-common. Follows claudio's lead in ospfd et al. Problem reported by mortimer.
|
#
d258785e |
| 19-Jan-2021 |
florian <florian@openbsd.org> |
Move control_state and ctl_conns to control.c, it's not needed elsewhere and unbreaks -fno-common. Inspired by claudio Problem reported by mortimer
|
#
3c6be478 |
| 19-Jan-2021 |
florian <florian@openbsd.org> |
No need for a global rad_process; unbreaks -fno-common. Problem reported by mortimer
|
#
4725bad9 |
| 18-Jan-2021 |
florian <florian@openbsd.org> |
Remove unused variable in an effort to make this -fno-common clean.
|
#
40019487 |
| 29-Dec-2020 |
benno <benno@openbsd.org> |
getifaddrs() can return entries where ifa_addr is NULL. Check for this before accessing anything in ifa_addr. florian@ mentioned this might be a problem in slaacd(8) and rad(8) after claudio@ fixed i
getifaddrs() can return entries where ifa_addr is NULL. Check for this before accessing anything in ifa_addr. florian@ mentioned this might be a problem in slaacd(8) and rad(8) after claudio@ fixed it in bgpd, so i went looking... ok claudio@
show more ...
|
#
d131c648 |
| 01-Dec-2020 |
florian <florian@openbsd.org> |
Remove useless void cast annotation.
|
#
e88dba76 |
| 01-Dec-2020 |
florian <florian@openbsd.org> |
Let rad(8) handle all rdomains in a single daemon, similar to previous work in slaacd. Suggested / requested by tb who showed me previous work by reyk which unfortunately predated my work in slaacd a
Let rad(8) handle all rdomains in a single daemon, similar to previous work in slaacd. Suggested / requested by tb who showed me previous work by reyk which unfortunately predated my work in slaacd and followed a different pattern to that done in slaacd. Testing & OK tb
show more ...
|
#
e71a3804 |
| 27-Nov-2020 |
florian <florian@openbsd.org> |
Check if the interface has an IPv6 link-local address before using it. Problem noted by & OK tb
|
#
abcf5f52 |
| 07-Sep-2019 |
florian <florian@openbsd.org> |
Do not try to send router advertisements on interfaces that have no link. Keeps log noise down on carp backup interfaces. Reported by matthieu Previous version OK deraadt Input & OK benno
|
#
df69c215 |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
show more ...
|
#
cb21588b |
| 10-May-2019 |
guenther <guenther@openbsd.org> |
Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h>
ok krw@, jsg@
|
#
b542a0d7 |
| 12-Apr-2019 |
florian <florian@openbsd.org> |
Unbreak listening for prefix changes. Found the hard way by naddy OK deraadt, phessler
|
#
eb9f9513 |
| 15-Mar-2019 |
florian <florian@openbsd.org> |
Only accept one ICMPv6 and one route socket. This caught a missing break where the ICMPv6 socket was also used as the route socket for a short while. OK pamela
|
#
2b2996d8 |
| 15-Mar-2019 |
florian <florian@openbsd.org> |
Correctly interlock config reloads imsgs. Only accept a new config reload if it's not currently running and on accept a config reload end if one is currently running. OK pamela
|
#
7d9d544b |
| 15-Mar-2019 |
florian <florian@openbsd.org> |
Do not accept a control socket if we already have one. OK pamela
|