Page MenuHomeFreeBSD
Feed Advanced Search

May 28 2021

donner updated the diff for D30283: libalias: Restructure searching.
  • Get rid of PORT_BASE. Replace by AliasRange.
May 28 2021, 5:18 PM
donner updated the diff for D30283: libalias: Restructure searching.
  • Factor out the search for a new port. Improves the perfomance a bit.
May 28 2021, 4:55 PM
donner added a comment to D30516: libalias: Switch to efficient data structure for outgoing traffic.

Despite the splay is much faster, it can stall during SPLAY_REMOVE for currently unknown reasons.
100% CPU in an infinite loop.

May 28 2021, 3:48 PM
donner committed rG5434ebd256a0: tests/libalias: Measure cleanup time separatly (authored by donner).
tests/libalias: Measure cleanup time separatly
May 28 2021, 3:32 PM
donner updated the diff for D30516: libalias: Switch to efficient data structure for outgoing traffic.

rebase to a buf fixed parent review

May 28 2021, 2:38 PM
donner updated the diff for D30283: libalias: Restructure searching.
  • Fix "freeing wrong structure" bug
  • Factor out pptpLists
May 28 2021, 2:29 PM

May 27 2021

donner added a comment to D30516: libalias: Switch to efficient data structure for outgoing traffic.

Despite the splay is much faster, it can stall during SPLAY_REMOVE for currently unknown reasons.
100% CPU in an infinite loop.

May 27 2021, 11:08 PM
donner updated the test plan for D30516: libalias: Switch to efficient data structure for outgoing traffic.
May 27 2021, 11:03 PM
donner added a reviewer for D30516: libalias: Switch to efficient data structure for outgoing traffic: network.
May 27 2021, 10:48 PM
donner requested review of D30516: libalias: Switch to efficient data structure for outgoing traffic.
May 27 2021, 10:42 PM
donner updated the diff for D30283: libalias: Restructure searching.
  • Let PPTP use their own data structure.
May 27 2021, 6:29 PM
donner committed rG83a8e97fd3c2: netgraph/ng_bridge: Avoid cache thrashing (authored by donner).
netgraph/ng_bridge: Avoid cache thrashing
May 27 2021, 11:09 AM
donner committed rG069a2d01ccf2: netgraph/ng_bridge: become SMP aware (authored by donner).
netgraph/ng_bridge: become SMP aware
May 27 2021, 11:09 AM
donner committed rG6d7b0f3fe9b5: netgraph/ng_bridge: move MACs via control message (authored by donner).
netgraph/ng_bridge: move MACs via control message
May 27 2021, 11:08 AM
donner committed rGd9a06ae65043: netgraph/ng_bridge: learn MACs via control message (authored by donner).
netgraph/ng_bridge: learn MACs via control message
May 27 2021, 11:08 AM
donner committed rG7fd88ba72eb3: netgraph/ng_bridge: Avoid cache thrashing (authored by donner).
netgraph/ng_bridge: Avoid cache thrashing
May 27 2021, 10:59 AM
donner committed rGfb5e2f4d613e: netgraph/ng_bridge: become SMP aware (authored by donner).
netgraph/ng_bridge: become SMP aware
May 27 2021, 10:59 AM
donner committed rGcab6109379ce: netgraph/ng_bridge: move MACs via control message (authored by donner).
netgraph/ng_bridge: move MACs via control message
May 27 2021, 10:58 AM
donner committed rG53ccd9249502: netgraph/ng_bridge: learn MACs via control message (authored by donner).
netgraph/ng_bridge: learn MACs via control message
May 27 2021, 10:58 AM
donner updated the diff for D30283: libalias: Restructure searching.
  • Touch links for PPTP on use, too.
May 27 2021, 7:18 AM
donner updated the diff for D30283: libalias: Restructure searching.
  • Remove LSNAT from outgoing search.
May 27 2021, 7:14 AM
donner added a comment to D30283: libalias: Restructure searching.

@lev may you consider testing this patch in your environment? It should speed up you use case.

May 27 2021, 6:59 AM

May 26 2021

donner updated the diff for D30277: libalias: tidy up housekeeping.

rebased

May 26 2021, 8:15 PM
donner committed rGf4c460dacdda: tests/libalias: Fix build error due to wrong prototype (authored by donner).
tests/libalias: Fix build error due to wrong prototype
May 26 2021, 8:03 PM
donner updated the test plan for D30283: libalias: Restructure searching.
May 26 2021, 7:04 PM
donner updated the diff for D30283: libalias: Restructure searching.
  • Reorder incoming links by grouping of common search terms.
May 26 2021, 6:56 PM
donner committed rGfef99da69f98: tests/libalias: Add missing prototype to fix build error (authored by donner).
tests/libalias: Add missing prototype to fix build error
May 26 2021, 5:40 PM
donner committed rGd62e1ecba07b: tests/libalias: Add port forwardings (authored by donner).
tests/libalias: Add port forwardings
May 26 2021, 2:36 PM
donner closed D30443: tests/libalias: Add port forwardings.
May 26 2021, 2:35 PM
donner closed D30405: tests/libalias: Improve testing.
May 26 2021, 2:31 PM
donner committed rG6e87898a2c7e: tests/libalias: Improve testing (authored by donner).
tests/libalias: Improve testing
May 26 2021, 2:31 PM
donner closed D30408: tests/libalias: Test LibAliasIn with redirection.
May 26 2021, 2:23 PM
donner committed rG755bab6d55e6: tests/libalias: Test LibAliasIn on redirection (authored by donner).
tests/libalias: Test LibAliasIn on redirection
May 26 2021, 2:23 PM
donner closed D30412: tests/libalias: Factor out common primitives.
May 26 2021, 2:18 PM
donner committed rGf1462ab0512c: tests/libalias: Factor out common primitives (authored by donner).
tests/libalias: Factor out common primitives
May 26 2021, 2:18 PM
donner updated the diff for D30283: libalias: Restructure searching.

Rework the whole patch to get rid of failures of the test suite and to
only improve the performance.

  • Rename NO_ADDR to ANY_ADDR
  • Factor out the common Out filter
  • Factor out the common In filter
  • Search fully specified links first.
  • Separate the partially specified links into a separate data structure.
  • Use a (smaller) hash table to speed up the partially link access.
  • Clean program flow in _FindLinkIn
  • Factor out the outgoing search function.
  • Fix small error in termination.
  • Factor out Cleanup and Use for links.
  • Cleanup the partial find procedure
  • Rework the incoming search over full know links.
  • Just another early exit of the search loop
May 26 2021, 1:40 PM

May 25 2021

donner accepted D30454: bluetooth: Fix a use-after-free in an error case.
May 25 2021, 4:41 PM
donner added a comment to D30283: libalias: Restructure searching.
In D30283#683929, @lev wrote:

I'm writing this comment to this change almost arbitrary, as it is meta-comments on your (great!) work.

May 25 2021, 11:24 AM
donner updated the diff for D30283: libalias: Restructure searching.

Tests show several broken issues:

2_natout:2_unregistered  ->  failed: 2 checks failed
*** Check failed: 2_natout.c:88: addr_eq(cgn, pip->ip_src) not met
*** Check failed: 2_natout.c:89: addr_eq(pub, pip->ip_src) not met
2_natout:3_cgn  ->  failed: 1 checks failed
*** Check failed: 2_natout.c:122: addr_eq(pub, pip->ip_src) not met
3_natin:4_redirectaddr  ->  failed: 3 checks failed
*** Check failed: 3_natin.c:277: addr_eq(pub, p->ip_src) not met
*** Check failed: 3_natin.c:278: addr_eq(pub, p->ip_src) not met
*** Check failed: 3_natin.c:293: addr_eq(pub, p->ip_src) not met
May 25 2021, 10:44 AM
donner updated the test plan for D30277: libalias: tidy up housekeeping.
May 25 2021, 7:22 AM
donner updated the summary of D30277: libalias: tidy up housekeeping.
May 25 2021, 7:17 AM
donner updated the diff for D30277: libalias: tidy up housekeeping.
  • Replace per instance global variable timeStamp by a real global one.
May 25 2021, 7:08 AM
donner updated the diff for D30277: libalias: tidy up housekeeping.
  • Housekeeping is cheap, so check expire before each use.
May 25 2021, 6:43 AM
donner committed rG0f6a5de5c7f0: ipfw.8: Fix table example (authored by donner).
ipfw.8: Fix table example
May 25 2021, 5:50 AM
donner committed rG86f699f4a360: ipfw.8: Fix table example (authored by donner).
ipfw.8: Fix table example
May 25 2021, 5:47 AM
donner committed rG72fe4684e01b: ipfw.8: Fix table example (authored by donner).
ipfw.8: Fix table example
May 25 2021, 5:42 AM

May 24 2021

donner added a comment to D30277: libalias: tidy up housekeeping.

The major part of processing time in libalias is gettimeofday(3).

May 24 2021, 10:15 PM
donner added a comment to D30277: libalias: tidy up housekeeping.

Performance improvement is about 1% if running on full speed.

May 24 2021, 10:03 PM
donner updated the test plan for D30277: libalias: tidy up housekeeping.
May 24 2021, 9:56 PM
donner added a reviewer for D30443: tests/libalias: Add port forwardings: network.

Does this match you needs, @lev ?

May 24 2021, 9:38 PM
donner requested review of D30443: tests/libalias: Add port forwardings.
May 24 2021, 9:36 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • Add copyright statement
May 24 2021, 8:12 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.

Rebase

May 24 2021, 8:11 PM
donner updated the diff for D30412: tests/libalias: Factor out common primitives.

Rebase

May 24 2021, 8:09 PM
donner updated the diff for D30405: tests/libalias: Improve testing.
May 24 2021, 8:08 PM
donner committed rG7b8696bf1287: tests/libalias: Add missing copyright statements (authored by donner).
tests/libalias: Add missing copyright statements
May 24 2021, 7:58 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • Add test for LibAliasRedirectDynamic
May 24 2021, 3:37 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • Add test for LSNAT
May 24 2021, 2:28 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • Add tests for LibAliasRedirectAddr
May 24 2021, 2:11 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • Apply missing refactors
May 24 2021, 1:47 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • Add test for change of alias address
May 24 2021, 1:38 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.

Depend on D30412

May 24 2021, 1:04 PM
donner updated the diff for D30412: tests/libalias: Factor out common primitives.
  • Spacing
May 24 2021, 1:02 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • Clear state instead of choosing new flows
  • Add final variant of PortRedirect
  • test overlapping portforwardings
  • Refactor UDP tests
May 24 2021, 1:00 PM
donner added a reviewer for D30412: tests/libalias: Factor out common primitives: network.
May 24 2021, 12:47 PM
donner requested review of D30412: tests/libalias: Factor out common primitives.
May 24 2021, 12:45 PM

May 23 2021

donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • test overlapping portforwardings
May 23 2021, 9:55 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • Add final variant of PortRedirect
May 23 2021, 9:42 PM
donner updated the diff for D30408: tests/libalias: Test LibAliasIn with redirection.
  • Clear state instead of choosing new flows
May 23 2021, 9:34 PM
donner added a reviewer for D30408: tests/libalias: Test LibAliasIn with redirection: network.

Factor out the common test infrastructure and start with the first test.

May 23 2021, 8:56 PM
donner requested review of D30408: tests/libalias: Test LibAliasIn with redirection.
May 23 2021, 8:54 PM
donner committed rGa660948b7b2d: tests/libalias: Reduce stress (authored by donner).
tests/libalias: Reduce stress
May 23 2021, 8:50 PM
donner added a reviewer for D30405: tests/libalias: Improve testing: network.
May 23 2021, 6:10 PM
donner updated the diff for D30405: tests/libalias: Improve testing.
  • Select a random flow out of a rolling window in order to simulate overlapping communication.
May 23 2021, 6:09 PM
donner requested review of D30405: tests/libalias: Improve testing.
May 23 2021, 5:57 PM
donner committed rG6bc3535519f7: netgraph/ng_checksum: Fix double free error (authored by donner).
netgraph/ng_checksum: Fix double free error
May 23 2021, 1:03 PM
donner committed rG76b96a4ec7fa: netgraph/ng_checksum: Fix double free error (authored by donner).
netgraph/ng_checksum: Fix double free error
May 23 2021, 1:00 PM
donner committed rGfa670efa25ad: netgraph/ng_checksum: Fix double free error (authored by donner).
netgraph/ng_checksum: Fix double free error
May 23 2021, 12:57 PM
donner committed rGccac04cae538: test/libalias: Fix build errors on various platforms (authored by donner).
test/libalias: Fix build errors on various platforms
May 23 2021, 12:46 PM

May 22 2021

donner committed rG03b0505b8fe8: ip_forward: Restore RFC reference (authored by zlei).
ip_forward: Restore RFC reference
May 22 2021, 10:03 PM
donner closed D30374: Restore RFC reference.
May 22 2021, 10:02 PM
donner closed D30379: tests/libalias: Add perfomance test utility..
May 22 2021, 9:50 PM
donner committed rG33c1bdfc3e09: tests/libalias: Add perfomance test utility (authored by donner).
tests/libalias: Add perfomance test utility
May 22 2021, 9:50 PM
donner updated the diff for D30379: tests/libalias: Add perfomance test utility..
  • Print intermediate timinge
May 22 2021, 9:40 PM
donner updated the summary of D30379: tests/libalias: Add perfomance test utility..
May 22 2021, 9:34 PM
donner updated the diff for D30379: tests/libalias: Add perfomance test utility..
  • Attacks come from outside
May 22 2021, 6:12 AM

May 21 2021

donner updated the diff for D30379: tests/libalias: Add perfomance test utility..
  • Make it more complicated.
May 21 2021, 7:43 PM
donner added a reviewer for D30379: tests/libalias: Add perfomance test utility.: network.
May 21 2021, 3:07 PM
donner requested review of D30379: tests/libalias: Add perfomance test utility..
May 21 2021, 2:58 PM
donner added a comment to D30374: Restore RFC reference.

Who is going to commit this?
May I? I'd combine both patches into a single MFC action.

May 21 2021, 1:27 PM
donner committed rGc1fbb54f4b10: test/libalias: Tests for outgoing NAT (authored by donner).
test/libalias: Tests for outgoing NAT
May 21 2021, 9:50 AM
donner closed D30335: test/libalias: Tests for outgoing NAT.
May 21 2021, 9:50 AM
donner added a comment to D30335: test/libalias: Tests for outgoing NAT.

Thank you @kp, having this in main allows to test other branches more easily.

May 21 2021, 9:43 AM
donner added a comment to D30335: test/libalias: Tests for outgoing NAT.
In D30335#682354, @lev wrote:

Does this cover your common use cases, @lev ?

Big part of my use cases is port forwarding into DMZ, both TCP and UDP, with multiple (2000+) streams to same forward.

May 21 2021, 9:42 AM
donner updated the test plan for D30283: libalias: Restructure searching.
May 21 2021, 8:44 AM
donner added a comment to D30283: libalias: Restructure searching.

I did run the tests from D30335 against this patch:

May 21 2021, 8:30 AM
donner accepted D30374: Restore RFC reference.

Thank you.

May 21 2021, 8:09 AM

May 20 2021

donner updated subscribers of D30335: test/libalias: Tests for outgoing NAT.

@kp may you have a look again?
Does this cover your common use cases, @lev ?

May 20 2021, 10:17 PM
donner updated the summary of D30335: test/libalias: Tests for outgoing NAT.
May 20 2021, 10:14 PM
donner updated the diff for D30335: test/libalias: Tests for outgoing NAT.
  • Add stress test for exhausting of search data structure
May 20 2021, 10:12 PM