Now
MAIN commitmail json YAML
Fix import
MAIN commitmail json YAML
Note dhcpcd-10.0.6
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/bpf.c@1.21
/
diff
/
nxr@1.21
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.50 / diff / nxr@1.50
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.32 / diff / nxr@1.32
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.54 / diff / nxr@1.54
src/external/bsd/dhcpcd/dist/src/if-options.c@1.36 / diff / nxr@1.36
src/external/bsd/dhcpcd/dist/src/privsep.c@1.18 / diff / nxr@1.18
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.50 / diff / nxr@1.50
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.32 / diff / nxr@1.32
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.54 / diff / nxr@1.54
src/external/bsd/dhcpcd/dist/src/if-options.c@1.36 / diff / nxr@1.36
src/external/bsd/dhcpcd/dist/src/privsep.c@1.18 / diff / nxr@1.18
Sync with dhcpcd-10.0.6
MAIN commitmail json YAML
Note import of dhcpcd-10.0.4
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.53
/
diff
/
nxr@1.53
src/external/bsd/dhcpcd/dist/src/privsep.c@1.17 / diff / nxr@1.17
src/external/bsd/dhcpcd/dist/src/script.c@1.17 / diff / nxr@1.17
src/external/bsd/dhcpcd/dist/src/privsep.c@1.17 / diff / nxr@1.17
src/external/bsd/dhcpcd/dist/src/script.c@1.17 / diff / nxr@1.17
Sync with dhcpcd-10.0.4
MAIN commitmail json YAML
Note update to dhcpcd-10.0.3
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.49
/
diff
/
nxr@1.49
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.31 / diff / nxr@1.31
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.52 / diff / nxr@1.52
src/external/bsd/dhcpcd/dist/src/if-options.c@1.35 / diff / nxr@1.35
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.30 / diff / nxr@1.30
src/external/bsd/dhcpcd/dist/src/privsep.c@1.16 / diff / nxr@1.16
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.31 / diff / nxr@1.31
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.52 / diff / nxr@1.52
src/external/bsd/dhcpcd/dist/src/if-options.c@1.35 / diff / nxr@1.35
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.30 / diff / nxr@1.30
src/external/bsd/dhcpcd/dist/src/privsep.c@1.16 / diff / nxr@1.16
sync with dhcpcd-10.0.3
MAIN commitmail json YAML
Note import of dhcpcd-10.0.2
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/bpf.c@1.20
/
diff
/
nxr@1.20
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.48 / diff / nxr@1.48
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.30 / diff / nxr@1.30
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.51 / diff / nxr@1.51
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.30 / diff / nxr@1.30
src/external/bsd/dhcpcd/dist/src/if-options.c@1.34 / diff / nxr@1.34
src/external/bsd/dhcpcd/dist/src/privsep.c@1.15 / diff / nxr@1.15
src/external/bsd/dhcpcd/dist/src/script.c@1.16 / diff / nxr@1.16
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.48 / diff / nxr@1.48
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.30 / diff / nxr@1.30
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.51 / diff / nxr@1.51
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.30 / diff / nxr@1.30
src/external/bsd/dhcpcd/dist/src/if-options.c@1.34 / diff / nxr@1.34
src/external/bsd/dhcpcd/dist/src/privsep.c@1.15 / diff / nxr@1.15
src/external/bsd/dhcpcd/dist/src/script.c@1.16 / diff / nxr@1.16
Sync with dhcpcd-10.0.2
MAIN commitmail json YAML
Note update to openresolv-3.13.2
MAIN commitmail json YAML
src/external/bsd/openresolv/dist/dnsmasq.in@1.7
/
diff
/
nxr@1.7
src/external/bsd/openresolv/dist/libc.in@1.6 / diff / nxr@1.6
src/external/bsd/openresolv/dist/named.in@1.5 / diff / nxr@1.5
src/external/bsd/openresolv/dist/pdnsd.in@1.5 / diff / nxr@1.5
src/external/bsd/openresolv/dist/resolvconf.8.in@1.12 / diff / nxr@1.12
src/external/bsd/openresolv/dist/resolvconf.conf.5.in@1.22 / diff / nxr@1.22
src/external/bsd/openresolv/dist/resolvconf.in@1.10 / diff / nxr@1.10
src/external/bsd/openresolv/dist/unbound.in@1.4 / diff / nxr@1.4
src/external/bsd/openresolv/dist/libc.in@1.6 / diff / nxr@1.6
src/external/bsd/openresolv/dist/named.in@1.5 / diff / nxr@1.5
src/external/bsd/openresolv/dist/pdnsd.in@1.5 / diff / nxr@1.5
src/external/bsd/openresolv/dist/resolvconf.8.in@1.12 / diff / nxr@1.12
src/external/bsd/openresolv/dist/resolvconf.conf.5.in@1.22 / diff / nxr@1.22
src/external/bsd/openresolv/dist/resolvconf.in@1.10 / diff / nxr@1.10
src/external/bsd/openresolv/dist/unbound.in@1.4 / diff / nxr@1.4
Sync with openresolv-3.13.2
MAIN commitmail json YAML
dhcpcd: Fix non INET6 builds.
Thanks to J. Hannken-Illjes for the fix.
Thanks to J. Hannken-Illjes for the fix.
MAIN commitmail json YAML
Note update to dhcpcd-10.0.1
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/hooks/20-resolv.conf@1.7
/
diff
/
nxr@1.7
src/external/bsd/dhcpcd/dist/hooks/29-lookup-hostname@1.3 / diff / nxr@1.3
src/external/bsd/dhcpcd/dist/hooks/30-hostname@1.6 / diff / nxr@1.6
src/external/bsd/dhcpcd/dist/hooks/50-ntp.conf@1.6 / diff / nxr@1.6
src/external/bsd/dhcpcd/dist/src/bpf.c@1.19 / diff / nxr@1.19
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.47 / diff / nxr@1.47
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.29 / diff / nxr@1.29
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.50 / diff / nxr@1.50
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.28 / diff / nxr@1.28
src/external/bsd/dhcpcd/dist/src/if-options.c@1.33 / diff / nxr@1.33
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.18 / diff / nxr@1.18
src/external/bsd/dhcpcd/dist/src/ipv6.h@1.14 / diff / nxr@1.14
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.29 / diff / nxr@1.29
src/external/bsd/dhcpcd/dist/src/logerr.c@1.13 / diff / nxr@1.13
src/external/bsd/dhcpcd/dist/src/privsep.c@1.14 / diff / nxr@1.14
src/external/bsd/dhcpcd/dist/src/script.c@1.15 / diff / nxr@1.15
src/external/bsd/dhcpcd/dist/hooks/29-lookup-hostname@1.3 / diff / nxr@1.3
src/external/bsd/dhcpcd/dist/hooks/30-hostname@1.6 / diff / nxr@1.6
src/external/bsd/dhcpcd/dist/hooks/50-ntp.conf@1.6 / diff / nxr@1.6
src/external/bsd/dhcpcd/dist/src/bpf.c@1.19 / diff / nxr@1.19
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.47 / diff / nxr@1.47
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.29 / diff / nxr@1.29
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.50 / diff / nxr@1.50
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.28 / diff / nxr@1.28
src/external/bsd/dhcpcd/dist/src/if-options.c@1.33 / diff / nxr@1.33
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.18 / diff / nxr@1.18
src/external/bsd/dhcpcd/dist/src/ipv6.h@1.14 / diff / nxr@1.14
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.29 / diff / nxr@1.29
src/external/bsd/dhcpcd/dist/src/logerr.c@1.13 / diff / nxr@1.13
src/external/bsd/dhcpcd/dist/src/privsep.c@1.14 / diff / nxr@1.14
src/external/bsd/dhcpcd/dist/src/script.c@1.15 / diff / nxr@1.15
Merge changes
MAIN commitmail json YAML
src/sys/net/if_ethersubr.c@1.323
/
diff
/
nxr@1.323
src/sys/netinet/if_arp.c@1.311 / diff / nxr@1.311
src/sys/sys/mbuf.h@1.236 / diff / nxr@1.236
src/sys/netinet/if_arp.c@1.311 / diff / nxr@1.311
src/sys/sys/mbuf.h@1.236 / diff / nxr@1.236
arp: Validate ARP source hardware address matches Ethernet source
RFC 5227 section 1.1 states that for a DaD ARP probe the sender hardware
address must match the hardware address of the interface sending the
packet.
We can now verify this by checking the mbuf tag PACKET_TAG_ETHERNET_SRC.
This fixes an obsure issue where an old router was sending out bogus
ARP probes.
Thanks to Ryo Shimizu <ryo@nerv.org> for the re-implementation.
RFC 5227 section 1.1 states that for a DaD ARP probe the sender hardware
address must match the hardware address of the interface sending the
packet.
We can now verify this by checking the mbuf tag PACKET_TAG_ETHERNET_SRC.
This fixes an obsure issue where an old router was sending out bogus
ARP probes.
Thanks to Ryo Shimizu <ryo@nerv.org> for the re-implementation.
MAIN commitmail json YAML
Revert prior.
MAIN commitmail json YAML
Revert prior.
MAIN commitmail json YAML
Revert prior.
MAIN commitmail json YAML
Adjust comment for new sizes.
Thanks to Kengo NAKAHARA <k-nakahara@iij.ad.jp>
Thanks to Kengo NAKAHARA <k-nakahara@iij.ad.jp>
MAIN commitmail json YAML
arp: Validate L2 sender hardware address matches ARP probe
RFC 5227 section 1.1 states that for a DaD ARP probe the sender hardware
address must match the hardware address of the interface sending the
packet.
We can now verify this by checking the mbuf packet header.
This fixes an obsure issue where an old router was sending out bogus
ARP probes.
RFC 5227 section 1.1 states that for a DaD ARP probe the sender hardware
address must match the hardware address of the interface sending the
packet.
We can now verify this by checking the mbuf packet header.
This fixes an obsure issue where an old router was sending out bogus
ARP probes.
MAIN commitmail json YAML
net: Store a pointer to the Layer 2 Sender Hardware address in mbuf
The BSD networking stack is designed around passing a mbuf down the chain
and each layer removes the part it's interested in before passing it to
the next. This makes it easy for each layer to do it's work,
but non trivial to work backwards.
As such we now store a pointer to the Senders Hardware address in the
mbuf packet header so that protocols can perform any required validation.
The BSD networking stack is designed around passing a mbuf down the chain
and each layer removes the part it's interested in before passing it to
the next. This makes it easy for each layer to do it's work,
but non trivial to work backwards.
As such we now store a pointer to the Senders Hardware address in the
mbuf packet header so that protocols can perform any required validation.
MAIN commitmail json YAML
src/sys/compat/netbsd32/netbsd32_ioctl.c@1.120
/
diff
/
nxr@1.120
src/sys/compat/netbsd32/netbsd32_ioctl.h@1.79 / diff / nxr@1.79
src/sys/compat/netbsd32/netbsd32_ioctl.h@1.79 / diff / nxr@1.79
Handle the SIOCGNBRINFO ioctl for compat32.
arp -a works with compat32 now.
Credit to simonb@ for the ndp fix from which this is cribbed.
arp -a works with compat32 now.
Credit to simonb@ for the ndp fix from which this is cribbed.
MAIN commitmail json YAML
Fix build of xlint/line1 with OBJDIR set.
MAIN commitmail json YAML
Note update to dhcpcd-9.4.1
MAIN commitmail json YAML
src/external/bsd/dhcpcd/Makefile.inc@1.5
/
diff
/
nxr@1.5
src/external/bsd/dhcpcd/examples/hooks/Makefile@1.4 / diff / nxr@1.4
src/external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile@1.7 / diff / nxr@1.7
src/external/bsd/dhcpcd/libexec/dhcpcd-run-hooks/Makefile@1.2 / diff / nxr@1.2
src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile@1.56 / diff / nxr@1.56
src/external/bsd/dhcpcd/examples/hooks/Makefile@1.4 / diff / nxr@1.4
src/external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile@1.7 / diff / nxr@1.7
src/external/bsd/dhcpcd/libexec/dhcpcd-run-hooks/Makefile@1.2 / diff / nxr@1.2
src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile@1.56 / diff / nxr@1.56
Remove build for stuff dhcpcd's import-src target now does.
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/hooks/30-hostname@1.5
/
diff
/
nxr@1.5
src/external/bsd/dhcpcd/dist/hooks/30-hostname.in deleted
src/external/bsd/dhcpcd/dist/hooks/50-ypbind.in deleted
src/external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in deleted
src/external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in deleted
src/external/bsd/dhcpcd/dist/src/bpf.c@1.18 / diff / nxr@1.18
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.46 / diff / nxr@1.46
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.28 / diff / nxr@1.28
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in deleted
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.49 / diff / nxr@1.49
src/external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in deleted
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.27 / diff / nxr@1.27
src/external/bsd/dhcpcd/dist/src/if-options.c@1.32 / diff / nxr@1.32
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.17 / diff / nxr@1.17
src/external/bsd/dhcpcd/dist/src/ipv6.h@1.13 / diff / nxr@1.13
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.28 / diff / nxr@1.28
src/external/bsd/dhcpcd/dist/src/logerr.c@1.12 / diff / nxr@1.12
src/external/bsd/dhcpcd/dist/src/privsep.c@1.13 / diff / nxr@1.13
src/external/bsd/dhcpcd/dist/src/script.c@1.14 / diff / nxr@1.14
src/external/bsd/dhcpcd/dist/hooks/30-hostname.in deleted
src/external/bsd/dhcpcd/dist/hooks/50-ypbind.in deleted
src/external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in deleted
src/external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in deleted
src/external/bsd/dhcpcd/dist/src/bpf.c@1.18 / diff / nxr@1.18
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.46 / diff / nxr@1.46
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.28 / diff / nxr@1.28
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in deleted
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.49 / diff / nxr@1.49
src/external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in deleted
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.27 / diff / nxr@1.27
src/external/bsd/dhcpcd/dist/src/if-options.c@1.32 / diff / nxr@1.32
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.17 / diff / nxr@1.17
src/external/bsd/dhcpcd/dist/src/ipv6.h@1.13 / diff / nxr@1.13
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.28 / diff / nxr@1.28
src/external/bsd/dhcpcd/dist/src/logerr.c@1.12 / diff / nxr@1.12
src/external/bsd/dhcpcd/dist/src/privsep.c@1.13 / diff / nxr@1.13
src/external/bsd/dhcpcd/dist/src/script.c@1.14 / diff / nxr@1.14
Sync update
MAIN commitmail json YAML
netinet: Allow binding the unspecified address when no addresses exist
You should always be able to bind to the unspecified address even if
no addresses have been configured on any interface.
For example, a DHCP client could be started before the loopback interface
has been fully configured.
You should always be able to bind to the unspecified address even if
no addresses have been configured on any interface.
For example, a DHCP client could be started before the loopback interface
has been fully configured.
MAIN commitmail json YAML
if_arp: Just KASSERT that arphrd is aligned
While here improve readability of checking ARP IEEE1394 matches interface.
While here improve readability of checking ARP IEEE1394 matches interface.
MAIN commitmail json YAML
if_ether: revert prior alignment checks
Apparently not needed as our drivers ensure this.
Apparently not needed as our drivers ensure this.
MAIN commitmail json YAML
if_gre: Remove alignment checks in favour copying to stack
Makes the code a lot simpler, idea from dyoung@
Makes the code a lot simpler, idea from dyoung@
MAIN commitmail json YAML
src/sys/net/if_ethersubr.c@1.291
/
diff
/
nxr@1.291
src/sys/net/if_gre.c@1.179 / diff / nxr@1.179
src/sys/netinet/if_arp.c@1.300 / diff / nxr@1.300
src/sys/net/if_gre.c@1.179 / diff / nxr@1.179
src/sys/netinet/if_arp.c@1.300 / diff / nxr@1.300
Prior alignment fixes should not use an offset
MAIN commitmail json YAML
if_arp: Ensure that arphdr is aligned
MAIN commitmail json YAML
if_ether: Ensure that ether_header is aligned
MAIN commitmail json YAML
if_gre: Ensure that gre_h is aligned
MAIN commitmail json YAML
src/sys/net/if_arp.h@1.37
/
diff
/
nxr@1.37
src/sys/net/if_ether.h@1.84 / diff / nxr@1.84
src/sys/net/if_gre.h@1.47 / diff / nxr@1.47
src/sys/net/if_llc.h@1.23 / diff / nxr@1.23
src/sys/netinet/igmp.h@1.15 / diff / nxr@1.15
src/sys/netinet/in.h@1.114 / diff / nxr@1.114
src/sys/netinet/ip.h@1.38 / diff / nxr@1.38
src/sys/netinet/ip6.h@1.29 / diff / nxr@1.29
src/sys/netinet/ip_carp.h@1.14 / diff / nxr@1.14
src/sys/netinet/ip_icmp.h@1.43 / diff / nxr@1.43
src/sys/netinet/ip_mroute.h@1.35 / diff / nxr@1.35
src/sys/netinet/ip_var.h@1.133 / diff / nxr@1.133
src/sys/netinet/tcp.h@1.37 / diff / nxr@1.37
src/sys/netinet/tcp_debug.h@1.21 / diff / nxr@1.21
src/sys/netinet/udp.h@1.19 / diff / nxr@1.19
src/sys/net/if_ether.h@1.84 / diff / nxr@1.84
src/sys/net/if_gre.h@1.47 / diff / nxr@1.47
src/sys/net/if_llc.h@1.23 / diff / nxr@1.23
src/sys/netinet/igmp.h@1.15 / diff / nxr@1.15
src/sys/netinet/in.h@1.114 / diff / nxr@1.114
src/sys/netinet/ip.h@1.38 / diff / nxr@1.38
src/sys/netinet/ip6.h@1.29 / diff / nxr@1.29
src/sys/netinet/ip_carp.h@1.14 / diff / nxr@1.14
src/sys/netinet/ip_icmp.h@1.43 / diff / nxr@1.43
src/sys/netinet/ip_mroute.h@1.35 / diff / nxr@1.35
src/sys/netinet/ip_var.h@1.133 / diff / nxr@1.133
src/sys/netinet/tcp.h@1.37 / diff / nxr@1.37
src/sys/netinet/tcp_debug.h@1.21 / diff / nxr@1.21
src/sys/netinet/udp.h@1.19 / diff / nxr@1.19
CTASSERT -> __CTASSERT to unbreak userland build.
While here move __packed in tcp_debug.h back to where it was and
note removal warrants more investigation.
While here move __packed in tcp_debug.h back to where it was and
note removal warrants more investigation.
MAIN commitmail json YAML
Guard CTASSERT
MAIN commitmail json YAML
if_llc.h: Replace __packed with CTASSERT
MAIN commitmail json YAML
src/sys/net/if_arp.h@1.36
/
diff
/
nxr@1.36
src/sys/net/if_ether.h@1.83 / diff / nxr@1.83
src/sys/net/if_gre.h@1.46 / diff / nxr@1.46
src/sys/netinet/if_ether.h@1.36 / diff / nxr@1.36
src/sys/netinet/igmp.h@1.14 / diff / nxr@1.14
src/sys/netinet/in.h@1.113 / diff / nxr@1.113
src/sys/netinet/ip.h@1.37 / diff / nxr@1.37
src/sys/netinet/ip6.h@1.28 / diff / nxr@1.28
src/sys/netinet/ip_icmp.h@1.42 / diff / nxr@1.42
src/sys/netinet/ip_mroute.h@1.34 / diff / nxr@1.34
src/sys/netinet/ip_var.h@1.132 / diff / nxr@1.132
src/sys/netinet/tcp.h@1.36 / diff / nxr@1.36
src/sys/netinet/tcp_var.h@1.194 / diff / nxr@1.194
src/sys/netinet/udp.h@1.18 / diff / nxr@1.18
src/sys/netinet/udp_var.h@1.48 / diff / nxr@1.48
src/sys/net/if_ether.h@1.83 / diff / nxr@1.83
src/sys/net/if_gre.h@1.46 / diff / nxr@1.46
src/sys/netinet/if_ether.h@1.36 / diff / nxr@1.36
src/sys/netinet/igmp.h@1.14 / diff / nxr@1.14
src/sys/netinet/in.h@1.113 / diff / nxr@1.113
src/sys/netinet/ip.h@1.37 / diff / nxr@1.37
src/sys/netinet/ip6.h@1.28 / diff / nxr@1.28
src/sys/netinet/ip_icmp.h@1.42 / diff / nxr@1.42
src/sys/netinet/ip_mroute.h@1.34 / diff / nxr@1.34
src/sys/netinet/ip_var.h@1.132 / diff / nxr@1.132
src/sys/netinet/tcp.h@1.36 / diff / nxr@1.36
src/sys/netinet/tcp_var.h@1.194 / diff / nxr@1.194
src/sys/netinet/udp.h@1.18 / diff / nxr@1.18
src/sys/netinet/udp_var.h@1.48 / diff / nxr@1.48
Sprinkle CTASSERT to enforce on-wire layout without __packed
MAIN commitmail json YAML
tcp_debug: restore __packed
MAIN commitmail json YAML
Whitespace
MAIN commitmail json YAML
tftp: no longer need packed member warning
MAIN commitmail json YAML
rtadvd: no longer need packed member warning
MAIN commitmail json YAML
traceroute: no longer need gcc packed member warning
MAIN commitmail json YAML
ldpd: Discard warning about accessing packed member
I don't see a good way of fixing this right now.
I don't see a good way of fixing this right now.
MAIN commitmail json YAML
src/usr.sbin/traceroute6/Makefile@1.12
/
diff
/
nxr@1.12
src/usr.sbin/traceroute6/traceroute6.c@1.52 / diff / nxr@1.52
src/usr.sbin/traceroute6/traceroute6.c@1.52 / diff / nxr@1.52
traceroute6: Remove __packed
MAIN commitmail json YAML
src/sys/net/if_arp.h@1.34
/
diff
/
nxr@1.34
src/sys/net/if_ether.h@1.82 / diff / nxr@1.82
src/sys/net/if_gre.h@1.45 / diff / nxr@1.45
src/sys/netinet/if_ether.h@1.35 / diff / nxr@1.35
src/sys/netinet/igmp.h@1.13 / diff / nxr@1.13
src/sys/netinet/in.h@1.112 / diff / nxr@1.112
src/sys/netinet/ip.h@1.36 / diff / nxr@1.36
src/sys/netinet/ip6.h@1.27 / diff / nxr@1.27
src/sys/netinet/ip_carp.h@1.13 / diff / nxr@1.13
src/sys/netinet/ip_icmp.h@1.41 / diff / nxr@1.41
src/sys/netinet/ip_mroute.h@1.33 / diff / nxr@1.33
src/sys/netinet/ip_var.h@1.131 / diff / nxr@1.131
src/sys/netinet/tcp.h@1.35 / diff / nxr@1.35
src/sys/netinet/tcp_debug.h@1.19 / diff / nxr@1.19
src/sys/netinet/tcp_var.h@1.193 / diff / nxr@1.193
src/sys/netinet/udp.h@1.17 / diff / nxr@1.17
src/sys/netinet/udp_var.h@1.47 / diff / nxr@1.47
src/sys/net/if_ether.h@1.82 / diff / nxr@1.82
src/sys/net/if_gre.h@1.45 / diff / nxr@1.45
src/sys/netinet/if_ether.h@1.35 / diff / nxr@1.35
src/sys/netinet/igmp.h@1.13 / diff / nxr@1.13
src/sys/netinet/in.h@1.112 / diff / nxr@1.112
src/sys/netinet/ip.h@1.36 / diff / nxr@1.36
src/sys/netinet/ip6.h@1.27 / diff / nxr@1.27
src/sys/netinet/ip_carp.h@1.13 / diff / nxr@1.13
src/sys/netinet/ip_icmp.h@1.41 / diff / nxr@1.41
src/sys/netinet/ip_mroute.h@1.33 / diff / nxr@1.33
src/sys/netinet/ip_var.h@1.131 / diff / nxr@1.131
src/sys/netinet/tcp.h@1.35 / diff / nxr@1.35
src/sys/netinet/tcp_debug.h@1.19 / diff / nxr@1.19
src/sys/netinet/tcp_var.h@1.193 / diff / nxr@1.193
src/sys/netinet/udp.h@1.17 / diff / nxr@1.17
src/sys/netinet/udp_var.h@1.47 / diff / nxr@1.47
Remove __packed from various network structures
They are already network aligned and adding the __packed attribute
just causes needless compiler warnings about accssing members of packed
objects.
They are already network aligned and adding the __packed attribute
just causes needless compiler warnings about accssing members of packed
objects.
MAIN commitmail json YAML
ntpd: ignore errno EINTR on reads from the routing socket
MAIN commitmail json YAML
ntpd: move route socket overflow message from LOG_ERR to LOG_DEBUG
While here stop caring about RTM_LOSING as that's purely informational.
If routing does change then we get RTM_ADD/DEL/CHANGE.
Also stop caring about RTM_IFANNOUNCE as we really only want addresses
and interface flag updates which we get by RTM_NEWADDR/DELADDR/CHGADDR and
RTM_IFINFO.
While here stop caring about RTM_LOSING as that's purely informational.
If routing does change then we get RTM_ADD/DEL/CHANGE.
Also stop caring about RTM_IFANNOUNCE as we really only want addresses
and interface flag updates which we get by RTM_NEWADDR/DELADDR/CHGADDR and
RTM_IFINFO.
MAIN commitmail json YAML
src/external/bsd/ntp/dist/ntpd/cmd_args.c@1.7
/
diff
/
nxr@1.7
src/external/bsd/ntp/dist/ntpd/ntp_io.c@1.29 / diff / nxr@1.29
src/external/bsd/ntp/dist/ntpd/ntp_timer.c@1.9 / diff / nxr@1.9
src/external/bsd/ntp/dist/ntpd/ntp_io.c@1.29 / diff / nxr@1.29
src/external/bsd/ntp/dist/ntpd/ntp_timer.c@1.9 / diff / nxr@1.9
ntp: respect user's wishes to disable interface scanning
While here, disable periodic scanning by default on NetBSD as it's
no longer needed.
The user can still enable it though with a positive number to the -U
option.
kardel@ So far I see no other issues from the pitfalls I know of
While here, disable periodic scanning by default on NetBSD as it's
no longer needed.
The user can still enable it though with a positive number to the -U
option.
kardel@ So far I see no other issues from the pitfalls I know of
MAIN commitmail json YAML
libunbound: Enforce that mini_event isn't used by include/config.h
As I tire of fixing it to use libevent.
As I tire of fixing it to use libevent.
MAIN commitmail json YAML
Revert prior
With the correct #defines mini_event.c and winsock_event.c are
compiled but practically unused.
What is exposed is not part of the public API, but appease the
peanut gallery.
With the correct #defines mini_event.c and winsock_event.c are
compiled but practically unused.
What is exposed is not part of the public API, but appease the
peanut gallery.
MAIN commitmail json YAML
libunbound: Now we use libevent, don't build mini_event or winsock_event.
MAIN commitmail json YAML
libunbound: actually use libevent as we link to it
Would appreciate if people modify this file to actually test what
polling mechanism unbound uses as select(2) is pretty poor.
Would appreciate if people modify this file to actually test what
polling mechanism unbound uses as select(2) is pretty poor.
MAIN commitmail json YAML
ntpd: In the event of route(4) overflow, update the interfaces
MAIN commitmail json YAML
wpa: If route socket overflows, sync drivers to system interfaces
Messages such as RTM_IFNFO or RTM_IFANNOUNCE could have been lost.
As such, sync the state of our internal driver to the state of the
system interfaces as reported by getifaddrs(2).
This change requires the routing socket be placed in non-blocking
mode. While here, set the routing and inet sockets to close on exec.
Messages such as RTM_IFNFO or RTM_IFANNOUNCE could have been lost.
As such, sync the state of our internal driver to the state of the
system interfaces as reported by getifaddrs(2).
This change requires the routing socket be placed in non-blocking
mode. While here, set the routing and inet sockets to close on exec.
MAIN commitmail json YAML
Note update to dhcpcd-9.4.0
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/hooks/20-resolv.conf@1.6
/
diff
/
nxr@1.6
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.45 / diff / nxr@1.45
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.27 / diff / nxr@1.27
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.48 / diff / nxr@1.48
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.26 / diff / nxr@1.26
src/external/bsd/dhcpcd/dist/src/if-options.c@1.31 / diff / nxr@1.31
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.27 / diff / nxr@1.27
src/external/bsd/dhcpcd/dist/src/privsep.c@1.12 / diff / nxr@1.12
src/external/bsd/dhcpcd/dist/src/script.c@1.13 / diff / nxr@1.13
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.45 / diff / nxr@1.45
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.27 / diff / nxr@1.27
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.48 / diff / nxr@1.48
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.26 / diff / nxr@1.26
src/external/bsd/dhcpcd/dist/src/if-options.c@1.31 / diff / nxr@1.31
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.27 / diff / nxr@1.27
src/external/bsd/dhcpcd/dist/src/privsep.c@1.12 / diff / nxr@1.12
src/external/bsd/dhcpcd/dist/src/script.c@1.13 / diff / nxr@1.13
Sync with dhcpcd-9.4.0
MAIN commitmail json YAML
Note openresolv-3.12.0 update
MAIN commitmail json YAML
src/external/bsd/openresolv/dist/resolvconf.8.in@1.11
/
diff
/
nxr@1.11
src/external/bsd/openresolv/dist/resolvconf.conf.5.in@1.21 / diff / nxr@1.21
src/external/bsd/openresolv/dist/resolvconf.in@1.9 / diff / nxr@1.9
src/external/bsd/openresolv/dist/resolvconf.conf.5.in@1.21 / diff / nxr@1.21
src/external/bsd/openresolv/dist/resolvconf.in@1.9 / diff / nxr@1.9
Sync with openresolv-3.12.0
MAIN commitmail json YAML
t_ossaudio was installed for clang, so remove gcc marking
MAIN commitmail json YAML
diffutils: execl requires a NULL sentinel
MAIN commitmail json YAML
Note update to dhcpcd-9.3.4
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.44
/
diff
/
nxr@1.44
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.26 / diff / nxr@1.26
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in@1.11 / diff / nxr@1.11
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.47 / diff / nxr@1.47
src/external/bsd/dhcpcd/dist/src/if-options.c@1.30 / diff / nxr@1.30
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.26 / diff / nxr@1.26
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in@1.11 / diff / nxr@1.11
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.47 / diff / nxr@1.47
src/external/bsd/dhcpcd/dist/src/if-options.c@1.30 / diff / nxr@1.30
Sync with dhcpcd-9.3.4
MAIN commitmail json YAML
Note import of dhcpcd-9.3.3
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/hooks/20-resolv.conf@1.5
/
diff
/
nxr@1.5
src/external/bsd/dhcpcd/dist/hooks/50-ntp.conf@1.5 / diff / nxr@1.5
src/external/bsd/dhcpcd/dist/hooks/50-ypbind.in@1.3 / diff / nxr@1.3
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.43 / diff / nxr@1.43
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.25 / diff / nxr@1.25
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in@1.10 / diff / nxr@1.10
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.46 / diff / nxr@1.46
src/external/bsd/dhcpcd/dist/src/if-options.c@1.29 / diff / nxr@1.29
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.16 / diff / nxr@1.16
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.26 / diff / nxr@1.26
src/external/bsd/dhcpcd/dist/src/privsep.c@1.11 / diff / nxr@1.11
src/external/bsd/dhcpcd/dist/src/script.c@1.12 / diff / nxr@1.12
src/external/bsd/dhcpcd/dist/hooks/50-ntp.conf@1.5 / diff / nxr@1.5
src/external/bsd/dhcpcd/dist/hooks/50-ypbind.in@1.3 / diff / nxr@1.3
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.43 / diff / nxr@1.43
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.25 / diff / nxr@1.25
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in@1.10 / diff / nxr@1.10
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.46 / diff / nxr@1.46
src/external/bsd/dhcpcd/dist/src/if-options.c@1.29 / diff / nxr@1.29
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.16 / diff / nxr@1.16
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.26 / diff / nxr@1.26
src/external/bsd/dhcpcd/dist/src/privsep.c@1.11 / diff / nxr@1.11
src/external/bsd/dhcpcd/dist/src/script.c@1.12 / diff / nxr@1.12
Sync with dhcpcd-9.3.3
MAIN commitmail json YAML
bridge: revert prior
It's of little use.
If we need to do this in the future, consider a sysctl to do it for all
interfaces in the bridge and not just the one being added.
It's of little use.
If we need to do this in the future, consider a sysctl to do it for all
interfaces in the bridge and not just the one being added.
MAIN commitmail json YAML
Note dhcpcd update
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.42
/
diff
/
nxr@1.42
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in@1.9 / diff / nxr@1.9
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.45 / diff / nxr@1.45
src/external/bsd/dhcpcd/dist/src/logerr.c@1.11 / diff / nxr@1.11
src/external/bsd/dhcpcd/dist/src/privsep.c@1.10 / diff / nxr@1.10
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in@1.9 / diff / nxr@1.9
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.45 / diff / nxr@1.45
src/external/bsd/dhcpcd/dist/src/logerr.c@1.11 / diff / nxr@1.11
src/external/bsd/dhcpcd/dist/src/privsep.c@1.10 / diff / nxr@1.10
Sync with dhcpcd-9.3.2
MAIN commitmail json YAML
l2tp: call if_link_state_change rather then directly setting it.
This allows protocols to do their thing.
This allows protocols to do their thing.
MAIN commitmail json YAML
l2tp: Revert prior
It proves I can't read comments and that if_initialize should not be used.
It proves I can't read comments and that if_initialize should not be used.
MAIN commitmail json YAML
Remove extra parens
MAIN commitmail json YAML
libossaudio: return newfd here as we return retval elsewhere
MAIN commitmail json YAML
src/sys/arch/mac68k/dev/if_mc.c@1.56
/
diff
/
nxr@1.56
src/sys/arch/macppc/dev/am79c950.c@1.50 / diff / nxr@1.50
src/sys/dev/ic/am7990.c@1.83 / diff / nxr@1.83
src/sys/dev/ic/am79900.c@1.31 / diff / nxr@1.31
src/sys/arch/macppc/dev/am79c950.c@1.50 / diff / nxr@1.50
src/sys/dev/ic/am7990.c@1.83 / diff / nxr@1.83
src/sys/dev/ic/am79900.c@1.31 / diff / nxr@1.31
le(4): add link status change reporting to drivers which support it
Reviewed by thorpej@
Tested by martin@
Reviewed by thorpej@
Tested by martin@
MAIN commitmail json YAML
src/tests/net/if_wg/t_basic.sh@1.2
/
diff
/
nxr@1.2
src/tests/net/if_wg/t_misc.sh@1.6 / diff / nxr@1.6
src/tests/net/if_wg/t_misc.sh@1.6 / diff / nxr@1.6
wg: Fix tests by sprinkling ifconfig -w 10
So protocols have time to finish setup.
So protocols have time to finish setup.
MAIN commitmail json YAML
net: remove IFEF_NO_LINK_STATE_CHANGE
This flag was only set for virtual interfaces.
All virtual interfaces have a means of knowing if they are going to work
or not and as such now support link state changes.
If we want this flag back, it should be used as an indicator that
the interfaces does not support link state changes that userland can use
so it can make a decision on what to do when the link state is UNKNOWN.
This flag was only set for virtual interfaces.
All virtual interfaces have a means of knowing if they are going to work
or not and as such now support link state changes.
If we want this flag back, it should be used as an indicator that
the interfaces does not support link state changes that userland can use
so it can make a decision on what to do when the link state is UNKNOWN.
MAIN commitmail json YAML
wg: with no peers, the link status is DOWN, otherwise UP
This mirrors the recent changes to gif(4) where the link is UP when a
tunnel is set, otherwise DOWN.
This mirrors the recent changes to gif(4) where the link is UP when a
tunnel is set, otherwise DOWN.
MAIN commitmail json YAML
l2tp: Set the link state UP if we have a tunnel, otherwise DOWN.
MAIN commitmail json YAML
ipsecif: Set the link state UP if we have a tunnel, otherwise DOWN.
MAIN commitmail json YAML
loop: set LINK_STATE_UP a touch earlier
MAIN commitmail json YAML
loop: this interface's link state cannot be anything other than UP
Let's not pretend it's UNKNOWN anymore.
Let's not pretend it's UNKNOWN anymore.
MAIN commitmail json YAML
gif: Set the link state UP if we have a tunnel, otherwise DOWN.
MAIN commitmail json YAML
carp: Don't set a link level address if vhid == -1
Link level address for carp is dervied from vhid.
Until vhid is set, carp is useless, so don't give it a link level address
until a vhid is set.
This fixes recent test case breakage where carp was fixed to actually
print the ethernet address set by default. Note that neither carp nor
the test case itself was actually broken as the error is the common
ATF net code assuming that a cloned interface's link level address is
unique upon creation.
Link level address for carp is dervied from vhid.
Until vhid is set, carp is useless, so don't give it a link level address
until a vhid is set.
This fixes recent test case breakage where carp was fixed to actually
print the ethernet address set by default. Note that neither carp nor
the test case itself was actually broken as the error is the common
ATF net code assuming that a cloned interface's link level address is
unique upon creation.
MAIN commitmail json YAML
src/sbin/ifconfig/ifconfig.c@1.248
/
diff
/
nxr@1.248
src/sbin/ifconfig/media.c@1.13 / diff / nxr@1.13
src/sbin/ifconfig/media.h@1.3 / diff / nxr@1.3
src/sbin/ifconfig/media.c@1.13 / diff / nxr@1.13
src/sbin/ifconfig/media.h@1.3 / diff / nxr@1.3
ifconfig: go back to using direct ioctls rather than data from getifaddrs
AF_LINK may not be the first address returned for the interface.
Technically, it *might* not even exist on the interface even though
other families do.
This is likely a driver bug if this really is the case though.
As such it's just easier to use direct ioctls rather than thump around
getifaddrs results. As it stands, the code makes a lot of getifaddrs
calls anyway, so an extra ioctl or two won't break the bank.
AF_LINK may not be the first address returned for the interface.
Technically, it *might* not even exist on the interface even though
other families do.
This is likely a driver bug if this really is the case though.
As such it's just easier to use direct ioctls rather than thump around
getifaddrs results. As it stands, the code makes a lot of getifaddrs
calls anyway, so an extra ioctl or two won't break the bank.
MAIN commitmail json YAML
powerd: Stop crashing if entries are not found in the dictionary
If the first three are not found, log a diagnostic and do nothing.
If the latter two are not found, set them to NULL rather than garbage.
If the first three are not found, log a diagnostic and do nothing.
If the latter two are not found, set them to NULL rather than garbage.
MAIN commitmail json YAML
src/share/man/man4/carp.4@1.8
/
diff
/
nxr@1.8
src/sys/netinet/ip_carp.c@1.113 / diff / nxr@1.113
src/sys/netinet/ip_carp.h@1.12 / diff / nxr@1.12
src/sys/netinet/ip_carp.c@1.113 / diff / nxr@1.113
src/sys/netinet/ip_carp.h@1.12 / diff / nxr@1.12
carp: link state is DOWN until it becomes a MASTER
This is consitent with other BSD's handling of CARP and means
we don't have to carry a custom flag for it.
This is consitent with other BSD's handling of CARP and means
we don't have to carry a custom flag for it.
MAIN commitmail json YAML
Note update to dhcpcd-9.3.1
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.41
/
diff
/
nxr@1.41
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.24 / diff / nxr@1.24
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.44 / diff / nxr@1.44
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.25 / diff / nxr@1.25
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.15 / diff / nxr@1.15
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.25 / diff / nxr@1.25
src/external/bsd/dhcpcd/dist/src/logerr.c@1.10 / diff / nxr@1.10
src/external/bsd/dhcpcd/dist/src/privsep.c@1.9 / diff / nxr@1.9
src/external/bsd/dhcpcd/dist/src/script.c@1.11 / diff / nxr@1.11
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.24 / diff / nxr@1.24
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.44 / diff / nxr@1.44
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.25 / diff / nxr@1.25
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.15 / diff / nxr@1.15
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.25 / diff / nxr@1.25
src/external/bsd/dhcpcd/dist/src/logerr.c@1.10 / diff / nxr@1.10
src/external/bsd/dhcpcd/dist/src/privsep.c@1.9 / diff / nxr@1.9
src/external/bsd/dhcpcd/dist/src/script.c@1.11 / diff / nxr@1.11
Sync withn dhcpcd-9.3.1
MAIN commitmail json YAML
carp: Set ethernet address just before interface registation
Otherwise ifconfig reports SIOCGLIFADDR errors.
Otherwise ifconfig reports SIOCGLIFADDR errors.
MAIN commitmail json YAML
ifconfig: if SIOCGLIFADDR fails, continue to the next address
MAIN commitmail json YAML
carp: Remove media, software should use link status.
carp literally has no media just like ppp, vlan, etc.
carp literally has no media just like ppp, vlan, etc.
MAIN commitmail json YAML
net80211: Initialise the interface with a decent link state.
Link state transitions to UP when a node is joined and DOWN when left.
This means that with the interface UP, the link state could be UNKNOWN
for a while, implying it can be used in BSS mode.
Which is of course false.
Add a function to set an initial link state based on the operating mode.
Also call this when the operating mode changes.
Basically in BSS and MONITOR it starts off down.
BSS will transition UP and DOWN as before, MONITOR will stay down.
IBSS, AHDEMO and HOSTAP will remain as link unknown because the state is
..... unknown.
Link state transitions to UP when a node is joined and DOWN when left.
This means that with the interface UP, the link state could be UNKNOWN
for a while, implying it can be used in BSS mode.
Which is of course false.
Add a function to set an initial link state based on the operating mode.
Also call this when the operating mode changes.
Basically in BSS and MONITOR it starts off down.
BSS will transition UP and DOWN as before, MONITOR will stay down.
IBSS, AHDEMO and HOSTAP will remain as link unknown because the state is
..... unknown.
MAIN commitmail json YAML
Minor correction to prior
MAIN commitmail json YAML
ifconfig: Warn once more if media supported but no types
This reverts media.c -r1.7
This reverts media.c -r1.7
MAIN commitmail json YAML
ppp: Remove media
There is none after all.
Applications should be using ifi_link_state and not checking media.
There is none after all.
Applications should be using ifi_link_state and not checking media.
MAIN commitmail json YAML
Note import of dhcpcd-9.3.0
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/bpf.c@1.17
/
diff
/
nxr@1.17
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.40 / diff / nxr@1.40
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.23 / diff / nxr@1.23
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.43 / diff / nxr@1.43
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.24 / diff / nxr@1.24
src/external/bsd/dhcpcd/dist/src/if-options.c@1.28 / diff / nxr@1.28
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.24 / diff / nxr@1.24
src/external/bsd/dhcpcd/dist/src/logerr.c@1.9 / diff / nxr@1.9
src/external/bsd/dhcpcd/dist/src/privsep.c@1.8 / diff / nxr@1.8
src/external/bsd/dhcpcd/dist/src/script.c@1.10 / diff / nxr@1.10
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.40 / diff / nxr@1.40
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.23 / diff / nxr@1.23
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.43 / diff / nxr@1.43
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.24 / diff / nxr@1.24
src/external/bsd/dhcpcd/dist/src/if-options.c@1.28 / diff / nxr@1.28
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.24 / diff / nxr@1.24
src/external/bsd/dhcpcd/dist/src/logerr.c@1.9 / diff / nxr@1.9
src/external/bsd/dhcpcd/dist/src/privsep.c@1.8 / diff / nxr@1.8
src/external/bsd/dhcpcd/dist/src/script.c@1.10 / diff / nxr@1.10
Sync with dhcpcd-9.3.0
MAIN commitmail json YAML
soreadable() should consider so_rerror
MAIN commitmail json YAML
ifwatchd: Enable SO_RERROR to re-sync interface state.
Interface arrival, departure and link state changes will sync
and if different will be actioned.
Currently we do not track addresses, so any changes there are still lost.
Interface arrival, departure and link state changes will sync
and if different will be actioned.
Currently we do not track addresses, so any changes there are still lost.
MAIN commitmail json YAML
Add if_tap directory for DEBUG builds.
MAIN commitmail json YAML
Be like other tests and speciy the binary name we install
MAIN commitmail json YAML
Fix prior
MAIN commitmail json YAML
Add rump_open_tap
MAIN commitmail json YAML
src/tests/net/if_tap/Makefile@1.3
/
diff
/
nxr@1.3
src/tests/net/if_tap/rump_open_tap.c@1.1 / diff / nxr@1.1
src/tests/net/if_tap/t_tap.sh@1.11 / diff / nxr@1.11
src/tests/net/if_tap/rump_open_tap.c@1.1 / diff / nxr@1.1
src/tests/net/if_tap/t_tap.sh@1.11 / diff / nxr@1.11
tap(4): update the test so that we can open the tap to ping across a bridge
ping with tap closed to ensure it fails
ping with tap open to ensure it works
ping with tap closed to ensure it fails
ping with tap open to ensure it works
MAIN commitmail json YAML
src/distrib/sets/lists/tests/mi@1.932
/
diff
/
nxr@1.932
src/tests/net/Makefile@1.37 / diff / nxr@1.37
src/tests/net/if_vether/Makefile@1.1 / diff / nxr@1.1
src/tests/net/if_vether/t_vether.sh@1.1 / diff / nxr@1.1
src/tests/net/Makefile@1.37 / diff / nxr@1.37
src/tests/net/if_vether/Makefile@1.1 / diff / nxr@1.1
src/tests/net/if_vether/t_vether.sh@1.1 / diff / nxr@1.1
vether(4): Add ATF tests based on the tap(4) tests.
MAIN commitmail json YAML
inet: Treat LINK_STATE_UNKNOWN as LINK_STATE_UP when changing
It's something we have always done.
it's really rare for anything to transition to UNKNOWN from either
UP or DOWN, but technically it is possible.
It's something we have always done.
it's really rare for anything to transition to UNKNOWN from either
UP or DOWN, but technically it is possible.
MAIN commitmail json YAML
src/distrib/sets/lists/base/shl.mi@1.907
/
diff
/
nxr@1.907
src/distrib/sets/lists/comp/mi@1.2360 / diff / nxr@1.2360
src/distrib/sets/lists/comp/shl.mi@1.344 / diff / nxr@1.344
src/distrib/sets/lists/debug/mi@1.340 / diff / nxr@1.340
src/distrib/sets/lists/debug/shl.mi@1.266 / diff / nxr@1.266
src/sys/rump/net/Makefile.rumpnetcomp@1.23 / diff / nxr@1.23
src/sys/rump/net/lib/libvether/Makefile@1.1 / diff / nxr@1.1
src/sys/rump/net/lib/libvether/VETHER.ioconf@1.1 / diff / nxr@1.1
src/sys/rump/net/lib/libvether/vether_component.c@1.1 / diff / nxr@1.1
src/distrib/sets/lists/comp/mi@1.2360 / diff / nxr@1.2360
src/distrib/sets/lists/comp/shl.mi@1.344 / diff / nxr@1.344
src/distrib/sets/lists/debug/mi@1.340 / diff / nxr@1.340
src/distrib/sets/lists/debug/shl.mi@1.266 / diff / nxr@1.266
src/sys/rump/net/Makefile.rumpnetcomp@1.23 / diff / nxr@1.23
src/sys/rump/net/lib/libvether/Makefile@1.1 / diff / nxr@1.1
src/sys/rump/net/lib/libvether/VETHER.ioconf@1.1 / diff / nxr@1.1
src/sys/rump/net/lib/libvether/vether_component.c@1.1 / diff / nxr@1.1
rumpify vether(4)
MAIN commitmail json YAML
libtap: Improve comment
MAIN commitmail json YAML
Whitespace
MAIN commitmail json YAML
Fix build with clang.
MAIN commitmail json YAML
xinstall: define MAKE_NATIVE so our make parts compile
MAIN commitmail json YAML
ifconfig: Just look at if_data->ifi_link_state for carrier
It should be the sole source of truth.
if_data is also carried in ifa_data from getifaddrs(3) which saves
more ioctl calls.
It should be the sole source of truth.
if_data is also carried in ifa_data from getifaddrs(3) which saves
more ioctl calls.
MAIN commitmail json YAML
ifwatchd: remove SIOCGIFDATA and SIOCGIFMEDIA ioctls
getifaddrs(3) and route(4) provide all the data we need.
getifaddrs(3) and route(4) provide all the data we need.
MAIN commitmail json YAML
Note that opening and closing the tun/tap devices affects link state.
And how this influences Duplicate Address Detection.
And how this influences Duplicate Address Detection.
MAIN commitmail json YAML
tun: Report link state based on if the interface has been opened or not
This mirrors tap(4).
This mirrors tap(4).
MAIN commitmail json YAML
src/sys/net/if.c@1.483
/
diff
/
nxr@1.483
src/sys/net/if.h@1.288 / diff / nxr@1.288
src/sys/net/if_bridge.c@1.176 / diff / nxr@1.176
src/sys/net/if.h@1.288 / diff / nxr@1.288
src/sys/net/if_bridge.c@1.176 / diff / nxr@1.176
bridge: When an interface joins then mark addresses on it as tentative
The exact flow is detatch addresses, join bridge and then mark detached
addresses as tentative.
This ensures that Duplicate Address Detection for the joining interface
are performed across all members of the bridge.
The exact flow is detatch addresses, join bridge and then mark detached
addresses as tentative.
This ensures that Duplicate Address Detection for the joining interface
are performed across all members of the bridge.
MAIN commitmail json YAML
Wups, forgot to commit this with vether.
MAIN commitmail json YAML
bridge(4): Note that the bridge does not allow assignment of IP addresses
Document using vether(4) instead to get the same effect.
Document using vether(4) instead to get the same effect.
MAIN commitmail json YAML
tap(4): Improve the description to differentiate from vether(4)
MAIN commitmail json YAML
src/sys/arch/acorn32/conf/EB7500ATX@1.73
/
diff
/
nxr@1.73
src/sys/arch/acorn32/conf/GENERIC@1.134 / diff / nxr@1.134
src/sys/arch/acorn32/conf/INSTALL@1.87 / diff / nxr@1.87
src/sys/arch/alpha/conf/GENERIC@1.408 / diff / nxr@1.408
src/sys/arch/amd64/conf/ALL@1.164 / diff / nxr@1.164
src/sys/arch/amd64/conf/GENERIC@1.580 / diff / nxr@1.580
src/sys/arch/amd64/conf/MODULAR@1.17 / diff / nxr@1.17
src/sys/arch/amd64/conf/XEN3_DOM0@1.185 / diff / nxr@1.185
src/sys/arch/amd64/conf/XEN3_DOMU@1.96 / diff / nxr@1.96
src/sys/arch/amiga/conf/DRACO@1.195 / diff / nxr@1.195
src/sys/arch/amiga/conf/GENERIC@1.330 / diff / nxr@1.330
src/sys/arch/amiga/conf/GENERIC.in@1.146 / diff / nxr@1.146
src/sys/arch/amiga/conf/INSTALL@1.136 / diff / nxr@1.136
src/sys/arch/amigappc/conf/GENERIC@1.40 / diff / nxr@1.40
src/sys/arch/amigappc/conf/NULL@1.59 / diff / nxr@1.59
src/sys/arch/arc/conf/GENERIC@1.200 / diff / nxr@1.200
src/sys/arch/arc/conf/RAMDISK@1.84 / diff / nxr@1.84
src/sys/arch/arc/conf/RPC44@1.57 / diff / nxr@1.57
src/sys/arch/atari/conf/GENERIC.in@1.120 / diff / nxr@1.120
src/sys/arch/bebox/conf/GENERIC@1.164 / diff / nxr@1.164
:
(more 107 files)
src/sys/arch/acorn32/conf/GENERIC@1.134 / diff / nxr@1.134
src/sys/arch/acorn32/conf/INSTALL@1.87 / diff / nxr@1.87
src/sys/arch/alpha/conf/GENERIC@1.408 / diff / nxr@1.408
src/sys/arch/amd64/conf/ALL@1.164 / diff / nxr@1.164
src/sys/arch/amd64/conf/GENERIC@1.580 / diff / nxr@1.580
src/sys/arch/amd64/conf/MODULAR@1.17 / diff / nxr@1.17
src/sys/arch/amd64/conf/XEN3_DOM0@1.185 / diff / nxr@1.185
src/sys/arch/amd64/conf/XEN3_DOMU@1.96 / diff / nxr@1.96
src/sys/arch/amiga/conf/DRACO@1.195 / diff / nxr@1.195
src/sys/arch/amiga/conf/GENERIC@1.330 / diff / nxr@1.330
src/sys/arch/amiga/conf/GENERIC.in@1.146 / diff / nxr@1.146
src/sys/arch/amiga/conf/INSTALL@1.136 / diff / nxr@1.136
src/sys/arch/amigappc/conf/GENERIC@1.40 / diff / nxr@1.40
src/sys/arch/amigappc/conf/NULL@1.59 / diff / nxr@1.59
src/sys/arch/arc/conf/GENERIC@1.200 / diff / nxr@1.200
src/sys/arch/arc/conf/RAMDISK@1.84 / diff / nxr@1.84
src/sys/arch/arc/conf/RPC44@1.57 / diff / nxr@1.57
src/sys/arch/atari/conf/GENERIC.in@1.120 / diff / nxr@1.120
src/sys/arch/bebox/conf/GENERIC@1.164 / diff / nxr@1.164
:
(more 107 files)
vether: Add to kernel configurations
It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
MAIN commitmail json YAML
Note import of vether(4)
MAIN commitmail json YAML
tap: Report link state based on if the interface has been opened or not
While a nice addition, it does render tap(4) useless as a bridge(4)
endpoint. We now have vether(4) for use as bridge endpoint.
While a nice addition, it does render tap(4) useless as a bridge(4)
endpoint. We now have vether(4) for use as bridge endpoint.
MAIN commitmail json YAML
src/distrib/sets/lists/man/mi@1.1704
/
diff
/
nxr@1.1704
src/share/man/man4/Makefile@1.709 / diff / nxr@1.709
src/share/man/man4/vether.4@1.1 / diff / nxr@1.1
src/sys/net/files.net@1.29 / diff / nxr@1.29
src/sys/net/if_vether.c@1.1 / diff / nxr@1.1
src/share/man/man4/Makefile@1.709 / diff / nxr@1.709
src/share/man/man4/vether.4@1.1 / diff / nxr@1.1
src/sys/net/files.net@1.29 / diff / nxr@1.29
src/sys/net/if_vether.c@1.1 / diff / nxr@1.1
vether: Implement a virtual ethernet interface
The vether interface simulates a normal Ethernet interface by encapsulating
standard network frames with an Ethernet header, specifically for use as
a member in a bridge(4).
To use vether the administrator needs to configure an address onto the
interface so that packets can be routed to it. An Ethernet header will
be prepended and, if the vether interface is a member of a bridge(4),
the frame will show up there.
Taken from OpenBSD.
The vether interface simulates a normal Ethernet interface by encapsulating
standard network frames with an Ethernet header, specifically for use as
a member in a bridge(4).
To use vether the administrator needs to configure an address onto the
interface so that packets can be routed to it. An Ethernet header will
be prepended and, if the vether interface is a member of a bridge(4),
the frame will show up there.
Taken from OpenBSD.
MAIN commitmail json YAML
rump: Add weak alias for bridge_calc_link_state
MAIN commitmail json YAML
src/sys/net/if.c@1.482
/
diff
/
nxr@1.482
src/sys/net/if_bridge.c@1.175 / diff / nxr@1.175
src/sys/net/if_bridgevar.h@1.35 / diff / nxr@1.35
src/sys/net/if_bridge.c@1.175 / diff / nxr@1.175
src/sys/net/if_bridgevar.h@1.35 / diff / nxr@1.35
bridge: Calculate link state as the best link state of any member
If any member is LINK_STATE_UP then it's LINK_STATE_UP.
Otherwise if any member is LINK_STATE_UNKNOWN then it's LINK_STATE_UNKNOWN.
Otherwise it's LINK_STATE_DOWN.
If any member is LINK_STATE_UP then it's LINK_STATE_UP.
Otherwise if any member is LINK_STATE_UNKNOWN then it's LINK_STATE_UNKNOWN.
Otherwise it's LINK_STATE_DOWN.
MAIN commitmail json YAML
rump: Try to fix build
MAIN commitmail json YAML
ifconfig: We already have struct if_data in ifa_data.
So let's not bother with an ioctl we don't need.
So let's not bother with an ioctl we don't need.
MAIN commitmail json YAML
tap: Remove media from this virtual interface
It serves no purpose at all.
It serves no purpose at all.
MAIN commitmail json YAML
src/sys/net/if_ethersubr.c@1.289
/
diff
/
nxr@1.289
src/sys/net/if_vlan.c@1.153 / diff / nxr@1.153
src/sys/net/if_vlanvar.h@1.14 / diff / nxr@1.14
src/sys/net/if_vlan.c@1.153 / diff / nxr@1.153
src/sys/net/if_vlanvar.h@1.14 / diff / nxr@1.14
vlan: match the interface link state with that of the parent
Now addresses on a vlan will detach and undergo duplicate address
dectection on link state changes just as on a standard interface.
Now addresses on a vlan will detach and undergo duplicate address
dectection on link state changes just as on a standard interface.
MAIN commitmail json YAML
net: Add a callback to ifnet to notify of link state changes
MAIN commitmail json YAML
net: Fix the setting of if_link_state
Link state changes are not dependant on the interface being up, but we also
need to guard against more link state changes being scheduled when the
interface is being detached.
We do this by clearing the link queue but keeping if_link_sheduled = true.
We can check for this in both if_link_state_change() and
if_link_state_change_work() to abort early as there is no point in doing
anything if the interface is being detached because if_down() is called
in if_detach() after the workqueue has been drained to the same overall
effect.
Link state changes are not dependant on the interface being up, but we also
need to guard against more link state changes being scheduled when the
interface is being detached.
We do this by clearing the link queue but keeping if_link_sheduled = true.
We can check for this in both if_link_state_change() and
if_link_state_change_work() to abort early as there is no point in doing
anything if the interface is being detached because if_down() is called
in if_detach() after the workqueue has been drained to the same overall
effect.
MAIN commitmail json YAML
ifconfig: test cases want LINK_STATE_UNKNOWN to be treated as up.
MAIN commitmail json YAML
ifwatchd: Check link state if no media is supported on initial ups.
We can check this via SIOCGIFDATA and ifi_link_state.
We can check this via SIOCGIFDATA and ifi_link_state.
MAIN commitmail json YAML
src/sbin/ifconfig/ifconfig.8@1.120
/
diff
/
nxr@1.120
src/sbin/ifconfig/ifconfig.c@1.244 / diff / nxr@1.244
src/sbin/ifconfig/ifconfig.c@1.244 / diff / nxr@1.244
ifconfig: teach carrier test about ifi_link_state from SIOCGIFDATA
Because not all interfaces support media.
Because not all interfaces support media.
MAIN commitmail json YAML
src/sbin/ifconfig/ifconfig.c@1.243
/
diff
/
nxr@1.243
src/sbin/ifconfig/media.c@1.10 / diff / nxr@1.10
src/sbin/ifconfig/media.h@1.2 / diff / nxr@1.2
src/sys/net/if.h@1.285 / diff / nxr@1.285
src/sbin/ifconfig/media.c@1.10 / diff / nxr@1.10
src/sbin/ifconfig/media.h@1.2 / diff / nxr@1.2
src/sys/net/if.h@1.285 / diff / nxr@1.285
ifconfig: Report link state even if media is not supported
For AF_LINK addrs from getifaddrs(2), ifa_data is struct if_data.
This in turn holds ifi_link_state which we can use to report
link status if the interface does not support media where it's normally
reported.
Based on OpenBSD.
For AF_LINK addrs from getifaddrs(2), ifa_data is struct if_data.
This in turn holds ifi_link_state which we can use to report
link status if the interface does not support media where it's normally
reported.
Based on OpenBSD.
MAIN commitmail json YAML
arp tests: Delete ARP entry after failed ping test
As it might hang around in WAITDELETE for a few seconds.
As it might hang around in WAITDELETE for a few seconds.
MAIN commitmail json YAML
ndp_rtm: Only ping once
Pointless doing 3 pings.
On a slow system, it's possible that many RTM_MISS messages could
overflow into the next test.
Pointless doing 3 pings.
On a slow system, it's possible that many RTM_MISS messages could
overflow into the next test.
MAIN commitmail json YAML
arp_rtm: Only ping once
Pointless doing 10 pings.
On a slow system, it's possible that many RTM_MISS messages could
overflow into the next test.
Pointless doing 10 pings.
On a slow system, it's possible that many RTM_MISS messages could
overflow into the next test.
MAIN commitmail json YAML
Note ND changes for ARP and RFC 7048.
MAIN commitmail json YAML
9.99.73 welcomes SIOCGNBRINFO
MAIN commitmail json YAML
nd: give missed a default of ND_LLINFO_NOSTATE
It's impossible to miss from this state, where-as 0 is ND_LLINFO_INCOMPLETE
which we can miss from.
It's impossible to miss from this state, where-as 0 is ND_LLINFO_INCOMPLETE
which we can miss from.
MAIN commitmail json YAML
Don't check lifetime when testing published
MAIN commitmail json YAML
arp: Permanence is from the llentry, not the route
MAIN commitmail json YAML
ndp: Show U for Unreachable
MAIN commitmail json YAML
arp: Show U for Unreachable
MAIN commitmail json YAML
src/sys/net/nd.c@1.3
/
diff
/
nxr@1.3
src/sys/net/nd.h@1.3 / diff / nxr@1.3
src/sys/netinet/if_arp.c@1.297 / diff / nxr@1.297
src/sys/netinet6/nd6.c@1.274 / diff / nxr@1.274
src/sys/net/nd.h@1.3 / diff / nxr@1.3
src/sys/netinet/if_arp.c@1.297 / diff / nxr@1.297
src/sys/netinet6/nd6.c@1.274 / diff / nxr@1.274
Implement RFC 7048, making Neighbor Unreachability Detection less impatient
RFC 7048 Section 3 says in the UNREACHABLE state packets continue to be
sent to the link-layer address and then backoff exponentially.
We adjust this slightly and move to the INCOMPLETE state after
`nd_mmaxtries` probes and then start backing off.
This results in simpler code whilst providing a more robust model which
doubles the time to failure over what we did before.
We don't want to be back to the old ARP model where no unreachability
errors are returned because very few applications would look at
unreachability hints provided such as ND_LLINFO_UNREACHABLE or RTM_MISS.
RFC 7048 Section 3 says in the UNREACHABLE state packets continue to be
sent to the link-layer address and then backoff exponentially.
We adjust this slightly and move to the INCOMPLETE state after
`nd_mmaxtries` probes and then start backing off.
This results in simpler code whilst providing a more robust model which
doubles the time to failure over what we did before.
We don't want to be back to the old ARP model where no unreachability
errors are returned because very few applications would look at
unreachability hints provided such as ND_LLINFO_UNREACHABLE or RTM_MISS.
MAIN commitmail json YAML
src/sys/net/if_llatbl.h@1.18
/
diff
/
nxr@1.18
src/sys/net/nd.c@1.2 / diff / nxr@1.2
src/sys/net/nd.h@1.2 / diff / nxr@1.2
src/sys/netinet/if_arp.c@1.296 / diff / nxr@1.296
src/sys/netinet6/nd6.c@1.273 / diff / nxr@1.273
src/sys/net/nd.c@1.2 / diff / nxr@1.2
src/sys/net/nd.h@1.2 / diff / nxr@1.2
src/sys/netinet/if_arp.c@1.296 / diff / nxr@1.296
src/sys/netinet6/nd6.c@1.273 / diff / nxr@1.273
nd: Name l3addr union of llentry and use in-place of nd_addr.
Probably makes more sense and makes nd.h less messy.
Probably makes more sense and makes nd.h less messy.
MAIN commitmail json YAML
arp test: Use the ndp cache expiration test in place of the old one
As the logic is the same.
While here, GC some variables and comment out a redundant sleep.
As the logic is the same.
While here, GC some variables and comment out a redundant sleep.
MAIN commitmail json YAML
nd needs arp or inet6. inet is not enough.
MAIN commitmail json YAML
inet: Fix build without ARP
MAIN commitmail json YAML
Include nd.h in sets
MAIN commitmail json YAML
rump: Add nd.c to libnet
MAIN commitmail json YAML
kdump: include netinet/in_var.h to access in_nbrinfo
MAIN commitmail json YAML
src/usr.sbin/arp/arp.8@1.25
/
diff
/
nxr@1.25
src/usr.sbin/arp/arp.c@1.66 / diff / nxr@1.66
src/usr.sbin/arp/arp_hostops.c@1.3 / diff / nxr@1.3
src/usr.sbin/arp/arp_rumpops.c@1.3 / diff / nxr@1.3
src/usr.sbin/arp/prog_ops.h@1.3 / diff / nxr@1.3
src/usr.sbin/arp/arp.c@1.66 / diff / nxr@1.66
src/usr.sbin/arp/arp_hostops.c@1.3 / diff / nxr@1.3
src/usr.sbin/arp/arp_rumpops.c@1.3 / diff / nxr@1.3
src/usr.sbin/arp/prog_ops.h@1.3 / diff / nxr@1.3
arp: Use SIOCGNBRINFO to display neighbor state information
MAIN commitmail json YAML
src/sys/netinet/in.c@1.240
/
diff
/
nxr@1.240
src/sys/netinet/in_var.h@1.98 / diff / nxr@1.98
src/sys/sys/sockio.h@1.39 / diff / nxr@1.39
src/sys/netinet/in_var.h@1.98 / diff / nxr@1.98
src/sys/sys/sockio.h@1.39 / diff / nxr@1.39
inet: Add SIOCGNBRINFO to retrieve neighbor state about an address
MAIN commitmail json YAML
in: No need to set expire here anymore
MAIN commitmail json YAML
sysctl: Adjust man page for new ARP sysctl ND settings
MAIN commitmail json YAML
src/sys/net/if_llatbl.c@1.33
/
diff
/
nxr@1.33
src/sys/netinet/if_arp.c@1.295 / diff / nxr@1.295
src/sys/netinet/if_inarp.h@1.52 / diff / nxr@1.52
src/sys/netinet/tcp_input.c@1.422 / diff / nxr@1.422
src/sys/netinet/if_arp.c@1.295 / diff / nxr@1.295
src/sys/netinet/if_inarp.h@1.52 / diff / nxr@1.52
src/sys/netinet/tcp_input.c@1.422 / diff / nxr@1.422
ARP: Use ND rather than our own.
This brings the benefit of Neighbour Unreachability Detection which is
something ARP sorely lacks.
The new timings mirror those of IPv6 and are adjustable via sysctl(8).
Unlike IPv6 ND, these are global and not per interface.
This brings the benefit of Neighbour Unreachability Detection which is
something ARP sorely lacks.
The new timings mirror those of IPv6 and are adjustable via sysctl(8).
Unlike IPv6 ND, these are global and not per interface.
MAIN commitmail json YAML
tcp_input: Adjust for ND changes
MAIN commitmail json YAML
src/sys/netinet6/icmp6.c@1.247
/
diff
/
nxr@1.247
src/sys/netinet6/nd6.c@1.272 / diff / nxr@1.272
src/sys/netinet6/nd6.h@1.91 / diff / nxr@1.91
src/sys/netinet6/nd6_nbr.c@1.181 / diff / nxr@1.181
src/sys/netinet6/nd6.c@1.272 / diff / nxr@1.272
src/sys/netinet6/nd6.h@1.91 / diff / nxr@1.91
src/sys/netinet6/nd6_nbr.c@1.181 / diff / nxr@1.181
inet6: Use generic Neighor Detection rather than IPv6 specific
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
if_llatbl.c: adjust for nd changes
MAIN commitmail json YAML
src/sys/net/Makefile@1.44
/
diff
/
nxr@1.44
src/sys/net/files.net@1.27 / diff / nxr@1.27
src/sys/net/nd.c@1.1 / diff / nxr@1.1
src/sys/net/nd.h@1.1 / diff / nxr@1.1
src/sys/net/files.net@1.27 / diff / nxr@1.27
src/sys/net/nd.c@1.1 / diff / nxr@1.1
src/sys/net/nd.h@1.1 / diff / nxr@1.1
Implement address agnostic Neighbor Detection.
This is heavily based on IPv6 Neighbor Detection and allows per protocol
timers which also facilitate Neighor Unreachability Detection.
This is heavily based on IPv6 Neighbor Detection and allows per protocol
timers which also facilitate Neighor Unreachability Detection.
MAIN commitmail json YAML
Note dhcpcd update
MAIN commitmail json YAML
dhcpcd: Use ppoll(2)
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/dhcp.c@1.39
/
diff
/
nxr@1.39
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in@1.8 / diff / nxr@1.8
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.42 / diff / nxr@1.42
src/external/bsd/dhcpcd/dist/src/if-options.c@1.27 / diff / nxr@1.27
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.14 / diff / nxr@1.14
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.23 / diff / nxr@1.23
src/external/bsd/dhcpcd/dist/src/logerr.c@1.8 / diff / nxr@1.8
src/external/bsd/dhcpcd/dist/src/privsep.c@1.7 / diff / nxr@1.7
src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in@1.8 / diff / nxr@1.8
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.42 / diff / nxr@1.42
src/external/bsd/dhcpcd/dist/src/if-options.c@1.27 / diff / nxr@1.27
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.14 / diff / nxr@1.14
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.23 / diff / nxr@1.23
src/external/bsd/dhcpcd/dist/src/logerr.c@1.8 / diff / nxr@1.8
src/external/bsd/dhcpcd/dist/src/privsep.c@1.7 / diff / nxr@1.7
Sync
MAIN commitmail json YAML
Sprinkle some const
MAIN commitmail json YAML
icmp6: Remove __packed attribute from icmp6 structures
They should naturally align.
Add compile time assertations to icmp6.c to prove this.
They should naturally align.
Add compile time assertations to icmp6.c to prove this.
MAIN commitmail json YAML
ip6: Remove __packed attribute from ip6 structures
They should naturally align.
Add compile time assertations to ip6_input.c to prove this.
They should naturally align.
Add compile time assertations to ip6_input.c to prove this.
MAIN commitmail json YAML
mdnsd: Make the unable to parse resolv.conf message informative
resovconf will SIGHUP mdnsd when resolv.conf changes so this message
should not be an error.
resovconf will SIGHUP mdnsd when resolv.conf changes so this message
should not be an error.
MAIN commitmail json YAML
Note openresolv update
MAIN commitmail json YAML
src/distrib/sets/lists/base/mi@1.1256
/
diff
/
nxr@1.1256
src/etc/mtree/NetBSD.dist.base@1.222 / diff / nxr@1.222
src/etc/mtree/NetBSD.dist.base@1.222 / diff / nxr@1.222
Note the new resolvconf files
MAIN commitmail json YAML
src/external/bsd/openresolv/Makefile@1.2
/
diff
/
nxr@1.2
src/external/bsd/openresolv/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/openresolv/libexec/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/openresolv/libexec/libc.d/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/openresolv/libexec/resolvconf/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/openresolv/sbin/resolvconf/Makefile@1.10 / diff / nxr@1.10
src/external/bsd/openresolv/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/openresolv/libexec/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/openresolv/libexec/libc.d/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/openresolv/libexec/resolvconf/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/openresolv/sbin/resolvconf/Makefile@1.10 / diff / nxr@1.10
openresolv: Rework the build system to cope with more directories
While here, install avahi-daemon and mdnsd notifiers for when
/etc/resolv.conf is updated.
While here, install avahi-daemon and mdnsd notifiers for when
/etc/resolv.conf is updated.
MAIN commitmail json YAML
mdnsd: starting and stopping are informational messages
MAIN commitmail json YAML
src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c@1.17
/
diff
/
nxr@1.17
src/external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c@1.6 / diff / nxr@1.6
src/external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c@1.6 / diff / nxr@1.6
mdnsd: Treat EADDRNOTAVAIL as a transient error
MAIN commitmail json YAML
src/external/bsd/wpa/dist/wpa_supplicant/events.c@1.8
/
diff
/
nxr@1.8
src/external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant.c@1.11 / diff / nxr@1.11
src/external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant_i.h@1.5 / diff / nxr@1.5
src/external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant.c@1.11 / diff / nxr@1.11
src/external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant_i.h@1.5 / diff / nxr@1.5
wpa_supplicant: Matching unspecified interfaces should not log driver fails
If there is no matching interface given, but interface matching is enabled
then all interfaces on the system will try to be initialized.
Non wireless interfaces will fail and the loopback device will be one
of these, so just log a diagnostic rather than an error.
If there is no matching interface given, but interface matching is enabled
then all interfaces on the system will try to be initialized.
Non wireless interfaces will fail and the loopback device will be one
of these, so just log a diagnostic rather than an error.
MAIN commitmail json YAML
wpa_supplicant: Don't report an error when there are no op classes to add
Instead, log a diagnostic so that noise to the user is reduced.
Instead, log a diagnostic so that noise to the user is reduced.
MAIN commitmail json YAML
wpa_supplicant: don't log SIOCG80211 errors during interface setup
Unless debugging.
wpa_supplicant will log it failed to initialized the driver for the
interface anyway so this just silences some noise for users.
Unless debugging.
wpa_supplicant will log it failed to initialized the driver for the
interface anyway so this just silences some noise for users.
MAIN commitmail json YAML
unbreak build, put /var/db/dhcpcd into the set lists
MAIN commitmail json YAML
Add /var/db/dhcpcd back
MAIN commitmail json YAML
Note import of dhcpcd-9.1.4
MAIN commitmail json YAML
dhcpcd: Fix SMALL build
MAIN commitmail json YAML
Note import of dhcpcd-9.1.3
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.22
/
diff
/
nxr@1.22
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.40 / diff / nxr@1.40
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.23 / diff / nxr@1.23
src/external/bsd/dhcpcd/dist/src/if-options.c@1.26 / diff / nxr@1.26
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.13 / diff / nxr@1.13
src/external/bsd/dhcpcd/dist/src/ipv6.h@1.12 / diff / nxr@1.12
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.22 / diff / nxr@1.22
src/external/bsd/dhcpcd/dist/src/logerr.c@1.6 / diff / nxr@1.6
src/external/bsd/dhcpcd/dist/src/privsep.c@1.6 / diff / nxr@1.6
src/external/bsd/dhcpcd/dist/src/script.c@1.9 / diff / nxr@1.9
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.40 / diff / nxr@1.40
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.23 / diff / nxr@1.23
src/external/bsd/dhcpcd/dist/src/if-options.c@1.26 / diff / nxr@1.26
src/external/bsd/dhcpcd/dist/src/ipv6.c@1.13 / diff / nxr@1.13
src/external/bsd/dhcpcd/dist/src/ipv6.h@1.12 / diff / nxr@1.12
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.22 / diff / nxr@1.22
src/external/bsd/dhcpcd/dist/src/logerr.c@1.6 / diff / nxr@1.6
src/external/bsd/dhcpcd/dist/src/privsep.c@1.6 / diff / nxr@1.6
src/external/bsd/dhcpcd/dist/src/script.c@1.9 / diff / nxr@1.9
Sync
MAIN commitmail json YAML
Adjust prior to enforce minimum socket length includes sa_family
Not that the code strictly needs it, but if the macro is ever used
elsewhere then it makes sense as every sockaddr must have it.
The rest of the structure is dictated by the family and in some cases,
truncated on purpose so this is fine.
Not that the code strictly needs it, but if the macro is ever used
elsewhere then it makes sense as every sockaddr must have it.
The rest of the structure is dictated by the family and in some cases,
truncated on purpose so this is fine.
MAIN commitmail json YAML
Ensure sockaddrs have valid lengths for RO_MISSFILTER.
Thanks to maxv@ for spotting this.
Thanks to maxv@ for spotting this.
MAIN commitmail json YAML
src/lib/libterminfo/compile.c@1.26
/
diff
/
nxr@1.26
src/lib/libterminfo/term_private.h@1.19 / diff / nxr@1.19
src/lib/libterminfo/term_private.h@1.19 / diff / nxr@1.19
libterminfo: cast to uint16/32_t before conversion to preserve negativity
Otherwise the ABSENT_NUMERIC(-1) or CANCELLED_NUMERIC(-2) will be converted
incorrectly to size_t and then down to uint16/32_t.
Picked up by DIAGNOSTIC builds.
Thanks to Michael Forney for the fix for PR lib/52293.
Otherwise the ABSENT_NUMERIC(-1) or CANCELLED_NUMERIC(-2) will be converted
incorrectly to size_t and then down to uint16/32_t.
Picked up by DIAGNOSTIC builds.
Thanks to Michael Forney for the fix for PR lib/52293.
MAIN commitmail json YAML
icmp6.h: #define ND_RA_FLAG_PROXY
RFC 4389, experimental. Maybe someone will implement it one day.
RFC 4389, experimental. Maybe someone will implement it one day.
MAIN commitmail json YAML
icmp6.h: #define ND_OPT_PI_FLAG_ROUTER
We already define ND_RA_FLAG_HOME_AGENT and that kind of requires
ND_OPT_PI_FLAG_ROUTER.
We already define ND_RA_FLAG_HOME_AGENT and that kind of requires
ND_OPT_PI_FLAG_ROUTER.
MAIN commitmail json YAML
Note import of dhcpcd-9.1.2
MAIN commitmail json YAML
dhcpcd: Build privsep resource limited sandbox.
MAIN commitmail json YAML
src/external/bsd/dhcpcd/dist/src/bpf.c@1.16
/
diff
/
nxr@1.16
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.21 / diff / nxr@1.21
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.39 / diff / nxr@1.39
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.22 / diff / nxr@1.22
src/external/bsd/dhcpcd/dist/src/if-options.c@1.25 / diff / nxr@1.25
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.21 / diff / nxr@1.21
src/external/bsd/dhcpcd/dist/src/logerr.c@1.5 / diff / nxr@1.5
src/external/bsd/dhcpcd/dist/src/privsep.c@1.5 / diff / nxr@1.5
src/external/bsd/dhcpcd/dist/src/script.c@1.8 / diff / nxr@1.8
src/external/bsd/dhcpcd/dist/src/dhcp6.c@1.21 / diff / nxr@1.21
src/external/bsd/dhcpcd/dist/src/dhcpcd.c@1.39 / diff / nxr@1.39
src/external/bsd/dhcpcd/dist/src/if-bsd.c@1.22 / diff / nxr@1.22
src/external/bsd/dhcpcd/dist/src/if-options.c@1.25 / diff / nxr@1.25
src/external/bsd/dhcpcd/dist/src/ipv6nd.c@1.21 / diff / nxr@1.21
src/external/bsd/dhcpcd/dist/src/logerr.c@1.5 / diff / nxr@1.5
src/external/bsd/dhcpcd/dist/src/privsep.c@1.5 / diff / nxr@1.5
src/external/bsd/dhcpcd/dist/src/script.c@1.8 / diff / nxr@1.8
Sync
MAIN commitmail json YAML
inet6: Allow addresses to be marked AUTOCONF from userland
MAIN commitmail json YAML
SCTP: Use ifp->if_mtu rather than ND_IFINFO(ifp)->linkmtu
MAIN commitmail json YAML
ndp: Sync usage and SYNPOSIS with reality
MAIN commitmail json YAML
Add nd6.h compat header
MAIN commitmail json YAML
Revert accidental part of prior
MAIN commitmail json YAML
9.99.66 welcomes the removal of in-kernel RA handling
MAIN commitmail json YAML
Note removal of RA handling.
MAIN commitmail json YAML
src/distrib/sets/lists/tests/mi@1.843
/
diff
/
nxr@1.843
src/etc/mtree/Makefile@1.43 / diff / nxr@1.43
src/etc/rc.d/network@1.79 / diff / nxr@1.79
src/sys/compat/common/if_43.c@1.25 / diff / nxr@1.25
src/sys/compat/netinet6/in6_var.h@1.6 / diff / nxr@1.6
src/sys/net/if.c@1.478 / diff / nxr@1.478
src/sys/net/if_vlan.c@1.152 / diff / nxr@1.152
src/sys/netinet/icmp6.h@1.54 / diff / nxr@1.54
src/sys/netinet/tcp_output.c@1.213 / diff / nxr@1.213
src/sys/netinet/tcp_subr.c@1.284 / diff / nxr@1.284
src/sys/netinet6/icmp6.c@1.245 / diff / nxr@1.245
src/sys/netinet6/in6.c@1.278 / diff / nxr@1.278
src/sys/netinet6/in6.h@1.99 / diff / nxr@1.99
src/sys/netinet6/in6_ifattach.c@1.119 / diff / nxr@1.119
src/sys/netinet6/in6_proto.c@1.128 / diff / nxr@1.128
src/sys/netinet6/in6_var.h@1.103 / diff / nxr@1.103
src/sys/netinet6/ip6_forward.c@1.99 / diff / nxr@1.99
src/sys/netinet6/ip6_input.c@1.216 / diff / nxr@1.216
src/sys/netinet6/ip6_mroute.c@1.132 / diff / nxr@1.132
src/sys/netinet6/ip6_output.c@1.223 / diff / nxr@1.223
:
(more 10 files)
src/etc/mtree/Makefile@1.43 / diff / nxr@1.43
src/etc/rc.d/network@1.79 / diff / nxr@1.79
src/sys/compat/common/if_43.c@1.25 / diff / nxr@1.25
src/sys/compat/netinet6/in6_var.h@1.6 / diff / nxr@1.6
src/sys/net/if.c@1.478 / diff / nxr@1.478
src/sys/net/if_vlan.c@1.152 / diff / nxr@1.152
src/sys/netinet/icmp6.h@1.54 / diff / nxr@1.54
src/sys/netinet/tcp_output.c@1.213 / diff / nxr@1.213
src/sys/netinet/tcp_subr.c@1.284 / diff / nxr@1.284
src/sys/netinet6/icmp6.c@1.245 / diff / nxr@1.245
src/sys/netinet6/in6.c@1.278 / diff / nxr@1.278
src/sys/netinet6/in6.h@1.99 / diff / nxr@1.99
src/sys/netinet6/in6_ifattach.c@1.119 / diff / nxr@1.119
src/sys/netinet6/in6_proto.c@1.128 / diff / nxr@1.128
src/sys/netinet6/in6_var.h@1.103 / diff / nxr@1.103
src/sys/netinet6/ip6_forward.c@1.99 / diff / nxr@1.99
src/sys/netinet6/ip6_input.c@1.216 / diff / nxr@1.216
src/sys/netinet6/ip6_mroute.c@1.132 / diff / nxr@1.132
src/sys/netinet6/ip6_output.c@1.223 / diff / nxr@1.223
:
(more 10 files)
Remove in-kernel handling of Router Advertisements
This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html
Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.
Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.
Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).
This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html
Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.
Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.
Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).