Page MenuHomeFreeBSD

maxim (Maxim Konovalov)
User

Projects (1)

User Details

User Since
Jul 2 2019, 12:53 PM (387 w, 5 d)

Recent Activity

Yesterday

maxim accepted D62509: fix typos in src comments.
Sat, Dec 5, 9:14 PM
maxim committed R9:f8fdbeae9b0d: update maxim@'s pgp key expiration date.
Sat, Dec 5, 5:39 AM

Fri, Dec 4

maxim added inline comments to D62392: ipfw: avoid m_pullup in tcpmod_setmss.
Fri, Dec 4, 10:31 PM
maxim added a reviewer for D62421: ipfw_nat: free the replaced instance in nat44_config(): rcm.
Fri, Dec 4, 7:32 PM
maxim added a comment to D62421: ipfw_nat: free the replaced instance in nat44_config().

Not clear from the description: is the problem present only in stable?

Fri, Dec 4, 7:17 PM
maxim added inline comments to D62409: ipfw.8: say which TCP packets uid, gid and jail match.
Fri, Dec 4, 6:33 AM
maxim updated the diff for D62409: ipfw.8: say which TCP packets uid, gid and jail match.

Address ziaee@ comment

Fri, Dec 4, 6:33 AM
maxim requested review of D62421: ipfw_nat: free the replaced instance in nat44_config().
Fri, Dec 4, 4:43 AM

Thu, Dec 3

maxim requested review of D62409: ipfw.8: say which TCP packets uid, gid and jail match.
Thu, Dec 3, 9:31 PM
maxim added a reviewer for D62405: ipfw: fix lookup uid/jail for packets without a socket: secteam.
Thu, Dec 3, 9:27 PM
maxim committed rGe601eb9e41f9: ipfw_nat: check spool entries in NAT44 config requests.
Thu, Dec 3, 9:17 PM
maxim closed D61731: ipfw_nat: check spool entries in NAT44 config requests.
Thu, Dec 3, 9:16 PM
maxim added a comment to D61731: ipfw_nat: check spool entries in NAT44 config requests.
In D61731#1429837, @rcm wrote:
In D61731#1429736, @rcm wrote:

Hi @rcm

It looks like we are looking at the same code right now. I'd appreciate if you find time to review my changes.

Maxim

Sure! FWIW llm-postcr flagged the same bug today on 793da13771a5.

This generally looks good to me. The walk covers exactly what add_redir_spool_cfg() reads, and checking before nat44_config() touches the instance is the right place for it.

I do have a small follow-up here that makes nat44_config() return the error from add_redir_spool_cfg(). Today a redirect libalias refuses is dropped silently and redir_cnt stays too high, so ipfw(8) misreads show config.

I'll put it up once this lands.

https://reviews.freebsd.org/D62394

Thu, Dec 3, 9:14 PM
maxim requested review of D62405: ipfw: fix lookup uid/jail for packets without a socket.
Thu, Dec 3, 8:47 PM
maxim accepted D62394: ipfw_nat: Report a redirect that cannot be set up.
Thu, Dec 3, 8:05 PM
maxim updated the diff for D61731: ipfw_nat: check spool entries in NAT44 config requests.

Rebase onto main after 793da13771a; the test no longer sets pport_cnt

Thu, Dec 3, 7:05 PM
maxim added a comment to D61731: ipfw_nat: check spool entries in NAT44 config requests.

It looks like we are looking at the same code right now. I'd appreciate if you find time to review my changes.

Thu, Dec 3, 6:07 PM
maxim added a reviewer for D61731: ipfw_nat: check spool entries in NAT44 config requests: rcm.
Thu, Dec 3, 6:06 PM
maxim added a comment to D62342: ipfw: let zero and resetlog clear the rules in set 31.

tl;dr: ipfw zero/resetlog does nothing for the rules in the default set 31

Thu, Dec 3, 4:14 AM
maxim requested review of D62342: ipfw: let zero and resetlog clear the rules in set 31.
Thu, Dec 3, 4:10 AM

Wed, Dec 2

maxim committed rG8758499c800f: traceroute6: do not print an ECN report for an echo reply.
Wed, Dec 2, 12:35 AM
maxim committed rGb09f9a9b4b8e: traceroute: do not use a stale or NULL quoted header with -E.
Wed, Dec 2, 12:35 AM
maxim committed rGbabaf12c51b0: rtsock: drop a notification whose sockaddr does not fit.
Wed, Dec 2, 12:02 AM
maxim closed D61848: rtsock: drop a notification whose sockaddr does not fit.
Wed, Dec 2, 12:02 AM

Tue, Dec 1

maxim committed rG0a561698c014: ipfw: match tcpmss only on the first fragment.
Tue, Dec 1, 8:37 PM
maxim closed D62125: ipfw: match tcpmss only on the first fragment.
Tue, Dec 1, 8:37 PM
maxim committed rGf6e6b8e6ddbd: ipfw: print the log, not the config, for "nat <name> show log".
Tue, Dec 1, 8:16 PM
maxim committed rGa2ba339ccf9c: ipfw_nat: fix the buffer length check in IP_FW_NAT44_XGETLOG.
Tue, Dec 1, 8:15 PM

Mon, Nov 30

maxim added inline comments to D62033: ipfw: keep skipto and call targets in range.
Mon, Nov 30, 10:47 PM
maxim updated the diff for D62033: ipfw: keep skipto and call targets in range.

Address lytboris's comments: O_SETMARK gets its own case in ipfw_check_opcode(); skipto.sh also checks rules 65534 and 65535 and a target of 65534; the commit message explains why the cache now looks up 65535 instead of 65534.

Mon, Nov 30, 10:45 PM
maxim added inline comments to D61916: ipfw: bound the rule comment in rtsock log messages.
Mon, Nov 30, 9:12 PM

Sat, Nov 28

maxim updated the diff for D62125: ipfw: match tcpmss only on the first fragment.

Switched to "Assisted-by:" per imp@ request.

Sat, Nov 28, 7:21 PM
maxim updated the summary of D62162: proc: assert td belongs to p in PROC_COW_CHANGECOUNT.
Sat, Nov 28, 6:04 PM
maxim added a comment to D62162: proc: assert td belongs to p in PROC_COW_CHANGECOUNT.
In D62162#1424450, @imp wrote:

Please don't use co authored by for ai generated code. Please use Assisted-by for now.

Sat, Nov 28, 5:19 AM
maxim updated the diff for D62162: proc: assert td belongs to p in PROC_COW_CHANGECOUNT.

Switched to "Assisted-by:" per imp@ request.

Sat, Nov 28, 5:18 AM
maxim requested review of D62162: proc: assert td belongs to p in PROC_COW_CHANGECOUNT.
Sat, Nov 28, 3:50 AM

Fri, Nov 27

maxim committed rG2fb943ab3ce7: ipfw: fix off-by-one in the IP_FW_XADD rule count check.
Fri, Nov 27, 8:56 PM
maxim added a reviewer for D62125: ipfw: match tcpmss only on the first fragment: ae.
Fri, Nov 27, 3:39 AM
maxim requested review of D62125: ipfw: match tcpmss only on the first fragment.
Fri, Nov 27, 3:30 AM

Thu, Nov 26

maxim closed D62072: tcp/rack: reject unknown rate_sample_method values.
Thu, Nov 26, 8:53 PM
maxim committed rGb29084ae698f: tcp/rack: reject unknown rate_sample_method values.
Thu, Nov 26, 8:53 PM
maxim closed D62071: tcp/rack: range-check pace_max_seg sysctl and socket option.
Thu, Nov 26, 8:53 PM
maxim committed rG21acd0c6de7c: tcp/rack: range-check pace_max_seg sysctl and socket option (authored by Michael Adler <madler@tapil.com>).
Thu, Nov 26, 8:53 PM

Wed, Nov 25

maxim requested review of D62072: tcp/rack: reject unknown rate_sample_method values.
Wed, Nov 25, 9:40 PM
maxim requested review of D62071: tcp/rack: range-check pace_max_seg sysctl and socket option.
Wed, Nov 25, 9:39 PM
maxim committed rG59e24c3c54c1: ipfw.8: document the skipto cache.
Wed, Nov 25, 7:50 PM
maxim closed D62029: ipfw.8: document the skipto cache.
Wed, Nov 25, 7:50 PM
maxim added a comment to D62033: ipfw: keep skipto and call targets in range.

While working on ipfw(8) I realized that I don't understand the practical value of 32-bit rule numbers today. The commit message of 4a77657cbc01 says the maximum rule number can now be raised at build time, but IPFW_DEFAULT_RULE is still 65535, so unless I'm missing something the 32-bit fields only carry 16-bit values so far.

Wed, Nov 25, 4:59 AM
maxim requested review of D62033: ipfw: keep skipto and call targets in range.
Wed, Nov 25, 4:52 AM
maxim committed rG2fb3cd96fdd6: ipfw.8: cosmetic nits.
Wed, Nov 25, 2:57 AM
maxim requested review of D62029: ipfw.8: document the skipto cache.
Wed, Nov 25, 1:59 AM

Tue, Nov 24

maxim committed rG0504bd31d6c3: netinet6: check the length of the destination address.
Tue, Nov 24, 10:13 PM
maxim closed D61850: netinet6: check the length of the destination address.
Tue, Nov 24, 10:13 PM
maxim added inline comments to D61916: ipfw: bound the rule comment in rtsock log messages.
Tue, Nov 24, 5:24 AM
maxim updated the diff for D61916: ipfw: bound the rule comment in rtsock log messages.

Derive IPFWLOG_RTSOCK_COMMENT_MAX, assert it is 64 (documented in ipfw.8), drop the size argument

Tue, Nov 24, 5:23 AM
maxim added inline comments to D61848: rtsock: drop a notification whose sockaddr does not fit.
Tue, Nov 24, 4:08 AM
maxim updated the diff for D61848: rtsock: drop a notification whose sockaddr does not fit.

Log the dropped sockaddr at LOG_DEBUG

Tue, Nov 24, 4:06 AM
maxim added a comment to D61848: rtsock: drop a notification whose sockaddr does not fit.

Can you please list the consumers that pass more than sockaddr_storage? On first glance the KASSERT seems correct and it is the consumers that pass invalid data.

Tue, Nov 24, 2:37 AM

Sun, Nov 22

maxim added inline comments to D61916: ipfw: bound the rule comment in rtsock log messages.
Sun, Nov 22, 8:13 PM
maxim added inline comments to D61848: rtsock: drop a notification whose sockaddr does not fit.
Sun, Nov 22, 6:32 PM
maxim requested review of D61916: ipfw: bound the rule comment in rtsock log messages.
Sun, Nov 22, 6:10 AM

Sat, Nov 21

maxim updated the diff for D61850: netinet6: check the length of the destination address.

Use the short license header in the test

Sat, Nov 21, 7:07 PM

Fri, Nov 20

maxim requested review of D61850: netinet6: check the length of the destination address.
Fri, Nov 20, 9:39 PM
maxim added a reviewer for D61848: rtsock: drop a notification whose sockaddr does not fit: pouria.
Fri, Nov 20, 9:34 PM
maxim added a comment to D61848: rtsock: drop a notification whose sockaddr does not fit.

Hi Mark,

Fri, Nov 20, 9:23 PM
maxim requested review of D61848: rtsock: drop a notification whose sockaddr does not fit.
Fri, Nov 20, 9:18 PM

Thu, Nov 19

maxim closed D61727: ipfw: fix off-by-one in the IP_FW_XADD rule count check.
Thu, Nov 19, 5:58 PM
maxim committed rG8364b6bc0c36: ipfw: fix off-by-one in the IP_FW_XADD rule count check.
Thu, Nov 19, 5:58 PM
maxim updated the summary of D61727: ipfw: fix off-by-one in the IP_FW_XADD rule count check.
Thu, Nov 19, 12:59 AM
maxim updated the summary of D61727: ipfw: fix off-by-one in the IP_FW_XADD rule count check.
Thu, Nov 19, 12:58 AM
maxim updated the diff for D61727: ipfw: fix off-by-one in the IP_FW_XADD rule count check.

clarify impact

Thu, Nov 19, 12:56 AM

Wed, Nov 18

maxim requested review of D61731: ipfw_nat: check spool entries in NAT44 config requests.
Wed, Nov 18, 10:45 PM
maxim abandoned D61723: ipfw_nat: fix the buffer length check in IP_FW_NAT44_XGETLOG.

opened by mistake

Wed, Nov 18, 10:32 PM
maxim requested review of D61727: ipfw: fix off-by-one in the IP_FW_XADD rule count check.
Wed, Nov 18, 9:54 PM
maxim requested review of D61723: ipfw_nat: fix the buffer length check in IP_FW_NAT44_XGETLOG.
Wed, Nov 18, 7:51 PM

Tue, Nov 17

maxim committed rGeef2463e9286: traceroute.8: cosmetic and grammar fixes.
Tue, Nov 17, 9:18 PM
maxim closed D61607: traceroute6: do not print an ECN report for an echo reply.
Tue, Nov 17, 8:40 PM
maxim committed rG098eea00500e: traceroute6: do not print an ECN report for an echo reply.
Tue, Nov 17, 8:40 PM
maxim closed D61606: traceroute: do not use a stale or NULL quoted header with -E.
Tue, Nov 17, 8:40 PM
maxim committed rGd6473780b8d9: traceroute: do not use a stale or NULL quoted header with -E.
Tue, Nov 17, 8:40 PM

Mon, Nov 16

maxim committed rG611046b15dbb: ipfw: print the log, not the config, for "nat <name> show log".
Mon, Nov 16, 6:47 PM
maxim committed rG1c8725c9e900: ipfw_nat: fix the buffer length check in IP_FW_NAT44_XGETLOG.
Mon, Nov 16, 6:47 PM
maxim closed D61588: ipfw: print the log, not the config, for "nat <name> show log".
Mon, Nov 16, 6:47 PM
maxim closed D61587: ipfw_nat: fix the buffer length check in IP_FW_NAT44_XGETLOG.
Mon, Nov 16, 6:47 PM
maxim added a comment to D61588: ipfw: print the log, not the config, for "nat <name> show log".

Hey @ae, thanks for review. I am also trying to reach you over email on another issue. Could you please check email from maxim.konovalov@gmail.

Mon, Nov 16, 6:06 PM
maxim committed rGe550130c07ce: tcp/rack: reject wma_divisor values <= 0.
Mon, Nov 16, 3:31 AM
maxim added a comment to D61606: traceroute: do not use a stale or NULL quoted header with -E.

Reproducible on macOS as well. Thank you!

Mon, Nov 16, 2:36 AM
maxim added a reviewer for D61606: traceroute: do not use a stale or NULL quoted header with -E: kevin_your.org.
Mon, Nov 16, 1:08 AM
maxim added a reviewer for D61607: traceroute6: do not print an ECN report for an echo reply: kevin_your.org.
Mon, Nov 16, 1:08 AM
maxim requested review of D61607: traceroute6: do not print an ECN report for an echo reply.
Mon, Nov 16, 1:06 AM
maxim requested review of D61606: traceroute: do not use a stale or NULL quoted header with -E.
Mon, Nov 16, 1:05 AM

Sun, Nov 15

maxim requested review of D61588: ipfw: print the log, not the config, for "nat <name> show log".
Sun, Nov 15, 5:11 AM
maxim added a comment to D61587: ipfw_nat: fix the buffer length check in IP_FW_NAT44_XGETLOG.

Just for the record: I've made secteam (markj) aware of this issue.

Sun, Nov 15, 4:26 AM
maxim added a reviewer for D61587: ipfw_nat: fix the buffer length check in IP_FW_NAT44_XGETLOG: kevin_your.org.
Sun, Nov 15, 4:25 AM
maxim requested review of D61587: ipfw_nat: fix the buffer length check in IP_FW_NAT44_XGETLOG.
Sun, Nov 15, 4:24 AM

Thu, Nov 12

maxim committed rG1681aa4cd5e5: bsnmp: zero-fill the destination on a short ASN.1 IpAddress (authored by ojanerif_amd.com).
Thu, Nov 12, 1:29 AM

Mon, Nov 9

maxim committed rG3c6c65bbb258: tests/sys/file: add tests for the lowest fd after fork.
Mon, Nov 9, 4:36 AM

Fri, Nov 6

maxim accepted D61254: README: Scrap and write a new one in Markdown.

It doesn't address all Amy's concerns but it is good enough per se.

Fri, Nov 6, 3:37 PM

Nov 5 2026

maxim committed R9:766c7b5cdfc7: doceng.adoc: typo fix.
Nov 5 2026, 9:00 PM

Nov 3 2026

maxim added a comment to D61149: TCP RACK: fix RSM computation for TCP fast open.

While your patch fixes 297006 panic, it still panics with Robert's code from 297273. From what I see the code path in 297273 is different.

Nov 3 2026, 12:34 AM