Bug 205368 - fails to shut down IPv6 loopback interfaces
Summary: fails to shut down IPv6 loopback interfaces
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: Alexander V. Chernikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-16 22:28 UTC by cwf-ml
Modified: 2021-04-23 22:19 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cwf-ml 2015-12-16 22:28:16 UTC
FreeBSD 10.1 and 10.2 will not shut down IPv6 loopback interfaces properly. 
Loopback Interfaces continue to function for IPv6 even when set "down", while IPv4 on the very same interface behaves correctly:

nxnew# [~] uname -a
FreeBSD nxnew.whatever 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
nxnew# [~] ifconfig lo1 create
nxnew# [~] ifconfig lo1 192.168.255.255/32
nxnew# [~] ifconfig lo1 inet6 fe80::1
nxnew# [~] ifconfig lo1 inet6 2001:db8:c01:ff::1/128

nxnew# [~] ping6  2001:db8:c01:ff::1
PING6(56=40+8+8 bytes) 2001:db8:c01:ff::1 --> 2001:db8:c01:ff::1
16 bytes from 2001:db8:c01:ff::1, icmp_seq=0 hlim=64 time=0.107 ms
16 bytes from 2001:db8:c01:ff::1, icmp_seq=1 hlim=64 time=0.058 ms
^C
--- 2001:db8:c01:ff::1 ping6 statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.058/0.083/0.107/0.024 ms

nxnew# [~] ifconfig lo1 down

nxnew# [~]  ping6 -c 2  2001:db8:c01:ff::1
PING6(56=40+8+8 bytes) 2001:db8:c01:ff::1 --> 2001:db8:c01:ff::1
16 bytes from 2001:db8:c01:ff::1, icmp_seq=0 hlim=64 time=0.091 ms
16 bytes from 2001:db8:c01:ff::1, icmp_seq=1 hlim=64 time=0.053 ms

--- 2001:db8:c01:ff::1 ping6 statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.053/0.072/0.091/0.019 ms

nxnew# [~] ping -c 2 192.168.255.255
PING 192.168.255.255 (192.168.255.255): 56 data bytes

--- 192.168.255.255 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
Comment 1 Alexander V. Chernikov freebsd_committer freebsd_triage 2021-04-23 22:19:07 UTC
Well, it's certainly been fixed in one way or the other - I'm not able to reproduce this on the supported FreeBSD release.

I would like to apologise that this bug hasn't received any attention when it was needed.

It looks like right now 10.x has reached EOL, so I'm going to close this bug.
Please do reopen if you run into the issue in one of the supported releases.