Page MenuHomeFreeBSD

igoro (Igor Ostapenko)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 2 2023, 11:30 AM (83 w, 8 h)

Recent Activity

Wed, Sep 25

igoro committed rG7b7e39221ec9: pf tests: Speed up divert-to.sh test cases (authored by igoro).
pf tests: Speed up divert-to.sh test cases
Wed, Sep 25, 9:20 AM
igoro closed D46671: pf tests: Speed up divert-to.sh test cases.
Wed, Sep 25, 9:20 AM
igoro closed D46688: Status/2024Q3/kyua: Add report.
Wed, Sep 25, 8:52 AM
igoro committed R9:28a0d0b9dc6e: Status/2024Q3/kyua.adoc: Add report (authored by igoro).
Status/2024Q3/kyua.adoc: Add report
Wed, Sep 25, 8:52 AM

Tue, Sep 24

igoro added a comment to D46688: Status/2024Q3/kyua: Add report.

Thanks for help with the syntax.

Tue, Sep 24, 2:28 PM

Thu, Sep 19

igoro added inline comments to D46688: Status/2024Q3/kyua: Add report.
Thu, Sep 19, 12:48 PM
igoro updated the diff for D46688: Status/2024Q3/kyua: Add report.

Fix a typo

Thu, Sep 19, 12:47 PM
igoro updated the diff for D46688: Status/2024Q3/kyua: Add report.

Emphasize the problem solved

Thu, Sep 19, 12:44 PM
igoro updated the diff for D46688: Status/2024Q3/kyua: Add report.

Improvements and fixes

Thu, Sep 19, 11:00 AM
igoro added a comment to D46688: Status/2024Q3/kyua: Add report.

Thank you for writing this. I included some suggestions, but please feel free to replace them with your own.

Thu, Sep 19, 10:58 AM

Wed, Sep 18

igoro added a reviewer for D46688: Status/2024Q3/kyua: Add report: markj.
Wed, Sep 18, 10:22 AM
igoro updated the diff for D46688: Status/2024Q3/kyua: Add report.

Rephrase a little. Mention further work.

Wed, Sep 18, 10:21 AM

Tue, Sep 17

igoro added a reviewer for D46688: Status/2024Q3/kyua: Add report: status.
Tue, Sep 17, 6:03 PM
igoro requested review of D46688: Status/2024Q3/kyua: Add report.
Tue, Sep 17, 6:02 PM

Mon, Sep 16

igoro updated the summary of D46685: pf: Migrate to asserted mtod_().
Mon, Sep 16, 6:48 PM
igoro updated the test plan for D46684: mbuf: Add mtod_() and mtodo_() counterparts with assertions.
Mon, Sep 16, 6:47 PM
igoro requested review of D46685: pf: Migrate to asserted mtod_().
Mon, Sep 16, 6:47 PM
igoro added a comment to D46684: mbuf: Add mtod_() and mtodo_() counterparts with assertions.

Adding assertions to the existing mtod() and mtodo() seems to break some of the existing things. For instance, one case was found in pf, where m_len is calculated after the mbuf data manipulations. It could be re-worked to form m_len first, but more cases like this can be found. Another hypothetical case could be some optimization-like when a code is sure that used amount of data is pulled, even if the type of a pointer means a bigger structure.

Mon, Sep 16, 6:45 PM
igoro requested review of D46684: mbuf: Add mtod_() and mtodo_() counterparts with assertions.
Mon, Sep 16, 6:38 PM
igoro updated the summary of D46653: kyua: Do not count skipped as passed in test cmd.
Mon, Sep 16, 12:07 PM
igoro updated the summary of D46653: kyua: Do not count skipped as passed in test cmd.
Mon, Sep 16, 11:49 AM
igoro updated the diff for D46653: kyua: Do not count skipped as passed in test cmd.

Rework structure of test result types metadata. Fix tests.

Mon, Sep 16, 11:25 AM

Sun, Sep 15

igoro added a comment to D46653: kyua: Do not count skipped as passed in test cmd.
In D46653#1063256, @kp wrote:

My preference would be <passed>/<passed + failed> (X broken, Y failed, Z skipped), so the example would become

0/0 passed (0 broken, 0 failed, 222 skipped)

That's my preference, but I do think that any change would be an improvement over the current misleading output.

Sun, Sep 15, 9:55 AM

Sat, Sep 14

igoro added a comment to D46671: pf tests: Speed up divert-to.sh test cases.

In my env it decreases run time of those two test cases from ~15 sec down to ~7 sec. It's kind of "while here" change after the https://reviews.freebsd.org/D46655.

Sat, Sep 14, 8:42 AM
igoro requested review of D46671: pf tests: Speed up divert-to.sh test cases.
Sat, Sep 14, 8:41 AM
igoro committed rG641fbfc82822: pf tests: Do not handle ipfw presence (authored by igoro).
pf tests: Do not handle ipfw presence
Sat, Sep 14, 8:13 AM
igoro closed D46655: pf tests: Do not handle ipfw presence.
Sat, Sep 14, 8:13 AM
igoro retitled D46655: pf tests: Do not handle ipfw presence from pf tests: Do not worry about ipfw on test level to pf tests: Do not handle ipfw presence.
Sat, Sep 14, 7:46 AM

Thu, Sep 12

igoro added a comment to D46655: pf tests: Do not handle ipfw presence.

I don't quite understand the implications of the change. Why do these tests care about whether ipfw is loaded? Will their behaviour change depending on that?

Thu, Sep 12, 10:00 PM
igoro requested review of D46655: pf tests: Do not handle ipfw presence.
Thu, Sep 12, 6:11 PM
igoro updated the diff for D46653: kyua: Do not count skipped as passed in test cmd.

Postpone all the calculations until it's time to print the summary

Thu, Sep 12, 4:41 PM
igoro added inline comments to D46653: kyua: Do not count skipped as passed in test cmd.
Thu, Sep 12, 2:25 PM
igoro added a comment to D46653: kyua: Do not count skipped as passed in test cmd.

BTW, in the FreeBSD regression test suite, it's basically impossible to avoid skipping some tests:

  • the are tests that get skipped if ipfw.ko is not loaded, and tests which are skipped if ipfw.ko /is/ loaded,

My TODO already has an item to re-think those ipfw on/off tests with the idea to avoid such separation. It seems not to add much value.

Thu, Sep 12, 2:23 PM
igoro added a comment to D46653: kyua: Do not count skipped as passed in test cmd.

It changes only output of kyua test CLI command. Hence, other outputs like junit are kept intact for CI and other use cases. It's meant to improve UX of attended use cases.

Thu, Sep 12, 2:02 PM
igoro requested review of D46653: kyua: Do not count skipped as passed in test cmd.
Thu, Sep 12, 1:52 PM

Mon, Sep 9

igoro closed D46453: documentation/tools: Make *key.sh more portable.
Mon, Sep 9, 8:21 PM
igoro committed R9:8739d155b441: documentation/tools: Make *key.sh more portable (authored by igoro).
documentation/tools: Make *key.sh more portable
Mon, Sep 9, 8:21 PM

Sep 3 2024

igoro updated the diff for D46496: dummymbuf: Validate syntax upon write to net.dummymbuf.rules sysctl.

Deflate the diff to the functional change only

Sep 3 2024, 9:29 AM
igoro added a comment to D46496: dummymbuf: Validate syntax upon write to net.dummymbuf.rules sysctl.
In D46496#1060114, @kp wrote:

I usually prefer having whitespace/comment cleanup work be a separate commit. That makes reviewing things that much easier.
There's no need to separate it out now, but it's something to keep in mind for future commits.

Sep 3 2024, 8:47 AM

Sep 2 2024

igoro added inline comments to D46496: dummymbuf: Validate syntax upon write to net.dummymbuf.rules sysctl.
Sep 2 2024, 1:03 PM
igoro updated the diff for D46496: dummymbuf: Validate syntax upon write to net.dummymbuf.rules sysctl.

Fix style as reported by checkstyle9.pl

Sep 2 2024, 12:24 PM
igoro updated the diff for D46496: dummymbuf: Validate syntax upon write to net.dummymbuf.rules sysctl.

Rebase.

Sep 2 2024, 11:58 AM

Aug 31 2024

igoro updated the diff for D46453: documentation/tools: Make *key.sh more portable.

Remove redundant arg shift operation.

Aug 31 2024, 5:45 PM
igoro added a comment to D46453: documentation/tools: Make *key.sh more portable.
In D46453#1059780, @des wrote:

Yes, the question is left open why the same is not done for addkey.sh.

Not at all. I wrote addkey.sh, I know perfectly well that no shift is needed there. The question is why one was added here and if there's any reason not to remove it.

Aug 31 2024, 5:43 PM
igoro added inline comments to D46493: dummymbuf: Avoid copyout of uninitialized memory from the sysctl handler.
Aug 31 2024, 11:06 AM
igoro requested review of D46496: dummymbuf: Validate syntax upon write to net.dummymbuf.rules sysctl.
Aug 31 2024, 11:00 AM

Aug 30 2024

igoro added inline comments to D46493: dummymbuf: Avoid copyout of uninitialized memory from the sysctl handler.
Aug 30 2024, 8:03 PM
igoro accepted D46493: dummymbuf: Avoid copyout of uninitialized memory from the sysctl handler.

Looks great to me.

Aug 30 2024, 7:24 PM
igoro added a comment to D46453: documentation/tools: Make *key.sh more portable.

It's turned out not to break the logic of iterating over the arguments, due to the for construct here has implicit in $@ which gets expanded before the loop itself.

Aug 30 2024, 7:52 AM

Aug 29 2024

igoro updated the diff for D46453: documentation/tools: Make *key.sh more portable.

Implement des@ suggestion.

Aug 29 2024, 10:33 AM

Aug 28 2024

igoro updated the diff for D46453: documentation/tools: Make *key.sh more portable.

Make it portable instead

Aug 28 2024, 8:23 AM
igoro retitled D46453: documentation/tools: Make *key.sh more portable from documentation/tools: Fix *key.sh switch case syntax to documentation/tools: Make *key.sh more portable.
Aug 28 2024, 8:14 AM

Aug 27 2024

igoro committed rG199544c9900a: calendar: Add myself to calendar.freebsd (authored by igoro).
calendar: Add myself to calendar.freebsd
Aug 27 2024, 1:34 PM
igoro committed rG033f223666ad: committers-src: Add igoro@ with markj@ and kp@ mentors (authored by igoro).
committers-src: Add igoro@ with markj@ and kp@ mentors
Aug 27 2024, 1:33 PM
igoro added a comment to D46453: documentation/tools: Make *key.sh more portable.

Aha, indeed. Now I know why I had the issue -- there is a difference between sh in FreeBSD and macOS. The latter one told me this:

> ./checkkey.sh 0x48FE9F99
./checkkey.sh: line 108: syntax error near unexpected token `;'
./checkkey.sh: line 108: `                      ;&'

The POSIX says :

Aug 27 2024, 1:08 PM
igoro requested review of D46453: documentation/tools: Make *key.sh more portable.
Aug 27 2024, 12:37 PM

Aug 26 2024

igoro added a comment to D46436: New committer (src): Igor Ostapenko (igoro).

The review and approval was conducted by email.

Aug 26 2024, 1:41 PM
igoro committed R9:d88c2dd1c591: New committer (src): Igor Ostapenko (igoro) (authored by igoro).
New committer (src): Igor Ostapenko (igoro)
Aug 26 2024, 1:41 PM
igoro closed D46436: New committer (src): Igor Ostapenko (igoro).
Aug 26 2024, 1:41 PM

Aug 25 2024

lwhsu renamed igoro from igor.ostapenko_pm.me to igoro.
Aug 25 2024, 10:25 PM
igoro requested review of D46436: New committer (src): Igor Ostapenko (igoro).
Aug 25 2024, 1:18 AM

Aug 21 2024

igoro requested review of D46391: pf: Handle m_len < sizeof(struct ether_header) case.
Aug 21 2024, 9:39 AM

Aug 20 2024

igoro added a comment to D46374: pf: Make pf_test predict that m_len < sizeof(struct ip) is false.

It follows and aligns with https://reviews.freebsd.org/D46312.

Aug 20 2024, 9:28 AM
igoro requested review of D46374: pf: Make pf_test predict that m_len < sizeof(struct ip) is false.
Aug 20 2024, 9:28 AM

Aug 16 2024

igoro added a comment to D46312: pf: Make pf_test6 handle m_len < sizeof(struct ip6_hdr) case.

This is another small step of the mtod revision. The reasoning behind the __predict_false() usage is provided here: https://reviews.freebsd.org/D45762#1055287.

Aug 16 2024, 2:39 PM
igoro requested review of D46312: pf: Make pf_test6 handle m_len < sizeof(struct ip6_hdr) case.
Aug 16 2024, 2:38 PM

Aug 13 2024

igoro requested review of D46280: pf tests: Make if_enc.sh stick to utils.subr interface.
Aug 13 2024, 7:47 AM

Aug 12 2024

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

I've invested into detailed analysis. tl;dr: It seems nothing needs changing for now on ipsec/if_enc side.

Aug 12 2024, 7:18 PM

Aug 9 2024

igoro updated the diff for D45927: pf tests: Add 'mbuf' test for (*m0)->m_len < sizeof(struct ip) cases.

A couple of improvements:

  • Fix the ubiquitous language used in this scope, i.e. stick to the inet term. The upcoming test cases will use inet6 and ethernet pfil naming.
  • Speed up the test (kind of x5 in my env) with a stricter timeout for the expected ping failure.
Aug 9 2024, 6:30 PM
igoro updated the diff for D45928: Add dummymbuf module for testing purposes.

A non-functional update:

  • Align naming of vnet (un)init functions with the others in the kernel
Aug 9 2024, 7:53 AM

Aug 7 2024

igoro added a comment to D45928: Add dummymbuf module for testing purposes.
In D45928#1054365, @kp wrote:

I think the man page could benefit from an editing pass by a native speaker, but it's already about 98% as good as it can be.

Aug 7 2024, 8:16 PM
igoro updated the diff for D45928: Add dummymbuf module for testing purposes.

Covers the points raised.

Aug 7 2024, 8:01 PM

Aug 6 2024

igoro updated the diff for D45928: Add dummymbuf module for testing purposes.

Non-functional changes:

  • Always reset rule.syntax_* fields before the actual parsing
  • Use static MALLOC_DEFINE
Aug 6 2024, 11:19 AM

Aug 2 2024

igoro updated the diff for D45928: Add dummymbuf module for testing purposes.

Add dummymbuf.4 to the build

Aug 2 2024, 7:36 PM
igoro updated the diff for D45928: Add dummymbuf module for testing purposes.

Added the initial draft of dummymbuf.4 man page. Any advice is welcome to help making it as concise and clear as possible.

Aug 2 2024, 7:31 PM

Jul 31 2024

igoro added a comment to D45928: Add dummymbuf module for testing purposes.

It has been tested for IPv4, IPv6, and Ethernet with the respective fixes on pf side and extra tests in the mbuf.sh. It will be easier to publish them for review after the initial IPv4 case (https://reviews.freebsd.org/D45927) and the module itself get merged.

Jul 31 2024, 5:13 PM
igoro added a comment to D45928: Add dummymbuf module for testing purposes.
In D45928#1050017, @kp wrote:

.... For this small and self-contained is better.

Jul 31 2024, 5:06 PM
igoro updated the diff for D45928: Add dummymbuf module for testing purposes.

Add IPv6 and Ethernet support with rules dynamic allocation per vnet.

Jul 31 2024, 4:56 PM

Jul 25 2024

igoro abandoned D44087: kyua: convert some tests for execenv=jail demo.

This is not required anymore and the actual examples can be found within main, e.g. https://cgit.freebsd.org/src/commit/?id=4f752a1583dc97d166caae7f844bf42715e99978.

Jul 25 2024, 10:37 AM
igoro abandoned D42350: kyua: add jail execution environment.

This has been resolved as a separate https://reviews.freebsd.org/D45865 review. The synchronization with the vendor is expected to be continued on GitHub: https://github.com/freebsd/kyua/pull/224.

Jul 25 2024, 10:33 AM

Jul 20 2024

igoro added a comment to D46041: kyua: fix gcc13 builds.

Yes, it seems GCC has incomplete support for this, while Clang works with both the virtual function declaration and with its override. Kyua is based on a typical OOP polymorphism case #3:

Jul 20 2024, 1:16 AM

Jul 18 2024

igoro added inline comments to D45927: pf tests: Add 'mbuf' test for (*m0)->m_len < sizeof(struct ip) cases.
Jul 18 2024, 7:15 PM
igoro updated the diff for D45927: pf tests: Add 'mbuf' test for (*m0)->m_len < sizeof(struct ip) cases.

This update covers the points raised so far.

Jul 18 2024, 6:56 PM

Jul 15 2024

igoro added inline comments to D45928: Add dummymbuf module for testing purposes.
Jul 15 2024, 1:40 PM
igoro updated the diff for D45928: Add dummymbuf module for testing purposes.

This update brings in the simplest logging to provide some details if it does not work. I believe that it's a must for this module to save time and minimize possible headache of its users. Also, it may add a little help for the testers and reviewers of the patch.

Jul 15 2024, 1:27 PM
igoro added a comment to D45928: Add dummymbuf module for testing purposes.
In D45928#1048116, @kp wrote:

We're also missing a little more make glue:

Jul 15 2024, 11:11 AM
igoro added inline comments to D45928: Add dummymbuf module for testing purposes.
Jul 15 2024, 10:58 AM
igoro updated the diff for D45928: Add dummymbuf module for testing purposes.

The update includes:

  • Apply the review suggestions collected so far
  • Rework struct op to struct rule to let the interface and its implementation speak the same language
Jul 15 2024, 10:39 AM

Jul 11 2024

igoro updated the diff for D45928: Add dummymbuf module for testing purposes.

A slight update: "count" related code needed revising due to it was "offset" in the previous life (as of my first internal iterations).

Jul 11 2024, 11:09 AM

Jul 9 2024

igoro added a comment to D45928: Add dummymbuf module for testing purposes.

This is a quick prototype with some edges to polish or re-work completely. It would be interesting to hear opinions before the further effort. The context and use case example are outlined here: https://reviews.freebsd.org/D45927.

Jul 9 2024, 10:50 AM
igoro added a comment to D45927: pf tests: Add 'mbuf' test for (*m0)->m_len < sizeof(struct ip) cases.

The context:

Jul 9 2024, 10:47 AM
igoro requested review of D45928: Add dummymbuf module for testing purposes.
Jul 9 2024, 10:47 AM
igoro requested review of D45927: pf tests: Add 'mbuf' test for (*m0)->m_len < sizeof(struct ip) cases.
Jul 9 2024, 10:39 AM

Jul 3 2024

igoro added a comment to D45865: kyua: Add FreeBSD Jail execution environment support.

This is a proposal to apply the jail Kyua patch directly to freebsd-src. The idea is to start battle testing and polishing sooner. While respective integration and synchronization with the github/freebsd/kyua project could go ahead with its own pace.

Jul 3 2024, 8:08 PM
igoro requested review of D45865: kyua: Add FreeBSD Jail execution environment support.
Jul 3 2024, 7:59 PM
igoro reclaimed D45762: if_enc: pullup for ip header if m_len == 0.

Do you expect it to be improved like it's proposed in the patch? (some cleanup is needed I guess, and the test case does not make sense now)
Or you have another vision in mind?

Jul 3 2024, 8:57 AM

Jul 2 2024

igoro added a comment to D45832: pf: Fix NULL deref in m_pullup failure case.

After the main change landing brain starts thinking outside of the box. We could save the m_len before the m_pullup for the sake of a detailed error report, but it's not felt to be very important. Let me know if it is.

Jul 2 2024, 4:33 PM
igoro requested review of D45832: pf: Fix NULL deref in m_pullup failure case.
Jul 2 2024, 4:29 PM
igoro abandoned D45762: if_enc: pullup for ip header if m_len == 0.
Jul 2 2024, 2:13 PM
igoro added a comment to D45780: pf: Handle (*m0)->m_len < sizeof(struct ip) case.

P.S. We didn't pullup potential IP options. What happens if packet doesn't belong to a known protocol (TCP/UDP/etc) but has options and also options are allowed, are we going to dereference beyond sizeof(struct ip)?

Jul 2 2024, 11:56 AM