Page MenuHomeFreeBSD
Feed Advanced Search

Jul 1 2021

donner accepted D30974: dummynet: fix sysctls.
Jul 1 2021, 1:02 PM
donner added inline comments to D30943: pf tests: Stress state retrieval.
Jul 1 2021, 7:58 AM
donner accepted D30957: libpfctl: memory leak fix.
Jul 1 2021, 7:54 AM

Jun 30 2021

donner added inline comments to D30946: pf: getstates: avoid taking the hashrow lock if the row is empty.
Jun 30 2021, 3:30 PM
donner added a comment to D30957: libpfctl: memory leak fix.

Why does it depend on other reviews?
If it's part of an open review, please fix it there.
If not, please fix it regardless of the other changes.

Jun 30 2021, 3:28 PM
donner added a comment to D30947: pf: support paging in the DIOCGETSTATESNV call.
In D30947#696642, @mjg wrote:

Since userspace has to alloc all the memory anyway, you can extend the count by say 20% (or even double it if not going past a threshold). Then you can call the kernel and have it fill out as much as it sees fit and return, giving you a magic token which you can use to continue the iteration (which would normally be a row number). Then it is up to the kernel to make the most of what userspace is offering all while limiting its own memory use as it sees fit. This should probably be a new ioctl.

Jun 30 2021, 3:26 PM
donner accepted D30945: libpfctl: improve DIOCGETSTATESNV size estimation.

LGTM

Jun 30 2021, 3:23 PM
donner accepted D30944: pf: Reduce the data returned in DIOCGETSTATESNV.

Please MFC this to any version containing the "old" ABI, so that no intermediate versions enter the external visible trains.

Jun 30 2021, 3:21 PM
donner accepted D30943: pf tests: Stress state retrieval.
Jun 30 2021, 3:18 PM

Jun 24 2021

donner committed rG2e6fec416d03: tests/netgraph: Fix build error due to missing directory (authored by donner).
tests/netgraph: Fix build error due to missing directory
Jun 24 2021, 12:08 PM
donner committed rGdb7136d6b97f: tests/netgraph: Fix build error due to missing directory (authored by donner).
tests/netgraph: Fix build error due to missing directory
Jun 24 2021, 12:00 PM

Jun 23 2021

donner committed rGf70c98a2f5d9: libalias: Fix compile time warning about unused functions (authored by donner).
libalias: Fix compile time warning about unused functions
Jun 23 2021, 8:09 AM
donner closed D30844: libalias: Fix compile time warning about unused functions.
Jun 23 2021, 8:08 AM

Jun 22 2021

donner added a comment to D30175: Add netgraph BFP rc.d script.

May you please add a paragraph to the rc man page, too?

I am not native speaker, it is a bit hard to me to write for humans.

Jun 22 2021, 10:25 PM · rc
donner requested changes to D30175: Add netgraph BFP rc.d script.

Thank you for adding context to the diff.

Jun 22 2021, 10:21 PM · rc

Jun 21 2021

donner requested review of D30844: libalias: Fix compile time warning about unused functions.
Jun 21 2021, 3:26 PM
donner added a comment to D30175: Add netgraph BFP rc.d script.

First I'm happy to see such a sophisticated use of netgraph in the default rc context.
Thank you for this idea.

Jun 21 2021, 1:08 PM · rc
donner added a comment to D30811: Correct loopback route for aliases IP addresses.
In D30811#693218, @zlei.huang_gmail.com wrote:

Can you please share the discussion? Thanks!

Jun 21 2021, 11:02 AM · network

Jun 19 2021

donner committed rGd261e57deacb: libalias: Switch to efficient data structure for incoming traffic (authored by donner).
libalias: Switch to efficient data structure for incoming traffic
Jun 19 2021, 8:29 PM
donner closed D30536: libalias: Switch to efficient data structure for incoming traffic.
Jun 19 2021, 8:29 PM
donner committed rG935fc93af157: libalias: Switch to efficient data structure for outgoing traffic (authored by donner).
libalias: Switch to efficient data structure for outgoing traffic
Jun 19 2021, 8:11 PM
donner closed D30516: libalias: Switch to efficient data structure for outgoing traffic.
Jun 19 2021, 8:10 PM
donner closed D30582: libalias: Restructure - Finalize.
Jun 19 2021, 8:02 PM
donner committed rGd989935b5bcd: libalias: Restructure - Finalize (authored by donner).
libalias: Restructure - Finalize
Jun 19 2021, 8:02 PM
donner closed D30604: libalias: Restructure - Remove temporary state deleteAllLinks from global struct.
Jun 19 2021, 7:58 PM
donner committed rGfe83900f9fa9: libalias: Restructure - Remove temporary state deleteAllLinks from global struct (authored by donner).
libalias: Restructure - Remove temporary state deleteAllLinks from global struct
Jun 19 2021, 7:58 PM
donner committed rG9efcad61d830: libalias: Restructure - Use AliasRange instead of PORT_BASE (authored by donner).
libalias: Restructure - Use AliasRange instead of PORT_BASE
Jun 19 2021, 7:54 PM
donner closed D30581: libalias: Restructure - Use AliasRange instead of PORT_BASE.
Jun 19 2021, 7:54 PM
donner updated the diff for D30581: libalias: Restructure - Use AliasRange instead of PORT_BASE.

Use arc4random_uniform(3) as recommended by Dimitry Luhtionov.

Jun 19 2021, 7:43 PM
donner committed rG1178dda53d10: libalias: Restructure - Table for PPTP (authored by donner).
libalias: Restructure - Table for PPTP
Jun 19 2021, 7:29 PM
donner closed D30580: libalias: Restructure - Table for PPTP.
Jun 19 2021, 7:29 PM
donner committed rG7b44ff4c52ce: libalias: Restructure - Group expire handling entries (authored by donner).
libalias: Restructure - Group expire handling entries
Jun 19 2021, 7:23 PM
donner closed D30575: libalias: Restructure - Group expire handling entries.
Jun 19 2021, 7:23 PM
donner committed rG492d3b7109b4: libalias: Restructure - Group incoming links (authored by donner).
libalias: Restructure - Group incoming links
Jun 19 2021, 7:08 PM
donner closed D30574: libalias: Restructure - Group incoming links.
Jun 19 2021, 7:08 PM
donner committed rGd4ab07d2aeb1: libalias: Restructure - Cleanup and Use for links (authored by donner).
libalias: Restructure - Cleanup and Use for links
Jun 19 2021, 6:32 PM
donner closed D30573: libalias: Restructure - Cleanup and Use for links.
Jun 19 2021, 6:32 PM
donner committed rGd5419034381d: libalias: Restructure - Outgoing search (authored by donner).
libalias: Restructure - Outgoing search
Jun 19 2021, 6:27 PM
donner closed D30572: libalias: Restructure - Outgoing search.
Jun 19 2021, 6:26 PM
donner closed D30571: libalias: Restructure - Cleanup _FindLinkIn.
Jun 19 2021, 6:21 PM
donner committed rG19dcc4f2250b: libalias: Restructure - Cleanup _FindLinkIn (authored by donner).
libalias: Restructure - Cleanup _FindLinkIn
Jun 19 2021, 6:21 PM
donner committed rGcac129e60300: libalias: Restructure - Table for partially links (authored by donner).
libalias: Restructure - Table for partially links
Jun 19 2021, 6:06 PM
donner closed D30570: libalias: Restructure - Table for partial links.
Jun 19 2021, 6:06 PM
donner committed rG32f9c2ceb3ec: libalias: Restructure - Separate fully qualified search (authored by donner).
libalias: Restructure - Separate fully qualified search
Jun 19 2021, 5:22 PM
donner closed D30569: libalias: Restructure - Separate fully qualified search.
Jun 19 2021, 5:21 PM
donner committed rGd41044ddfdbc: libalias: Restructure - Common search terms (authored by donner).
libalias: Restructure - Common search terms
Jun 19 2021, 5:05 PM
donner closed D30568: libalias: Restructure - Common search terms.
Jun 19 2021, 5:05 PM
donner committed rGef828d39be8e: libalias: Promote per instance global variable timeStamp (authored by donner).
libalias: Promote per instance global variable timeStamp
Jun 19 2021, 4:38 PM
donner closed D30566: libalias: Promote per instance global variable timeStamp.
Jun 19 2021, 4:38 PM
donner committed rG3fd20a79e7b5: libalias: Stats are unsigned (authored by donner).
libalias: Stats are unsigned
Jun 19 2021, 4:23 PM
donner closed D30587: libalias: Stats are unsigned.
Jun 19 2021, 4:22 PM

Jun 18 2021

donner accepted D30791: pf: fallback if $pf_rules fails to load.
Jun 18 2021, 7:07 PM
donner added a comment to D30811: Correct loopback route for aliases IP addresses.

I'm surprised. There was a discussion about not redirecting /32 on interfaces to loopback. So we see the consequence.

Jun 18 2021, 10:34 AM · network
donner committed rG95f8bb6d06d9: ipfw.8: synopsis misses nat show form (authored by donner).
ipfw.8: synopsis misses nat show form
Jun 18 2021, 10:08 AM
donner committed rG116fc1b5a07f: ipfw.8: synopsis misses nat show form (authored by donner).
ipfw.8: synopsis misses nat show form
Jun 18 2021, 10:02 AM
donner committed rGef84d16e68b2: ipfw.8: synopsis misses nat show form (authored by donner).
ipfw.8: synopsis misses nat show form
Jun 18 2021, 9:54 AM

Jun 17 2021

donner committed rG9d30353cb494: Do not forward datagrams originated by link-local addresses (authored by zlei).
Do not forward datagrams originated by link-local addresses
Jun 17 2021, 8:22 AM
donner committed rGc0a91473f5be: Do not forward datagrams originated by link-local addresses (authored by zlei).
Do not forward datagrams originated by link-local addresses
Jun 17 2021, 8:20 AM
donner committed rG7da8312f7bf0: Do not forward datagrams originated by link-local addresses (authored by zlei).
Do not forward datagrams originated by link-local addresses
Jun 17 2021, 8:17 AM

Jun 16 2021

donner committed rG63312dd6d129: netgraph/bridge: malloc without flags (authored by donner).
netgraph/bridge: malloc without flags
Jun 16 2021, 10:00 PM
donner committed rGad2c95130b4b: netgraph/bridge: malloc without flags (authored by donner).
netgraph/bridge: malloc without flags
Jun 16 2021, 9:57 PM
donner added inline comments to D30791: pf: fallback if $pf_rules fails to load.
Jun 16 2021, 9:26 PM
donner committed rG7438333663b4: tests/netgraph: Tests for ng_vlan_rotate (authored by donner).
tests/netgraph: Tests for ng_vlan_rotate
Jun 16 2021, 12:04 PM
donner committed rGd68f32b4ac35: tests/netgraph: Tests for ng_hub (authored by donner).
tests/netgraph: Tests for ng_hub
Jun 16 2021, 11:51 AM
donner committed rG49736a31a5c2: tests/netgraph: Tests for ng_bridge (authored by donner).
tests/netgraph: Tests for ng_bridge
Jun 16 2021, 11:51 AM
donner committed rG4a0c1d0543af: tests/netgraph: Inital framework for testing libnetgraph (authored by donner).
tests/netgraph: Inital framework for testing libnetgraph
Jun 16 2021, 11:50 AM
donner committed rGabeb0d0c29ba: tests/netgraph: Prebuild tests directory (authored by donner).
tests/netgraph: Prebuild tests directory
Jun 16 2021, 11:50 AM
donner committed rG1818c5a49a99: tests/netgraph: Tests for ng_hub (authored by donner).
tests/netgraph: Tests for ng_hub
Jun 16 2021, 11:46 AM
donner committed rG617e33a19aaf: tests/netgraph: Tests for ng_vlan_rotate (authored by donner).
tests/netgraph: Tests for ng_vlan_rotate
Jun 16 2021, 11:46 AM
donner committed rGda49f6099185: tests/netgraph: Tests for ng_bridge (authored by donner).
tests/netgraph: Tests for ng_bridge
Jun 16 2021, 11:46 AM
donner committed rG2def89063412: tests/netgraph: Inital framework for testing libnetgraph (authored by donner).
tests/netgraph: Inital framework for testing libnetgraph
Jun 16 2021, 11:46 AM
donner committed rG49a07e3d08a0: tests/netgraph: Prebuild tests directory (authored by donner).
tests/netgraph: Prebuild tests directory
Jun 16 2021, 11:46 AM
donner committed rG053937ce6e1a: tests/netgraph: Tests for ng_vlan_rotate (authored by donner).
tests/netgraph: Tests for ng_vlan_rotate
Jun 16 2021, 11:27 AM
donner committed rG7d243608d516: tests/netgraph: Tests for ng_hub (authored by donner).
tests/netgraph: Tests for ng_hub
Jun 16 2021, 11:27 AM

Jun 15 2021

donner added inline comments to D30638: if_vxlan(4): Allow netmap_generic to intercept RX packets..
Jun 15 2021, 2:56 PM
donner accepted D30770: bsnmp: Fix incorrect use of libpfctl.

How could this happen?

Jun 15 2021, 1:20 PM
donner committed rG1b379f585876: tests/netgraph: Tests for ng_bridge (authored by donner).
tests/netgraph: Tests for ng_bridge
Jun 15 2021, 12:41 PM
donner committed rG36c7408818c5: tests/netgraph: Inital framework for testing libnetgraph (authored by donner).
tests/netgraph: Inital framework for testing libnetgraph
Jun 15 2021, 12:41 PM

Jun 14 2021

donner added inline comments to D30566: libalias: Promote per instance global variable timeStamp.
Jun 14 2021, 9:35 PM
donner added a comment to D30566: libalias: Promote per instance global variable timeStamp.

In this example I use 32-bit timestamps, and then it is assumed that the code needs to handle wraparound.

#ifndef _KERNEL
int time_uptime;

static void *
time_cache(void *arg)
{
   while (1) {
    usleep(1000000);
    time_uptime = XXX;
   }
   return (NULL);
}
static void __attribute__((__constructor__))
init_function(void *arg)
{
    pthread_t pt;
    pthread_create(&pt, NULL, time_cache, NULL);
}
#endif
Jun 14 2021, 9:21 PM
donner committed rG4c3280e58727: netgraph/bridge: malloc without flags (authored by donner).
netgraph/bridge: malloc without flags
Jun 14 2021, 1:45 PM
donner closed D30759: netgraph/bridge: malloc without flags.
Jun 14 2021, 1:45 PM

Jun 13 2021

donner added a reviewer for D30536: libalias: Switch to efficient data structure for incoming traffic: network.
Jun 13 2021, 11:32 PM
donner updated the summary of D30759: netgraph/bridge: malloc without flags.
Jun 13 2021, 10:44 PM
donner requested review of D30759: netgraph/bridge: malloc without flags.
Jun 13 2021, 10:03 PM
donner updated the diff for D30604: libalias: Restructure - Remove temporary state deleteAllLinks from global struct.
  • Remove an unnecessary local var
Jun 13 2021, 9:22 PM
donner updated the diff for D23850: netgraph: Allow larger messages in communication between kernel and user-space.

rebase

Jun 13 2021, 9:11 PM
donner updated the diff for D23586: ipfw_nat: Perfomance of accessing multiple nat tables.

Rebase

Jun 13 2021, 9:06 PM
donner updated the diff for D30085: ipfw: Improve hash function for flow tables.

Rebase

Jun 13 2021, 8:54 PM
donner updated the diff for D30536: libalias: Switch to efficient data structure for incoming traffic.

rebase

Jun 13 2021, 8:52 PM
donner updated the diff for D30516: libalias: Switch to efficient data structure for outgoing traffic.

rebase

Jun 13 2021, 8:52 PM
donner updated the diff for D30582: libalias: Restructure - Finalize.

rebase

Jun 13 2021, 8:51 PM
donner updated the diff for D30604: libalias: Restructure - Remove temporary state deleteAllLinks from global struct.

rebase

Jun 13 2021, 8:51 PM
donner updated the diff for D30581: libalias: Restructure - Use AliasRange instead of PORT_BASE.

Rebase

Jun 13 2021, 8:51 PM
donner updated the diff for D30580: libalias: Restructure - Table for PPTP.

Rebase

Jun 13 2021, 8:51 PM
donner updated the diff for D30575: libalias: Restructure - Group expire handling entries.

Rebase

Jun 13 2021, 8:50 PM
donner updated the diff for D30574: libalias: Restructure - Group incoming links.

Rebase

Jun 13 2021, 8:50 PM
donner updated the diff for D30573: libalias: Restructure - Cleanup and Use for links.

rebase

Jun 13 2021, 8:50 PM
donner updated the diff for D30572: libalias: Restructure - Outgoing search.

Rebase

Jun 13 2021, 8:49 PM
donner updated the diff for D30571: libalias: Restructure - Cleanup _FindLinkIn.

rebase

Jun 13 2021, 8:49 PM