Page MenuHomeFreeBSD

ae (Andrey V. Elsukov)
User

Projects

User Details

User Since
Jun 4 2014, 7:25 AM (550 w, 3 d)

Recent Activity

Fri, Dec 13

ae accepted D48069: ip_fw: address lock order reversal.

I didn't test the patch, so if it is works for you I have no objection. :-)

Fri, Dec 13, 5:33 PM
ae added a comment to D48069: ip_fw: address lock order reversal.

I think this patch should do what you need.

Fri, Dec 13, 1:16 PM
ae requested changes to D48069: ip_fw: address lock order reversal.
Fri, Dec 13, 12:17 PM

Thu, Dec 12

ae committed rG9ea8d692f4cb: ipfw: use only needed TCP flags for state tracking (authored by ae).
ipfw: use only needed TCP flags for state tracking
Thu, Dec 12, 1:07 PM

Wed, Dec 11

ae accepted D48020: inpcb: Close some SO_REUSEPORT_LB races.
Wed, Dec 11, 12:08 PM

Wed, Dec 4

ae accepted D47590: inpcb: Factor out parts of in6_pcbbind() and in_pcbbind_setup().
Wed, Dec 4, 9:02 AM

Tue, Dec 3

ae added a comment to D47585: tests: routing: Add address with same prefix present.

IMHO when we already have an interface route, we should fail on trying to add the same route on different interface.
If you want to test the case that was fixed in D47534 you need to add some static route, then configure interface route that will replace this static route, because interface route has higher priority.

Tue, Dec 3, 3:53 PM
ae added a comment to D46301: netlink/route: make route deletion behavior match route(4) socket.

I just tested these commands from PR:

ifconfig tun0 create
ifconfig tun0 10.10.10.10 20.20.20.20
route -n delete -host 20.20.20.20 -interface tun0

with this patch:

--- a/sys/netlink/route/rt.c
+++ b/sys/netlink/route/rt.c
@@ -1010,8 +1010,9 @@ rtnl_handle_delroute(struct nlmsghdr *hdr, struct nlpcb *nlp,
                return (EINVAL);
        }
Tue, Dec 3, 2:10 PM
ae added a comment to D46301: netlink/route: make route deletion behavior match route(4) socket.
(attrs.rta_rtflags & RTF_PINNED) ? RTM_F_FORCE : 0
Tue, Dec 3, 1:37 PM
ae added a comment to D46301: netlink/route: make route deletion behavior match route(4) socket.

I don't like the idea that you can easily remove PINNED route, but it seems it always worked before.
However as I see, route(8) should pass RTF_PINNED flag to netlink via attrs.rta_rtflags. At least we should reduce use of RTM_F_FORCE only for case when RTF_PINNED was sent from userland.

Tue, Dec 3, 12:19 PM

Mon, Dec 2

ae committed rG447a1e6914fa: ipfw: fix order of memcpy arguments. (authored by ae).
ipfw: fix order of memcpy arguments.
Mon, Dec 2, 10:38 AM
ae committed rG628e76a986b9: ipsec: fix IPv6 over IPv4 tunneling. (authored by ae).
ipsec: fix IPv6 over IPv4 tunneling.
Mon, Dec 2, 10:25 AM
ae committed rGa731e69eebc3: ipfw: fix order of memcpy arguments. (authored by ae).
ipfw: fix order of memcpy arguments.
Mon, Dec 2, 10:24 AM
ae committed rGff1aec7ccb54: ipfw: do not reset fwmark when one_pass is disabled. (authored by ae).
ipfw: do not reset fwmark when one_pass is disabled.
Mon, Dec 2, 9:44 AM

Tue, Nov 26

ae added reviewers for D47709: ice(4): allow to turn off/on tx lldp filter: krzysztof.galazka_intel.com, jeffrey.e.pieper_intel.com.
Tue, Nov 26, 12:32 PM

Mon, Nov 25

ae committed rGc94d6389e428: ipsec: fix IPv6 over IPv4 tunneling. (authored by ae).
ipsec: fix IPv6 over IPv4 tunneling.
Mon, Nov 25, 5:51 PM

Sat, Nov 23

ae committed rGe012d79c9c73: ipfw: fix order of memcpy arguments. (authored by ae).
ipfw: fix order of memcpy arguments.
Sat, Nov 23, 12:58 PM
ae retitled D47709: ice(4): allow to turn off/on tx lldp filter from ice(4): allow to turn off/on for tx lldp filter to ice(4): allow to turn off/on tx lldp filter.
Sat, Nov 23, 11:27 AM
ae published D47709: ice(4): allow to turn off/on tx lldp filter for review.
Sat, Nov 23, 11:16 AM

Nov 13 2024

ae accepted D47534: Fix failure to add an interface prefix route when route with the same prefix is already presented in the routing table..
Nov 13 2024, 7:50 AM

Sep 26 2024

ae added a comment to D45727: bpf: Detach descriptors on interface departure event.

You probably can directly call similar to bpf_ifdetach() function from if_vmove(). It is called from ioctl context, so you can make detaching synchronously.

Sep 26 2024, 2:40 PM

Sep 25 2024

ae accepted D46770: if_enc(4): Make enc_add_hhooks() never fail.
Sep 25 2024, 11:01 AM

Sep 5 2024

ae accepted D46529: if_ovpn: ensure it's safe to modify the mbuf.
Sep 5 2024, 7:57 AM

Sep 4 2024

ae added a comment to D46529: if_ovpn: ensure it's safe to modify the mbuf.

Probably for network related code ENOBUFS is better than ENOMEM.

Sep 4 2024, 1:41 PM
ae added a comment to D46525: ifconfig: Add an allmulti verb.

I think you need to modify IFF_CANTCHANGE in sys/net/if.h

Sep 4 2024, 10:39 AM
ae added inline comments to D46524: ifnet: Add handling for toggling IFF_ALLMULTI in ifhwioctl().
Sep 4 2024, 10:33 AM

Aug 1 2024

ae updated the diff for D46183: [ipfw] Migrate ipfw to 32-bit size rule numbers.
  • Document some features, also reduce the diff.
  • Fix bug in mac:radix table: lookup addr doesn't work due to wrong args order in memcpy
Aug 1 2024, 10:56 AM

Jul 30 2024

ae updated the summary of D46183: [ipfw] Migrate ipfw to 32-bit size rule numbers.
Jul 30 2024, 1:13 PM
ae updated the diff for D46183: [ipfw] Migrate ipfw to 32-bit size rule numbers.
  • Document some features, also reduce the diff.
Jul 30 2024, 12:09 PM
ae updated the summary of D46183: [ipfw] Migrate ipfw to 32-bit size rule numbers.
Jul 30 2024, 9:55 AM
ae added a reviewer for D46183: [ipfw] Migrate ipfw to 32-bit size rule numbers: network.
Jul 30 2024, 9:47 AM
ae published D46183: [ipfw] Migrate ipfw to 32-bit size rule numbers for review.
Jul 30 2024, 9:07 AM

Jul 3 2024

ae added a comment to D45854: if_gif(4): Support the IFF_LINK0 flag to change the MTU handling for IPv6.

Maybe it would be better implement such feature via named flag, like ignore_source is implemented? Also if_gre(4) has the same problem.

Jul 3 2024, 10:35 AM
ae added a comment to D45762: if_enc: pullup for ip header if m_len == 0.

I think you should had not abandon this revision. enc(4) creates suboptimal packets, and this should be improved. Hence I suggested to use __predict_false() in the pf(4) review.

Jul 3 2024, 10:27 AM

Jul 2 2024

ae added inline comments to D44219: ipsec_accel: kernel infrastructure.
Jul 2 2024, 11:41 AM

Jun 28 2024

ae added a comment to D45762: if_enc: pullup for ip header if m_len == 0.

I think it is firewall problem when it can not handle some unexpected data. Pfil hook expects that mbus has M_PKTHDR and m->m_pkthdr.len in this case should not be 0, even when m_len is 0. Thus, I think if doesn't work properly, it should be fixed in firewall.

Jun 28 2024, 9:17 AM

May 20 2024

ae requested changes to D44223: ipsec_output(): add outcoming ifp argument.
May 20 2024, 1:08 PM

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