Page MenuHomeFreeBSD
Feed Advanced Search

Oct 20 2022

bz added a comment to D37070: ifconfig(8): scan list SSID UTF-32 support.

See also https://reviews.freebsd.org/D32847

Oct 20 2022, 3:29 PM · network, wireless
enweiwu updated the test plan for D37070: ifconfig(8): scan list SSID UTF-32 support.
Oct 20 2022, 3:11 PM · network, wireless
enweiwu requested review of D37070: ifconfig(8): scan list SSID UTF-32 support.
Oct 20 2022, 3:10 PM · network, wireless

Oct 15 2022

kp closed D36691: if_me: Use dedicated network privilege.
Oct 15 2022, 3:23 PM · network

Oct 13 2022

zlei added a comment to D36691: if_me: Use dedicated network privilege.
In D36691#839695, @kp wrote:

What problem does this fix? In other words, what is the motivation for this change?

No known problems.
When I was trying to resolve https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266712, I dug into the privileges design. I checked multiple tunnel interface implementations and found that if_me shares network privilege with if_gre. Intuitively this would confuse consumer. Fortunately there is no other consumers in base system.

Is there a use case for separating the GRE and ME privs? It's conceptually cleaner, but it could (theoretically at least, I doubt anyone actually does this) break existing configurations that rely on granting PRIV_NET_GRE to administer me interfaces.

There is no other consumers (of PRIV_NET_GRE) in base system, except for if_gre and if_me. I have not checked ports yet but it should be easy to fix ( in ports ).

Oct 13 2022, 2:53 PM · network
kp added a comment to D36691: if_me: Use dedicated network privilege.

What problem does this fix? In other words, what is the motivation for this change?

Oct 13 2022, 8:36 AM · network

Oct 9 2022

zlei added inline comments to D36691: if_me: Use dedicated network privilege.
Oct 9 2022, 1:12 AM · network

Oct 7 2022

kp closed D36855: if_vxlan(4): Correct the statistic for output bytes.
Oct 7 2022, 11:46 AM · network

Oct 6 2022

zlei added inline comments to D36855: if_vxlan(4): Correct the statistic for output bytes.
Oct 6 2022, 4:39 PM · network
zlei added a reviewer for D36855: if_vxlan(4): Correct the statistic for output bytes: bryanv.
Oct 6 2022, 4:27 PM · network
zlei updated the diff for D36855: if_vxlan(4): Correct the statistic for output bytes.

The IPv4/IPv6 over IPv6 vxlan looks good after test.

  1. Rebase
  2. Update as @bryanv suggested.
Oct 6 2022, 4:25 PM · network
zlei added inline comments to D36855: if_vxlan(4): Correct the statistic for output bytes.
Oct 6 2022, 6:22 AM · network

Oct 5 2022

kp closed D36841: if_vxlan(4): Add missing statistic for input packets.
Oct 5 2022, 10:40 AM · network
bryanv added inline comments to D36855: if_vxlan(4): Correct the statistic for output bytes.
Oct 5 2022, 5:04 AM · network

Oct 4 2022

bryanv accepted D36841: if_vxlan(4): Add missing statistic for input packets.
Oct 4 2022, 7:44 PM · network
mjg added a comment to D36872: ifnet: Make if_inc_counter() a static inline function.

I would expect there are other avoidable slowdowns which prevent realizing the benefit.

Oct 4 2022, 7:17 AM · network
zlei added a comment to D36872: ifnet: Make if_inc_counter() a static inline function.

Is there any performance increase?

Oct 4 2022, 7:06 AM · network
glebius added a comment to D36872: ifnet: Make if_inc_counter() a static inline function.
In D36872#837077, @zlei.huang_gmail.com wrote:

For 12.x, i386 is Tier 1 supported platform. The counter_u64_add() still has runtime branches.

Oct 4 2022, 7:04 AM · network
glebius requested changes to D36872: ifnet: Make if_inc_counter() a static inline function.

There is a long trend in FreeBSD to make struct ifnet as less visible to drivers as possible. Ideally make it fully opaque. That will allow to change struct ifnet without breaking KBI of drivers. Some years ago I was really close, see https://svnweb.freebsd.org/base/projects/ifnet/. Actually today we have less drivers and this project is worth resurrecting, if I or somebody else have time for it.

Oct 4 2022, 7:02 AM · network
zlei added a comment to D36872: ifnet: Make if_inc_counter() a static inline function.

For 12.x, i386 is Tier 1 supported platform. The counter_u64_add() still has runtime branches.

Oct 4 2022, 7:01 AM · network
glebius added a comment to D36872: ifnet: Make if_inc_counter() a static inline function.

Is there any performance increase?

Oct 4 2022, 6:57 AM · network
zlei added a reviewer for D36872: ifnet: Make if_inc_counter() a static inline function: glebius.
Oct 4 2022, 6:56 AM · network
zlei requested review of D36872: ifnet: Make if_inc_counter() a static inline function.
Oct 4 2022, 6:53 AM · network

Oct 2 2022

zlei updated the test plan for D36855: if_vxlan(4): Correct the statistic for output bytes.
Oct 2 2022, 9:25 AM · network
zlei requested review of D36855: if_vxlan(4): Correct the statistic for output bytes.
Oct 2 2022, 9:24 AM · network

Sep 30 2022

zlei requested review of D36841: if_vxlan(4): Add missing statistic for input packets.
Sep 30 2022, 4:01 PM · network
kp closed D36794: if_vxlan(4): Check the size of data available in mbuf before using them.
Sep 30 2022, 11:59 AM · network
kp accepted D36794: if_vxlan(4): Check the size of data available in mbuf before using them.
Sep 30 2022, 9:54 AM · network
zlei added inline comments to D36794: if_vxlan(4): Check the size of data available in mbuf before using them.
Sep 30 2022, 9:20 AM · network
kp added a comment to D36794: if_vxlan(4): Check the size of data available in mbuf before using them.

This looks sane to me. We really do have to make sure there's enough contiguous data before we access it.

Sep 30 2022, 9:11 AM · network

Sep 29 2022

zlei added inline comments to D36794: if_vxlan(4): Check the size of data available in mbuf before using them.
Sep 29 2022, 2:12 PM · network
zlei requested review of D36794: if_vxlan(4): Check the size of data available in mbuf before using them.
Sep 29 2022, 2:08 PM · network

Sep 25 2022

zlei requested review of D36691: if_me: Use dedicated network privilege.
Sep 25 2022, 4:42 AM · network

Sep 21 2022

firk_cantconnect.ru updated the diff for D34557: UNIX-socket bind(): distinguish between alive listening socket and random garbage.

Document the change in man pages.

Sep 21 2022, 10:57 PM · network
firk_cantconnect.ru added a comment to D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.

I can't see how this can be used maliciously, e.g. forcing some application outside of jail to send its SCM_RIGHTS to a jail.

Sep 21 2022, 9:33 PM · network, Jails, security

Sep 19 2022

zlei added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.
In D32820#824395, @zlei.huang_gmail.com wrote:

Hi @melifaro ,
Any chance will this be MFCed into stable/13 ?

Sep 19 2022, 1:17 AM · network

Sep 8 2022

glebius added a comment to D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.

I can't see how this can be used maliciously, e.g. forcing some application outside of jail to send its SCM_RIGHTS to a jail. Even if such case exists for a certain application, that would be bug in that application, IMHO. The initial idea of SCM_RIGHTS was actually to grant rights intentionally, so there can be a valid case for a certain application that wants to grant rights to its peer in a jail.

Sep 8 2022, 4:32 AM · network, Jails, security
glebius added a reviewer for D34557: UNIX-socket bind(): distinguish between alive listening socket and random garbage: glebius.
Sep 8 2022, 4:28 AM · network

Aug 29 2022

woodsb02 closed D36196: Create branch vendor/dhcpcd and import dhcpcd release 9.4.1.

Committed.
https://cgit.freebsd.org/src/commit/?h=vendor/dhcpcd&id=96dba636abec6d5451820add99300bda2ca6d86a

Aug 29 2022, 7:32 AM · network
philip accepted D36196: Create branch vendor/dhcpcd and import dhcpcd release 9.4.1.

This looks good.

Aug 29 2022, 2:12 AM · network

Aug 24 2022

woodsb02 added a reviewer for D36196: Create branch vendor/dhcpcd and import dhcpcd release 9.4.1: philip.
Aug 24 2022, 8:09 PM · network

Aug 23 2022

zlei added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Hi @melifaro ,
Any chance will this be MFCed into stable/13 ?

Aug 23 2022, 4:04 AM · network

Aug 20 2022

enweiwu added a comment to D36242: ifconfig: 80211, add assoc parameter.
In D36242#823477, @cy wrote:

Will there be a man page update for this at some point?

Aug 20 2022, 1:09 PM · network

Aug 19 2022

cy added a comment to D36242: ifconfig: 80211, add assoc parameter.

Will there be a man page update for this at some point?

Aug 19 2022, 8:43 PM · network

Aug 18 2022

lwhsu added inline comments to D36242: ifconfig: 80211, add assoc parameter.
Aug 18 2022, 1:57 AM · network

Aug 17 2022

lwhsu added a reviewer for D36242: ifconfig: 80211, add assoc parameter: wireless.
Aug 17 2022, 3:54 PM · network
enweiwu requested review of D36242: ifconfig: 80211, add assoc parameter.
Aug 17 2022, 2:23 PM · network

Aug 14 2022

woodsb02 updated the test plan for D36196: Create branch vendor/dhcpcd and import dhcpcd release 9.4.1.
Aug 14 2022, 6:23 AM · network
woodsb02 updated the test plan for D36196: Create branch vendor/dhcpcd and import dhcpcd release 9.4.1.
Aug 14 2022, 6:22 AM · network
woodsb02 requested review of D36196: Create branch vendor/dhcpcd and import dhcpcd release 9.4.1.
Aug 14 2022, 6:08 AM · network

Aug 4 2022

konrad.kreciwilk_korbank.pl added a watcher for network: konrad.kreciwilk_korbank.pl.
Aug 4 2022, 11:07 AM

Jul 29 2022

kp closed D35968: Introduce and use the NET_EPOCH_DRAIN_CALLBACKS() macro.
Jul 29 2022, 7:22 PM · network
kp accepted D35968: Introduce and use the NET_EPOCH_DRAIN_CALLBACKS() macro.

I like this (and will commit it soon), but there's two epoch_drain_callbacks() in sys/net/if.c that should also be changed. I'll do that as part of the commit.

Jul 29 2022, 4:18 PM · network

Jul 28 2022

melifaro accepted D35968: Introduce and use the NET_EPOCH_DRAIN_CALLBACKS() macro.
Jul 28 2022, 12:29 PM · network
zlei requested review of D35968: Introduce and use the NET_EPOCH_DRAIN_CALLBACKS() macro.
Jul 28 2022, 4:09 AM · network

Jul 27 2022

firk_cantconnect.ru updated the diff for D35967: Fix incorrect EADDRINUSE from connect().

fixed file path in diff

Jul 27 2022, 7:41 PM · network
firk_cantconnect.ru requested review of D35967: Fix incorrect EADDRINUSE from connect().
Jul 27 2022, 7:33 PM · network

Jul 11 2022

zlei added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Thanks for the review!

Jul 11 2022, 7:58 AM · network

Jul 8 2022

melifaro closed D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.
Jul 8 2022, 6:19 PM · network
pauamma_gundo.com resigned from D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Nothing left for me to review here since the manual page was addressed elsewhere, I think.

Jul 8 2022, 5:41 PM · network

Jul 6 2022

chris_cretaforce.gr added a watcher for network: chris_cretaforce.gr.
Jul 6 2022, 9:21 PM
tuexen added a member for network: tuexen.
Jul 6 2022, 8:25 PM

Jul 4 2022

zlei added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Ping .

Jul 4 2022, 1:50 AM · network

Jul 1 2022

karels accepted D33972: Remove lo(4) comments about interface configuration order..

I agree with all the comments above; I can't think of any significance to order of configuration of interfaces now. It might still affect the order of the interface list returned from the kernel, but most things that look at that list now process the whole thing.

Jul 1 2022, 4:36 PM · network
imp added a comment to D33972: Remove lo(4) comments about interface configuration order..

Since Mike is still around, added him to confirm :)

Jul 1 2022, 3:58 PM · network
imp added a reviewer for D33972: Remove lo(4) comments about interface configuration order.: karels.
Jul 1 2022, 3:58 PM · network
imp accepted D33972: Remove lo(4) comments about interface configuration order..

This was in 4.3BSD:

The loopback interface should be the last interface configured,
as protocols may use the order of configuration as an indication of priority.
The loopback should \fBnever\fP be configured first unless no hardware
interfaces exist.

which is word-for-word identical, except for markup. It likely was true in the mid 80s, but I agree, it's no longer true or necessary. Mike Karels added it with the unhelpful commit message "warning about order of configuration" in 1986.

Jul 1 2022, 3:51 PM · network
glebius accepted D33972: Remove lo(4) comments about interface configuration order..

The text comes from pre-FreeBSD times.

Jul 1 2022, 2:33 PM · network
zlei added inline comments to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.
Jul 1 2022, 1:48 PM · network
zlei updated the diff for D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

@melifaro Done!

Jul 1 2022, 1:42 PM · network
0mp added a reviewer for D33972: Remove lo(4) comments about interface configuration order.: network.
Jul 1 2022, 9:04 AM · network
zlei added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

A few more nits, and https://reviews.freebsd.org/D32820?id=105449#inline-217280 still (and a few more minor nits)

Jul 1 2022, 8:58 AM · network
melifaro added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Also: maybe it's worth considering splitting this review into two? Most of the ifconfig.8 changes does not look directly related to the review topic.

Jul 1 2022, 8:38 AM · network
pauamma_gundo.com requested changes to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

A few more nits, and https://reviews.freebsd.org/D32820?id=105449#inline-217280 still (and a few more minor nits)

Jul 1 2022, 4:40 AM · network

Jun 29 2022

zlei added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

D35409 and D35384 have been merged. Let's move on :)

Jun 29 2022, 10:41 AM · network
zlei updated the diff for D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Rebased on latest main branch.

Jun 29 2022, 10:41 AM · network

Jun 21 2022

kfv_kfv.io removed a member for network: kfv_kfv.io.
Jun 21 2022, 11:18 AM

Jun 7 2022

hselasky closed D32356: ktls: Add full support for TLS RX offloading via network interface..
Jun 7 2022, 11:00 AM · network

Jun 3 2022

firk_cantconnect.ru updated subscribers of D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.
Jun 3 2022, 10:24 PM · network, Jails, security

May 25 2022

hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Some minor nits found.

May 25 2022, 1:58 PM · network
hselasky accepted D32356: ktls: Add full support for TLS RX offloading via network interface..
May 25 2022, 1:58 PM · network
hselasky added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

Test OK.

May 25 2022, 1:16 PM · network
hselasky accepted D32356: ktls: Add full support for TLS RX offloading via network interface..
May 25 2022, 12:57 PM · network
hselasky retitled D32356: ktls: Add full support for TLS RX offloading via network interface. from Add support for TLS RX via IFNET to ktls: Add full support for TLS RX offloading via network interface..
May 25 2022, 12:55 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Fix bug in m_rcvif_restore() .

May 25 2022, 11:42 AM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Fix whitespace.

May 25 2022, 10:25 AM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Merge in changes from @jhb to sync with his latest "ktls_nic_tls_rx2" branch as of now.

May 25 2022, 10:19 AM · network

May 23 2022

pauamma_gundo.com added inline comments to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.
May 23 2022, 4:24 PM · network
email_luiz.eng.br added inline comments to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.
May 23 2022, 11:55 AM · network

May 20 2022

pauamma_gundo.com requested changes to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Sorry, missed this one earlier.

May 20 2022, 11:16 PM · network

May 16 2022

zlei added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Ping .

May 16 2022, 2:55 AM · network

May 12 2022

jhb added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
May 12 2022, 10:02 PM · network

May 6 2022

hselasky added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
May 6 2022, 1:28 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..
  • Implement crypto state as enum (as suggested by Gleb)
  • Remove an unused variable
  • Rebased patch.
May 6 2022, 1:23 PM · network

May 4 2022

glebius added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
May 4 2022, 7:10 PM · network

Apr 27 2022

zlei updated the diff for D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Protect from concurrent ioctls, and rebase on latest main branch

Apr 27 2022, 5:02 AM · network

Apr 23 2022

hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Rebase patch after @jhb latest crypto additions.

Apr 23 2022, 8:32 AM · network

Apr 1 2022

pauamma_gundo.com added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

Manual page LGTM as well, English-wise. Can't speak for the rest or for consistency.

Apr 1 2022, 11:00 PM · network

Mar 29 2022

firk_cantconnect.ru added a comment to D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.

For example it is possible to share file descriptor tables, and one of the processes may not be encumbered by the jail.

Mar 29 2022, 2:34 PM · network, Jails, security
mjg added a comment to D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.

I'm going to have to sleep on the approach. This is a known escape, but I don't know if the method used can fully plug it. For example it is possible to share file descriptor tables, and one of the processes may not be encumbered by the jail. As is it does solve it for processes which have no way to talk to each other apart from a partially shared fs though.

Mar 29 2022, 12:46 PM · network, Jails, security