Page MenuHomeFreeBSD
Feed Advanced Search

Jul 28 2022

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

Mar 28 2022

firk_cantconnect.ru updated subscribers of D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.
Mar 28 2022, 9:48 PM · network, Jails, security

Mar 24 2022

jhb added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

@jhb : No. The current patch is for -current / main. Do you want me to create such a git repository, or can we use your existing freebsd fork / branch?

Mar 24 2022, 12:28 AM · network

Mar 23 2022

hselasky added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

@jhb : No. The current patch is for -current / main. Do you want me to create such a git repository, or can we use your existing freebsd fork / branch?

Mar 23 2022, 10:17 PM · network
jhb added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

Do you have this pushed to a public branch somewhere (e.g. on GitHub?) It might be easiest to show you what I am saying about how to handle the crypto for the mixed case if I can generate a patch relative to your branch.

Mar 23 2022, 9:18 PM · network

Mar 16 2022

firk_cantconnect.ru updated the test plan for D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.
Mar 16 2022, 6:59 PM · network, Jails, security
firk_cantconnect.ru requested review of D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.
Mar 16 2022, 10:28 AM · network, Jails, security

Mar 15 2022

firk_cantconnect.ru retitled D34560: Add mount option to disallow creating sockets on filesystem from Add mount option to disallow creating socketson filesystem to Add mount option to disallow creating sockets on filesystem.
Mar 15 2022, 12:25 AM · security, network, Jails

Mar 14 2022

firk_cantconnect.ru requested review of D34560: Add mount option to disallow creating sockets on filesystem.
Mar 14 2022, 11:28 PM · security, network, Jails
firk_cantconnect.ru requested review of D34557: UNIX-socket bind(): distinguish between alive listening socket and random garbage.
Mar 14 2022, 10:58 PM · network

Mar 3 2022

gallatin accepted D32356: ktls: Add full support for TLS RX offloading via network interface..

I think pushing it and fixing the lagg issue after its in the tree is probably the best path forward.

Mar 3 2022, 8:47 PM · network
hselasky added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..
In D32356#778142, @jhb wrote:

One other structural thing I see is that this still assumes the outbound route path matches the inbound path (using the route to allocate the tag and changing ktls_output_eagain to reset both sessions on a TX failure). But as Drew noted that doesn't work in his setup where the RX and TX can be over different ports in a lagg since the remove end of the lagg can use whatever algorithm it wants to distribute the RX traffic. Instead, we need to store the "leaf" ifp in a new field in m_pkthdr or the like and pass that up through into the socket buffer. At the point of m_demote when we remove the packet header you would want to check for ifp mismatches like we do for output in ip_output_send. Perhaps that can be done as a second round, but then we will just have to revert the ktls_output_eagain() change so I'd rather avoid changing that API just to have to change it back later.

Mar 3 2022, 9:51 AM · network

Feb 24 2022

melifaro added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
Feb 24 2022, 7:49 AM · network

Feb 23 2022

jhb added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

One other structural thing I see is that this still assumes the outbound route path matches the inbound path (using the route to allocate the tag and changing ktls_output_eagain to reset both sessions on a TX failure). But as Drew noted that doesn't work in his setup where the RX and TX can be over different ports in a lagg since the remove end of the lagg can use whatever algorithm it wants to distribute the RX traffic. Instead, we need to store the "leaf" ifp in a new field in m_pkthdr or the like and pass that up through into the socket buffer. At the point of m_demote when we remove the packet header you would want to check for ifp mismatches like we do for output in ip_output_send. Perhaps that can be done as a second round, but then we will just have to revert the ktls_output_eagain() change so I'd rather avoid changing that API just to have to change it back later.

Feb 23 2022, 11:21 PM · network

Feb 18 2022

hselasky added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

@melifaro @jhb : ping

Feb 18 2022, 12:30 PM · network

Feb 10 2022

hselasky added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
Feb 10 2022, 10:23 AM · network
melifaro added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
Feb 10 2022, 8:50 AM · network

Feb 8 2022

markj added a member for network: markj.
Feb 8 2022, 7:50 PM

Feb 7 2022

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

Rebase.

Feb 7 2022, 7:34 PM · network

Jan 31 2022

zec added a watcher for network: zec.
Jan 31 2022, 10:43 PM

Jan 27 2022

gnn removed a member for network: gnn.
Jan 27 2022, 3:55 PM

Jan 26 2022

hselasky reopened D32356: ktls: Add full support for TLS RX offloading via network interface..
Jan 26 2022, 1:45 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Rebase patch.

Jan 26 2022, 12:49 PM · network
hselasky closed D32356: ktls: Add full support for TLS RX offloading via network interface..
Jan 26 2022, 12:42 PM · network

Jan 25 2022

hselasky added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

@jhb : Ping.

Jan 25 2022, 10:26 AM · network

Jan 21 2022

zlei added a comment to D33972: Remove lo(4) comments about interface configuration order..

And for VNET(9) jail, it seems the loopback interface is always configured first.
The behavior is inconsistent with the host.

Jan 21 2022, 7:37 AM · network

Jan 20 2022

jmallett requested review of D33972: Remove lo(4) comments about interface configuration order..
Jan 20 2022, 8:03 PM · network

Jan 18 2022

zlei added a watcher for network: zlei.
Jan 18 2022, 10:14 AM

Jan 11 2022

hselasky added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

@jhb: I noticed in the AESNI crypto implementation that it might call malloc() when using the output buffer feature ... and this should be avoided when we already allocated a buffer.

Jan 11 2022, 8:04 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Take @jhb 's suggestion to encrypt a zero'ed mbuf and then XOR.

Jan 11 2022, 8:02 PM · network
jhb added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

Rework the re-crypt support. The low level APIs in the crypto framework can apparently only do full encryption and full decryption :-( So use that for now.

Jan 11 2022, 7:53 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Rework the re-crypt support. The low level APIs in the crypto framework can apparently only do full encryption and full decryption :-( So use that for now.

Jan 11 2022, 3:01 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Fix one more compilation issue.

Jan 11 2022, 12:49 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Fix minor compilation issue.

Jan 11 2022, 12:42 PM · network
hselasky added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..
Implement recrypt functions for the open crypto framework, OCF.
Jan 11 2022, 12:26 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Implement native single-pass recrypt function in the open crypto framework.

Jan 11 2022, 12:24 PM · network
hselasky added a comment to D32356: ktls: Add full support for TLS RX offloading via network interface..

Hi John,

Jan 11 2022, 10:36 AM · network

Jan 7 2022

hselasky added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
Jan 7 2022, 3:15 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Diff reduction.

Jan 7 2022, 2:52 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Rebased patch.

Jan 7 2022, 2:29 PM · network
hselasky added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
Jan 7 2022, 2:28 PM · network
hselasky added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
Jan 7 2022, 1:59 PM · network

Jan 5 2022

jhb added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
Jan 5 2022, 11:08 PM · network

Dec 20 2021

hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..
  • Rebase patch.
  • Properly implement ktls_ocf_tls13_aead_recrypt().
Dec 20 2021, 5:21 PM · network

Dec 15 2021

hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..
  • Catch up with latest INP_FREED changes.
  • Fix some compile issues.
Dec 15 2021, 3:08 PM · network
hselasky removed a reviewer for D32356: ktls: Add full support for TLS RX offloading via network interface.: menyy_mellanox.com.
Dec 15 2021, 1:21 PM · network
hselasky updated the diff for D32356: ktls: Add full support for TLS RX offloading via network interface..

Rebase patch.

Dec 15 2021, 1:20 PM · network

Dec 1 2021

kp closed D33210: if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH.
Dec 1 2021, 2:59 PM · network
kp accepted D33210: if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH.

Oooh, good catch.

Dec 1 2021, 2:56 PM · network
zlei added a comment to D33210: if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH.
In D33210#750542, @kp wrote:

That was done in 3dd5760aa5f876f8a3f0735afeebdf9ee414e1f5, so I'm a little confused where this comes from.

Dec 1 2021, 1:51 PM · network
kp added a comment to D33210: if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH.

That was done in 3dd5760aa5f876f8a3f0735afeebdf9ee414e1f5, so I'm a little confused where this comes from.

Dec 1 2021, 12:50 PM · network
zlei requested review of D33210: if_epair: Also mark the flag of pair b with IFF_KNOWSEPOCH.
Dec 1 2021, 12:45 PM · network

Nov 25 2021

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

Rebase patch for FreeBSD main branch.

Nov 25 2021, 2:18 PM · network

Nov 17 2021

hselasky added inline comments to D32356: ktls: Add full support for TLS RX offloading via network interface..
Nov 17 2021, 1:49 PM · network

Nov 10 2021

mjg added a member for network: mjg.
Nov 10 2021, 6:26 PM