Page MenuHomeFreeBSD

ae (Andrey V. Elsukov)
User

Projects

User Details

User Since
Jun 4 2014, 7:25 AM (516 w, 5 d)

Recent Activity

Mar 5 2024

ae added a comment to D44204: ip6_output: Reduce cache misses on pktopts.

Probably you can simplify some similar checks in in6_src.c too, e.g. IP6PO_VALID_PKTINFO and IP6PO_VALID_NHINFO. Not sure how it impacts your cache misses measurements.

Mar 5 2024, 7:05 AM

Feb 26 2024

ae accepted D44079: ipsec esp: avoid dereferencing freed secasindex.
Feb 26 2024, 2:17 PM
ae accepted D44079: ipsec esp: avoid dereferencing freed secasindex.

Probably we should increase esps_notdb or esps_invalid counter here.

Feb 26 2024, 7:40 AM

Feb 19 2024

ae closed D43956: Add more buffers for ndp in rtsock mode.
Feb 19 2024, 7:54 AM
ae committed rG03cc3489a02d: ndp(8): increase buffer size in rtsock mode (authored by lytboris_gmail.com).
ndp(8): increase buffer size in rtsock mode
Feb 19 2024, 7:54 AM

Dec 15 2023

ae added a comment to D42988: inet6: Use IfAPI helper in in6_ifstat_inc.

I think https://reviews.freebsd.org/D32811, https://reviews.freebsd.org/D33064 also are related.

Dec 15 2023, 9:46 AM
ae added a comment to D42988: inet6: Use IfAPI helper in in6_ifstat_inc.

Do you plan to rework access to if_afdata? There are still several panics related to access to already freed if_afdata[AF_INET6].

Can you please assign those PRs to me? Or send links to information if there is no PR.

Dec 15 2023, 9:44 AM

Dec 14 2023

ae added a comment to D43033: mcast: fix leaked igmp packets on multicast cleanup.

Isn't IPv6 part affected too?

Dec 14 2023, 7:52 AM

Dec 11 2023

ae added a comment to D42988: inet6: Use IfAPI helper in in6_ifstat_inc.

The if_afdata[] array comes from the old BSD times when it was expected that there would be support for many many address families (e.g. IPX, AppleTalk, etc). Right now it has only two entries AF_INET and AF_INET6. It is very very very unlikely it will ever get a third one. It is much more likely that the array will go away and we will have just ifp->if_inet and ifp->if_inet6. Or maybe something more complicated. Anyway, the access to this data is going to change anyway, so there is no point in overdesigning it right now. Any solution for the sake of IfAPI cleanness is acceptable.

Dec 11 2023, 9:55 AM

Nov 21 2023

ae committed rGe7a86775f751: ipfw: fix copy&paste bug for number:array tables (authored by ae).
ipfw: fix copy&paste bug for number:array tables
Nov 21 2023, 10:52 AM
ae committed rGf327a5765b77: ipfw: fix copy&paste bug for number:array tables (authored by ae).
ipfw: fix copy&paste bug for number:array tables
Nov 21 2023, 10:51 AM

Nov 14 2023

ae committed rG194df014feeb: ipfw: fix copy&paste bug for number:array tables (authored by ae).
ipfw: fix copy&paste bug for number:array tables
Nov 14 2023, 4:43 AM

Nov 1 2023

ae accepted D42430: udplite: make socketoption available on IPv6 sockets.
Nov 1 2023, 1:36 PM
ae added inline comments to D42429: Kernel crash on nd6_dad_timer.
Nov 1 2023, 9:49 AM

Oct 30 2023

ae committed rG9be802c04b7c: Avoid IPv6 source address selection on accepting TCP connections (authored by ae).
Avoid IPv6 source address selection on accepting TCP connections
Oct 30 2023, 5:14 PM

Oct 17 2023

ae accepted D42184: mlx5ib: Fix ethertype to be ETH_P_IPV6.

Looks similar to what linux does.

Oct 17 2023, 10:04 AM

Sep 14 2023

ae committed rG0bf5377b6b96: Avoid IPv6 source address selection on accepting TCP connections (authored by ae).
Avoid IPv6 source address selection on accepting TCP connections
Sep 14 2023, 8:41 AM
ae closed D41685: Avoid IPv6 source address selection on accepting TCP connections.
Sep 14 2023, 8:41 AM

Sep 13 2023

ae committed rG5f30a218cafe: ahci: add AMD device id in RAID mode (authored by ae).
ahci: add AMD device id in RAID mode
Sep 13 2023, 5:47 PM
ae committed rGcf7203dba7a8: ahci: add AMD device id in RAID mode (authored by ae).
ahci: add AMD device id in RAID mode
Sep 13 2023, 5:45 PM
ae committed rG0307168d927b: ahci: add AMD device id in RAID mode (authored by ae).
ahci: add AMD device id in RAID mode
Sep 13 2023, 5:44 PM

Sep 4 2023

ae committed rG3afe6b525386: ahci: add AMD device id in RAID mode (authored by ae).
ahci: add AMD device id in RAID mode
Sep 4 2023, 12:37 PM

Sep 1 2023

ae published D41685: Avoid IPv6 source address selection on accepting TCP connections for review.
Sep 1 2023, 11:01 AM
ae committed rGde114db0fe90: carp: delete interface routes on link loss. (authored by ae).
carp: delete interface routes on link loss.
Sep 1 2023, 9:07 AM
ae committed rG672b3df113b7: carp: delete interface routes on link loss. (authored by ae).
carp: delete interface routes on link loss.
Sep 1 2023, 8:59 AM

Aug 8 2023

ae committed rG600bf006d3f1: carp: delete interface routes on link loss. (authored by ae).
carp: delete interface routes on link loss.
Aug 8 2023, 10:27 AM
ae closed D41290: carp: delete interface routes on link loss..
Aug 8 2023, 10:27 AM

Aug 3 2023

ae added reviewers for D41290: carp: delete interface routes on link loss.: melifaro, glebius, kp.
Aug 3 2023, 5:09 PM

Aug 2 2023

ae updated the summary of D41290: carp: delete interface routes on link loss..
Aug 2 2023, 7:47 AM
ae requested review of D41290: carp: delete interface routes on link loss..
Aug 2 2023, 7:44 AM

Jul 24 2023

ae accepted D41124: mld: always commit state changes on leaving.
Jul 24 2023, 6:18 PM

Jul 11 2023

ae accepted D40973: ipfw: teach ipfw that pfsync is an upper layer protocol.
Jul 11 2023, 2:38 PM
ae added a comment to D40973: ipfw: teach ipfw that pfsync is an upper layer protocol.

I don't like adding extra printfs on fast path processing. This can easily make your system unresponsive.

Jul 11 2023, 2:24 PM

Jun 28 2023

ae committed rG0cd2d88d8d0f: carp: use nd6log() macro to log debug messages (authored by ae).
carp: use nd6log() macro to log debug messages
Jun 28 2023, 10:31 AM

Jun 27 2023

ae added a comment to D40762: ipsec: fix logic for IPSEC_CAP_BYPASS_FILTER.

I think previous logic was correct and derived from code before IPsec overhaul.

Jun 27 2023, 8:36 AM

Jun 25 2023

ae committed rG53380074a162: ipmi: add Block Transfer interface support (authored by ae).
ipmi: add Block Transfer interface support
Jun 25 2023, 6:41 PM
Herald added a reviewer for D40421: ipmi: add Block Transfer interface support.: andrew.
Jun 25 2023, 6:41 PM

Jun 7 2023

ae committed rG1f166509895d: ipmi: add Block Transfer interface support (authored by ae).
ipmi: add Block Transfer interface support
Jun 7 2023, 9:33 AM
ae closed D40421: ipmi: add Block Transfer interface support..
Jun 7 2023, 9:33 AM

Jun 5 2023

ae added a comment to D40421: ipmi: add Block Transfer interface support..
In D40421#920356, @imp wrote:

This looks generally good.
I think I have an arm server with bt mode. Any chance it will work?

Jun 5 2023, 5:20 PM
ae added a reviewer for D40421: ipmi: add Block Transfer interface support.: ambrisko.
Jun 5 2023, 7:15 AM
ae updated the summary of D40421: ipmi: add Block Transfer interface support..
Jun 5 2023, 6:46 AM
ae published D40421: ipmi: add Block Transfer interface support. for review.
Jun 5 2023, 6:40 AM

May 29 2023

ae accepted D40300: setkey(8): NAT-T manual configuration support.

LGTM. Do you plan to implement NAT_T_FRAG in kernel somehow?

May 29 2023, 7:19 AM

Apr 3 2023

ae accepted D39393: setkey(8): add -e option to take script from the command line.

LGTM.

Apr 3 2023, 1:33 PM

Jan 23 2023

ae added a reviewer for D38167: Turn net.inet.carp.allow into a RW tunable: network.
Jan 23 2023, 11:54 AM

Jan 22 2023

ae accepted D38164: netinet6: honor blackhole/unreach routes in the non-fastforwading code..
Jan 22 2023, 6:11 PM

Jan 18 2023

ae accepted D38093: if_ipsec(4): more carefully validate invalid configuration input.
Jan 18 2023, 6:45 PM
ae added inline comments to D38093: if_ipsec(4): more carefully validate invalid configuration input.
Jan 18 2023, 5:56 PM

Jan 17 2023

ae added inline comments to D38093: if_ipsec(4): more carefully validate invalid configuration input.
Jan 17 2023, 9:12 AM

Jan 10 2023

ae added a comment to D38015: inpcb: immediately return matching pcb on lookup.

we can't recover why would we ever have identical 4-tuples in the hash

Jan 10 2023, 7:32 AM

Dec 20 2022

ae added inline comments to D37758: WIP: if_gif: Demonstrate usage of route caching framework.
Dec 20 2022, 1:02 PM

Nov 28 2022

ae accepted D37511: udp[6]_multi_input: Don't unlock freed inp..
Nov 28 2022, 6:40 AM
ae accepted D37510: ether_demux: Defer stripping the Ethernet header..
Nov 28 2022, 6:39 AM

Nov 17 2022

ae committed rGfe9c4deda9d4: ixgbe: workaround errata about UDP frames with zero checksum (authored by ae).
ixgbe: workaround errata about UDP frames with zero checksum
Nov 17 2022, 8:17 PM
ae committed rGdaf3d88ac184: ixgbe: workaround errata about UDP frames with zero checksum (authored by ae).
ixgbe: workaround errata about UDP frames with zero checksum
Nov 17 2022, 8:16 PM

Nov 10 2022

ae committed rG8526120ad41c: ixgbe: workaround errata about UDP frames with zero checksum (authored by ae).
ixgbe: workaround errata about UDP frames with zero checksum
Nov 10 2022, 9:47 AM

Oct 6 2022

ae committed rGccd69bd573f1: Ignore IPv6 NA and drop IPv6 NS when BACKUP CARP address is used (authored by ae).
Ignore IPv6 NA and drop IPv6 NS when BACKUP CARP address is used
Oct 6 2022, 5:02 PM
ae closed D36649: Ignore IPv6 NAs and drop IPv6 NSs when BACKUP CARP address is used.
Oct 6 2022, 5:01 PM

Sep 21 2022

ae published D36649: Ignore IPv6 NAs and drop IPv6 NSs when BACKUP CARP address is used for review.
Sep 21 2022, 1:41 PM

Sep 16 2022

ae added a comment to D36510: ipsec: plug use-after-free of SAH.

I'll try to read the patch more carefully this weekend.

Sep 16 2022, 10:20 AM

Sep 13 2022

ae accepted D26719: setkey(8): Improve directions descriptions.
Sep 13 2022, 11:02 AM
ae added a comment to D36536: if_ipsec: use-after-free in ipsec_set_tunnel.

Thanks, the patch is correct.
But I think we need rework the code to avoid such problem in future, or maybe add some comment, or add inline function like this:

Sep 13 2022, 10:29 AM

Aug 22 2022

ae added a comment to D27191: ix(4): Report RX errors as sum of all RX error counters.

Can you take a look at the errata for 82599 that does report checksum error when card receives IPv4 UDP packets with zero checksum?
I found several discussion (on Opensense and FreeBSD forums) about this problem that appeared visible after this commit. Also, I found this PR. In our case we see noticeable RX errors on machines that handle SNMP traps.

Aug 22 2022, 12:02 PM

Aug 17 2022

ae accepted D36140: ipfw: make it possible to specify MTU for "unreach needfrag" action.
Aug 17 2022, 3:16 PM
ae accepted D36155: ipsec: use internal bitset of protocols that are last header.
Aug 17 2022, 2:46 PM
ae accepted D36155: ipsec: use internal bitset of protocols that are last header.
Aug 17 2022, 2:38 PM

Aug 15 2022

ae added a comment to D36140: ipfw: make it possible to specify MTU for "unreach needfrag" action.

Do you plan add similar support for IPv6? There is ICMP6_PACKET_TOO_BIG with the same meaning. But actually it is not unreach message, thus I'm not sure we should do it.

Aug 15 2022, 12:14 PM

Jul 14 2022

ae committed rGc31f8b7bd895: ipfw: add support radix tables and table lookup for MAC addresses (authored by smalukav_gmail.com).
ipfw: add support radix tables and table lookup for MAC addresses
Jul 14 2022, 1:07 PM

Jul 7 2022

ae accepted D35732: netinet6: fix interface handling for loopback traffic.

Good explanation. It would be nice to have something similar somewhere in comments.

Jul 7 2022, 12:29 PM

Jun 9 2022

ae abandoned D18581: Add ability to forward IPv4 packets trough IPv6 only router.

Superseded by D30398.

Jun 9 2022, 10:43 AM

Jun 4 2022

ae committed rG81cac3906eb9: ipfw: add support radix tables and table lookup for MAC addresses (authored by smalukav_gmail.com).
ipfw: add support radix tables and table lookup for MAC addresses
Jun 4 2022, 4:21 PM
ae closed D35103: ipfw: Support radix tables and table lookup for MAC addresses.
Jun 4 2022, 4:21 PM

May 19 2022

ae accepted D33405: Add IFNET_EVENT_UPDATE_BAUDRATE event and use it to update if_baudrate for vlan interfaces created on the LACP lagg..
May 19 2022, 9:34 AM

Apr 18 2022

ae committed rG836f54302e3f: ipfw: fix matching and setting DSCP value for IPv6 (authored by ae).
ipfw: fix matching and setting DSCP value for IPv6
Apr 18 2022, 9:17 AM
ae committed rG17c9c2049004: Fix ipfw fwd that doesn't work in some cases (authored by ae).
Fix ipfw fwd that doesn't work in some cases
Apr 18 2022, 9:11 AM

Apr 11 2022

ae closed D34732: Fix ipfw fwd that doesn't work in some cases.
Apr 11 2022, 11:26 AM
ae committed rG7d98cc096b99: Fix ipfw fwd that doesn't work in some cases (authored by ae).
Fix ipfw fwd that doesn't work in some cases
Apr 11 2022, 11:25 AM
ae committed rG4763c0aa68a7: ipfw: fix matching and setting DSCP value for IPv6 (authored by ae).
ipfw: fix matching and setting DSCP value for IPv6
Apr 11 2022, 10:31 AM
ae closed D34807: ipfw: fix matching and setting DSCP value for IPv6.
Apr 11 2022, 10:30 AM

Apr 6 2022

ae published D34807: ipfw: fix matching and setting DSCP value for IPv6 for review.
Apr 6 2022, 7:20 PM

Apr 4 2022

ae updated the summary of D34732: Fix ipfw fwd that doesn't work in some cases.
Apr 4 2022, 6:55 AM

Apr 1 2022

ae published D34732: Fix ipfw fwd that doesn't work in some cases for review.
Apr 1 2022, 1:55 PM

Mar 2 2022

ae added inline comments to D34340: ovpn: Introduce OpenVPN DCO support.
Mar 2 2022, 7:40 PM
ae added a comment to D34340: ovpn: Introduce OpenVPN DCO support.

There are several comments that don't match our style. Those, that are like:

Mar 2 2022, 7:22 PM

Feb 18 2022

ae accepted D34314: ipsec: sprinkle CURVNET_ASSERT_SET.
Feb 18 2022, 12:27 PM
ae accepted D34313: ipsec: extend vnet coverage in esp_input/output_cb.
Feb 18 2022, 11:52 AM

Jan 24 2022

ae added a comment to D33863: geom_part: auto commit after GEOM_PART has been automatically resized..

I think you can go through using of some sysctl/tunable first.
I.e. by default system will use old behavior, but you can change it for your system.

Jan 24 2022, 10:47 AM

Dec 14 2021

ae added a comment to D33227: syncache: accept packets with no SA when TCP_MD5SIG is set.
In D33227#755751, @bz wrote:

Because otherwise your listen socket cannot have protected and unprotected connections; 5 BGP speakers do MD5, 7 don't.
The socket option is the "turn the feature on", the SADB is your policy to whom you do MD5 and to whom you don't.

Dec 14 2021, 8:14 AM
ae added a comment to D33227: syncache: accept packets with no SA when TCP_MD5SIG is set.

I have no objection. Just a question. What is the reason behind the accepting of non-signed packets on the socket that we explicitly marked that it must use signatures?
I think this will lead to hiding misconfigurations from the user.

Dec 14 2021, 7:38 AM

Dec 13 2021

ae added a comment to D33405: Add IFNET_EVENT_UPDATE_BAUDRATE event and use it to update if_baudrate for vlan interfaces created on the LACP lagg..

I think the patch needs to be updated to reflect epoch related changes in the vlan code.
We use this patch. But I did not checked is it applicable to recent CURRENT or not.

Dec 13 2021, 7:18 AM

Dec 2 2021

ae accepted D33226: tcpmd5: return ENOENT when security association not found.
Dec 2 2021, 5:51 AM

Nov 24 2021

ae added a comment to D33100: ipsec: fix a panic with INVARIANTS.

This looks like leftover from D31271.

Nov 24 2021, 10:47 AM
ae added a reviewer for D33100: ipsec: fix a panic with INVARIANTS: wma.
Nov 24 2021, 10:45 AM

Nov 13 2021

ae accepted D32827: ipsec: fix edge case detection in key_getnewspid.
Nov 13 2021, 9:15 AM
ae accepted D32828: ipsec: make sure the lock allocated in key_newsav does not false-share.
Nov 13 2021, 9:10 AM

Nov 12 2021

ae committed rG80be188a8160: Fix the build after b3c1846830af71ee197dcfbdd9a6bea5980cbbdd (authored by ae).
Fix the build after b3c1846830af71ee197dcfbdd9a6bea5980cbbdd
Nov 12 2021, 1:00 PM
ae committed rGb3c1846830af: ip_divert: calculate delayed checksum for IPv6 adress family (authored by ae).
ip_divert: calculate delayed checksum for IPv6 adress family
Nov 12 2021, 12:22 PM
ae committed rGfaba420cb9b1: ip_divert: calculate delayed checksum for IPv6 adress family (authored by ae).
ip_divert: calculate delayed checksum for IPv6 adress family
Nov 12 2021, 12:21 PM

Nov 3 2021

ae accepted D32826: ipsec: serialize SPI allocation.
Nov 3 2021, 6:10 PM