Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Zhenlei Huang
> On Nov 20, 2023, at 5:35 AM, Mina Galić wrote: > > Hi Zhenlei, > > >> Since it is just for physical devices, may I propose to have the driver name >> in their groups ? >> >> So an if_ure interface ue0 will look like: >> >> ``` >> ue0: flags=1008843 metric 0 >> mtu 1500 >> >>

Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Mina Galić
Hi Zhenlei, > Since it is just for physical devices, may I propose to have the driver name > in their groups ? > > So an if_ure interface ue0 will look like: > > ``` > ue0: flags=1008843 metric 0 > mtu 1500 > > options=60009b > > ether 00:e0:4c:xx:xx:xx > media: Ethernet autoselect

Problem reports for n...@freebsd.org that need special attention

2023-11-19 Thread bugzilla-noreply
To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and

[Bug 275001] if_wg: Missing radix unlock can cause deadlock

2023-11-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275001 --- Comment #5 from commit-h...@freebsd.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=16c65f7ae15e6ca8b36fc546e038c59270c87ccc commit 16c65f7ae15e6ca8b36fc546e038c59270c87ccc

[Bug 275001] if_wg: Missing radix unlock can cause deadlock

2023-11-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275001 --- Comment #4 from commit-h...@freebsd.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9ed67f1307f40b3173ea3b3889c6323f9ef4a58f commit 9ed67f1307f40b3173ea3b3889c6323f9ef4a58f

Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Mike Karels
On 19 Nov 2023, at 13:13, Mina Galić wrote: > Hi Mike, > >> The kernel has a driver name for each interface, which looks like it >> doesn't change currently in most cases. There is a kernel accessor >> function, but I don't think it is exported to user space now. It could >> be, though. Would

Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Mina Galić
Hi Mike, > The kernel has a driver name for each interface, which looks like it > doesn't change currently in most cases. There is a kernel accessor > function, but I don't think it is exported to user space now. It could > be, though. Would this be sufficient for your purposes? There is also > a

Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Zhenlei Huang
> On Nov 19, 2023, at 10:34 PM, Mina Galić wrote: > > > >>> FreeBSD currently does not preserve the old ( original ) name of >>> interfaces if it is renamed ( either physical or cloned ones ). >>> While there's an attempt https://reviews.freebsd.org/D28247 >>> to get the device name

Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Özkan KIRIK
Hi Mina, Let's explain with a small example: In this scenario, we are going to add two alternate names for the "lo" interface. And then we can access to the interface using all of the names: lo, test1, test2 # ip link show lo 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group

Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Mike Karels
On 19 Nov 2023, at 8:34, Mina Galić wrote: >>> FreeBSD currently does not preserve the old ( original ) name of >>> interfaces if it is renamed ( either physical or cloned ones ). >>> While there's an attempt https://reviews.freebsd.org/D28247 >>> to get the device name (physical >>> ones) but it

Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Mina Galić
Hi Özkan, > It would be better if FreeBSD could have "interface altname feature" > like Linux has. even tho I'm writing this email from a Linux laptop, and often have to understand Linux specific code to see how I can (or if I need to) replicate that on FreeBSD, I'm not familiar enough with

Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Mina Galić
> > FreeBSD currently does not preserve the old ( original ) name of > > interfaces if it is renamed ( either physical or cloned ones ). > > While there's an attempt https://reviews.freebsd.org/D28247 > > to get the device name (physical > > ones) but it is not perfect and not completed. > > >

Re: How to tell if a network interface was renamed (and from what)

2023-11-19 Thread Özkan KIRIK
It would be better if FreeBSD could have "interface altname feature" like Linux has. Kyle Evans , 19 Kas 2023 Paz, 07:50 tarihinde şunu yazdı: > > On 11/18/23 19:15, Zhenlei Huang wrote: > > > > > >> On Nov 19, 2023, at 6:20 AM, Mina Galić >> > wrote: > >> > >> Hi