Page MenuHomeFreeBSD
Feed Advanced Search

Mar 5 2018

eugen_grosbein.net added a comment to D14547: Allow IPv4 subnet routes to move to a different ifa.
Mar 5 2018, 5:36 PM

Mar 1 2018

eugen_grosbein.net added a comment to D14547: Allow IPv4 subnet routes to move to a different ifa.
Mar 1 2018, 10:07 PM

Feb 28 2018

eugen_grosbein.net added a comment to D14547: Allow IPv4 subnet routes to move to a different ifa.

And you do you insist in doing things manually while moving IP (first route change, then reassign IP) instead of just allowing system do all housekeeping for you by reassigning IP first?

Feb 28 2018, 8:33 PM
eugen_grosbein.net added a comment to D14547: Allow IPv4 subnet routes to move to a different ifa.

What FreeBSD version (including revision) do you use for TEST PLAN script, e.g. what is your "stock FreeBSD"?

Feb 28 2018, 8:22 PM
eugen_grosbein.net added a reviewer for D14547: Allow IPv4 subnet routes to move to a different ifa: network.
Feb 28 2018, 8:18 PM
eugen_grosbein.net added a reviewer for D14547: Allow IPv4 subnet routes to move to a different ifa: eugen_grosbein.net.
Feb 28 2018, 8:17 PM

Feb 16 2018

eugen_grosbein.net added a comment to D14385: Wrap a vlan's parent's if_output in a separate function..

I vote to block it for now. We can re-think it in case some useful example of real case came up.

Feb 16 2018, 9:54 PM

Feb 15 2018

eugen_grosbein.net added a comment to D14385: Wrap a vlan's parent's if_output in a separate function..

Indeed, people sometimes tend to do strange things with their network and that's nothing wrong with it (I do sometimes, too). But we should have a distinction for supported configuration and unsupported ones (leading to panic or anothe misbehavour). For example, we do not support assigning IP address to lagg or bridge member - one can do that but that won't work generally.

Feb 15 2018, 8:32 PM
eugen_grosbein.net added a comment to D14385: Wrap a vlan's parent's if_output in a separate function..

Why don't we just reject creation of vlan interface on lagg member (as opposed to lagg itself)?

Feb 15 2018, 6:52 PM

Feb 10 2018

eugen_grosbein.net accepted D14291: Allow route change requests to not specify the gateway..

Do you really need to mix whitespace change with the fix (last chunk)?

Feb 10 2018, 11:49 AM

Jan 15 2018

eugen_grosbein.net added a comment to D13801: Reject the absurd user and group names "." and ".."..

Initial submitter of the PR 224556 is a bit too rash.

Jan 15 2018, 7:44 PM

Dec 8 2017

eugen_grosbein.net added a comment to D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
In D13426#280534, @kib wrote:

Does this change break ABI or KBI ? Or both ?

Dec 8 2017, 10:54 PM
eugen_grosbein.net added a comment to D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
In D13426#280611, @kib wrote:

nop and others not mentioned in the diff use "off_t" internaly already.

Look at the argument types for g_nop_create() as an example.

Dec 8 2017, 10:38 PM
eugen_grosbein.net updated the diff for D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.

More changes: geom_nop, geom_stripe and geom_redboot.

Dec 8 2017, 10:34 PM
eugen_grosbein.net added a comment to D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
In D13426#280612, @imp wrote:
Dec 8 2017, 10:31 PM
eugen_grosbein.net updated the summary of D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
Dec 8 2017, 9:07 PM
eugen_grosbein.net added a comment to D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
In D13426#280534, @kib wrote:

Does this change break ABI or KBI ? Or both ?

Dec 8 2017, 8:51 PM
eugen_grosbein.net retitled D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t from Extend stripeoffset and stripesize of GEOMs from uint_t to off_t to Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
Dec 8 2017, 8:49 PM
eugen_grosbein.net added inline comments to D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
Dec 8 2017, 8:47 PM
eugen_grosbein.net added a comment to D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
In D13426#280534, @kib wrote:

Does this change break ABI or KBI ? Or both ?

Some providers take stripesize/offset in create, e.g. nop. Do they need a fix included into the change ?

Dec 8 2017, 8:40 PM
eugen_grosbein.net added inline comments to D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
Dec 8 2017, 8:36 PM
eugen_grosbein.net updated the diff for D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.

DISK_VERSION bumped.

Dec 8 2017, 8:34 PM
eugen_grosbein.net updated the summary of D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
Dec 8 2017, 5:25 PM
eugen_grosbein.net added a reviewer for D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t: avg.
Dec 8 2017, 5:22 PM
eugen_grosbein.net updated the test plan for D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
Dec 8 2017, 5:21 PM
eugen_grosbein.net updated the test plan for D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
Dec 8 2017, 5:20 PM
eugen_grosbein.net created D13426: Extend stripeoffset and stripesize of GEOMs from u_int to off_t.
Dec 8 2017, 5:18 PM

Oct 20 2017

eugen_grosbein.net added a comment to D12639: Enable VIMAGE by default.

21.10.2017 4:41, bz (Bjoern A. Zeeb) пишет:

This revision was automatically updated to reflect the committed changes.
Closed by commit rS324810: With r181803 on 2008-08-17 23:27:27Z the first VIMAGE commit went into (authored by bz, committed by ).

CHANGED PRIOR TO COMMIT

https://reviews.freebsd.org/D12639?vs=33888&id=34199#toc

REPOSITORY

rS FreeBSD src repository

CHANGES SINCE LAST UPDATE

https://reviews.freebsd.org/D12639?vs=33888&id=34199

REVISION DETAIL

https://reviews.freebsd.org/D12639
Oct 20 2017, 9:48 PM
eugen_grosbein.net created D12747: loopback route needs RTF_PINNED flag.
Oct 20 2017, 8:57 PM

Sep 27 2017

eugen_grosbein.net added inline comments to D12457: Complete INADDR_HASH lock protection.
Sep 27 2017, 12:12 PM

Sep 26 2017

eugen_grosbein.net added a comment to D12086: ng_ether should notify lower and orphan nodes when underlying interface link layer address is changed.
In D12086#258234, @mav wrote:

Do you think the case when lower and orphan hooks are connected to the same node is realistic enough to make this code so tangled?

Sep 26 2017, 11:52 AM · network
eugen_grosbein.net added a comment to D12086: ng_ether should notify lower and orphan nodes when underlying interface link layer address is changed.
In D12086#258234, @mav wrote:

While I understand your valid motivation, I can't say that I very much like this in patch for several reasons:

  • NGM_ETHER_SET_ENADDR is a control command supposed to be targeted to ng_ether node, not from it, and it is a action request, not notification.
Sep 26 2017, 11:44 AM · network
eugen_grosbein.net updated the diff for D12086: ng_ether should notify lower and orphan nodes when underlying interface link layer address is changed.

Expand a comment explaining code.

Sep 26 2017, 11:42 AM · network
eugen_grosbein.net added inline comments to D12457: Complete INADDR_HASH lock protection.
Sep 26 2017, 11:03 AM
eugen_grosbein.net added a comment to D12457: Complete INADDR_HASH lock protection.

Many of these changes are not sufficient to address the underlying problems in this code, as the lock covers loop iteration but fails to protect the stability of the 'ifp' or 'ia' pointer outside of the loop.

Sep 26 2017, 11:00 AM

Sep 22 2017

eugen_grosbein.net added inline comments to D12457: Complete INADDR_HASH lock protection.
Sep 22 2017, 12:27 PM
eugen_grosbein.net edited reviewers for D12086: ng_ether should notify lower and orphan nodes when underlying interface link layer address is changed, added: avg, mav; removed: glebius, ae, network.
Sep 22 2017, 11:16 AM · network
eugen_grosbein.net created D12457: Complete INADDR_HASH lock protection.
Sep 22 2017, 11:11 AM

Sep 21 2017

eugen_grosbein.net updated the diff for D12435: Protect ng_iface(4) private data.

hook needs to be NULL-checked before refcounting.

Sep 21 2017, 4:32 PM
eugen_grosbein.net created D12435: Protect ng_iface(4) private data.
Sep 21 2017, 4:04 PM

Aug 31 2017

eugen_grosbein.net accepted D12188: Fix LACP with extended media..
Aug 31 2017, 7:57 PM

Aug 29 2017

eugen_grosbein.net accepted D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE.
Aug 29 2017, 4:18 PM

Aug 22 2017

eugen_grosbein.net added a comment to D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE.

No, I'm not asking for support that would take a few weeks of ping pong in a bug tracker, if any. This is real world feedback for this review. Take it or leave it. :)

Aug 22 2017, 8:39 AM
eugen_grosbein.net added a comment to D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE.

Thanks, but we've narrowed it down to this commit.

Aug 22 2017, 8:16 AM
eugen_grosbein.net added a comment to D9270: Add support for user-supplied Host-Uniq tag and handle PADM messages in Netgraph PPPoE.

We do seem to have a persistent problem with this patch in some PPPoE environments that will cause a crash in ng_pppoe_rcvdata_ether():

https://ibb.co/mRWKHF
https://ibb.co/iOxRxF
https://forum.opnsense.org/index.php?topic=5697.0

Please advise.

Aug 22 2017, 8:08 AM

Aug 20 2017

eugen_grosbein.net created D12086: ng_ether should notify lower and orphan nodes when underlying interface link layer address is changed.
Aug 20 2017, 4:13 PM · network

Aug 19 2017

eugen_grosbein.net abandoned D11155: ipfw_nat: allow redirect_port if missing config ip or if.

FreeBSD already has neened fuction, the change is not needed.

Aug 19 2017, 11:15 AM
eugen_grosbein.net commandeered D11155: ipfw_nat: allow redirect_port if missing config ip or if.

Cleanup this.

Aug 19 2017, 11:14 AM

Aug 9 2017

eugen_grosbein.net added a comment to D11806: Enable IPSEC_SUPPORT..

I'm seconding ae@: IPSEC_SUPPORT should remain, but IPSEC should be removed. The ipsec.ko and tcpmd5.ko should be loadable, not statically compiled in.

Aug 9 2017, 6:51 PM
eugen_grosbein.net accepted D11806: Enable IPSEC_SUPPORT..
Aug 9 2017, 3:04 PM
eugen_grosbein.net added a member for network: eugen_grosbein.net.
Aug 9 2017, 2:30 PM

Jul 23 2017

eugen_grosbein.net added a comment to D11155: ipfw_nat: allow redirect_port if missing config ip or if.

"ipfw fwd" does nothing with contents of packets. Apache determines contents to return, not ipfw fwd.
All you need it to properly configure Apache to match virtualhost right.

Jul 23 2017, 8:22 AM

Jul 22 2017

eugen_grosbein.net added a comment to D11155: ipfw_nat: allow redirect_port if missing config ip or if.

I wrote earlier "And kernel fixes (translates) replies so that they look as returning from port 3000". That was misprint, I meant to write "And kernel fixes (translates) replies so that they look as returning from port 80".

Jul 22 2017, 9:39 PM
eugen_grosbein.net added a comment to D11155: ipfw_nat: allow redirect_port if missing config ip or if.

That is how it is supposed to work. An answer must be returned from the port if original request, or else client TCP stack would drop it instead of delivering to HTTP browser.

Jul 22 2017, 9:34 PM
eugen_grosbein.net added a comment to D11155: ipfw_nat: allow redirect_port if missing config ip or if.

"ipfw fwd" works for me just fine in 11.1
What is an application do you have that listens for socket at port tcp/3000?
Why do you think that packets do not get redirected to its server socket?
For local redirect there is no port translation needed, the data just get delivered to the socket directly.

Jul 22 2017, 2:10 PM

Jul 21 2017

eugen_grosbein.net added a comment to D11155: ipfw_nat: allow redirect_port if missing config ip or if.

You can use any matching expression, it will work for "recv re1* dst-port 80" too.
You can use "ipfw fwd" to redirect packets to http server too, without transparent proxying.
It just works.

Jul 21 2017, 10:00 PM
eugen_grosbein.net added a comment to D11155: ipfw_nat: allow redirect_port if missing config ip or if.

We already have "ipfw fwd" command for this task that works just fine and does not require any patches.

Jul 21 2017, 4:17 PM
eugen_grosbein.net added a comment to D11155: ipfw_nat: allow redirect_port if missing config ip or if.

You should better describe a problem solved by this change.

Jul 21 2017, 10:27 AM

Jun 29 2017

eugen_grosbein.net accepted D11246: Make stdio cancel-safe..
Jun 29 2017, 7:59 AM

Jun 28 2017

eugen_grosbein.net added a comment to D11246: Make stdio cancel-safe..

My tests show no problems with this patch applied. It seems this is required for net/mpd5 to run stable, it hits lock leak in the stdio otherwise: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186114#c83

Jun 28 2017, 5:06 AM

Jun 17 2017

eugen_grosbein.net added a comment to D11246: Make stdio cancel-safe..

I've applied this to my mpd server (libc rebuilt and reinstalled) and restarted my tests. Hope it won't crash :-)

Jun 17 2017, 12:08 PM

May 23 2017

eugen_grosbein.net accepted D10869: Disable IPsec debugging code when IPSEC_DEBUG kernel options is not specified..
May 23 2017, 12:11 PM