Page MenuHomePhabricator

yun (Yun Zheng Hu)
User

Projects

User does not belong to any projects.

User Details

User Since
May 2 2016, 7:40 PM (181 w, 1 d)

Recent Activity

Aug 10 2019

yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Hi Donny,

Aug 10 2019, 5:23 PM · VyOS 1.3 Equuleus

May 29 2019

yun added a comment to T1360: DNS nameservers from dhcp not set.

Not much response, but multiple users I recommend VyOS to are having this issue. So i would say it's a bug and not intended behaviour.

May 29 2019, 12:26 PM · VyOS 1.2 Crux (VyOS 1.2.3), VyOS 1.3 Equuleus

May 17 2019

yun created T1383: Cannot use quotes for openvpn-option --route-up.
May 17 2019, 3:23 PM · VyOS 1.3 Equuleus
yun added a comment to T1246: VyOS 1.2.0 "openvpn-options" configuration does not allow quotes in values.

Sorry comment on a resolved ticket, but i'm having the issue that is described in this issue. And i'm not sure how to fix it.

May 17 2019, 2:20 PM · VyOS 1.2 Crux (VyOS 1.2.3), VyOS 1.3 Equuleus

May 4 2019

yun added a comment to T1360: DNS nameservers from dhcp not set.

So is it considered a bug or works as intented?

May 4 2019, 10:47 AM · VyOS 1.2 Crux (VyOS 1.2.3), VyOS 1.3 Equuleus

May 2 2019

yun added a comment to T1360: DNS nameservers from dhcp not set.

If that is the only point, race conditions can occur. I assume this is only called when comitting or loading the config.

May 2 2019, 6:18 PM · VyOS 1.2 Crux (VyOS 1.2.3), VyOS 1.3 Equuleus
yun added a comment to T1360: DNS nameservers from dhcp not set.

When is host_name.py called? Maybe my dhcp server just responds slow and host_name.py is called before dhcp server responds? Is that possible?

May 2 2019, 5:33 AM · VyOS 1.2 Crux (VyOS 1.2.3), VyOS 1.3 Equuleus

May 1 2019

yun created T1360: DNS nameservers from dhcp not set.
May 1 2019, 8:53 PM · VyOS 1.2 Crux (VyOS 1.2.3), VyOS 1.3 Equuleus

Apr 25 2019

yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Yes, it's pretty vague bug, and seems it's more related on how the VM was initially created if it will work or not.

Apr 25 2019, 10:42 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

hi @hagbard, I did some extensive testing. Actually I was already testing with "1.2.0-rolling+201904240337". So here are my findings.

Apr 25 2019, 8:24 PM · VyOS 1.3 Equuleus

Apr 24 2019

yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Because you mentioned networkd earlier, I looked into this immediately and found the following differences:

Apr 24 2019, 9:13 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Thanks, I tested it, my findings below:

Apr 24 2019, 9:04 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

When I read it back, I can understand the confusion. Sorry, will try to be more clear next time.

Apr 24 2019, 8:31 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

@hagbard But we were talking about my patch, and that it didn't work for you in latest rolling... So i tested my patch in the latest rolling (and noted the date) that it worked. Should I have made it more clear that I was testing my patch?

Apr 24 2019, 8:21 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Hi hagbard, I don't understand why you close the PR so early without me testing the latest iso. Please when you refer to "latest" iso, to also note the rolling date. This makes it easier for everyone who tries to contribute i think.

Apr 24 2019, 8:03 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Thanks for the detailed history, that makes things more clear.
So for me the latest rolling worked, do you know what part from networkd is interfering with dhcp for you? Did you see if netplug called dhcp correctly after resume?

Apr 24 2019, 7:10 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

I wonder what changed then, will also test with latest rolling

Apr 24 2019, 7:29 AM · VyOS 1.3 Equuleus

Apr 23 2019

yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

PR: https://github.com/vyos/vyos-vmwaretools-scripts/pull/1/commits/92f5d450df4de09626af232bc5ced067a6493d6b

Apr 23 2019, 9:51 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Ok final attempt and trivial fix.
It seems that changing run-parts to /bin/run-parts was not needed. So netplug works fine as it is.

Apr 23 2019, 8:02 PM · VyOS 1.3 Equuleus
yun added a comment to T1250: FRR not setting default gateway from dhcp.

Hi all, I can confirm that with vyos-1.2.0-rolling+201904160337-amd64, this issue is fixed.
If I boot the older 2019-02-16 version, the bug can be reproduced easily. So it must be an issue in FRR that is introduced in 7.1 as the newer livecd uses FRR 7.0:

Apr 23 2019, 7:47 PM · VyOS 1.3 Equuleus
yun added a comment to T1250: FRR not setting default gateway from dhcp.

Is this a FRR bug or something else? Because I don't use any BGP stuff I just added the ip -4 route add command to my VM, so it's always executed. However, as @runar mentioned, it will bypass FRR. But executing the command via FRR didn't work, so the issue must be in FRR?

Apr 23 2019, 7:02 PM · VyOS 1.3 Equuleus

Apr 22 2019

yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

@hagbard Can you please test the steps I mentioned mentioned here, to see if you can reproduce: https://phabricator.vyos.net/T1028#35591
Without any modifications to any scripts, it will bring the interface into permanent down state after suspend and resume.

Apr 22 2019, 4:15 PM · VyOS 1.3 Equuleus

Apr 21 2019

yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Attempt two of the fix, so disregard everything in above attempt.

Apr 21 2019, 11:19 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

I have a working fix, which is comprised of earlier suggested fixes I mentioned in T1028 and T894:

Apr 21 2019, 8:30 PM · VyOS 1.3 Equuleus
yun reopened T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses as "Needs testing".

I want to set this ticket back to "Needs testing" or even "Open", I have downloaded and tested vyos-rolling-2019-04-16 and it seems it is not properly fixed.

Apr 21 2019, 6:41 PM · VyOS 1.3 Equuleus

Apr 16 2019

yun added a comment to T1250: FRR not setting default gateway from dhcp.

@yun What is the exact frr command you tried?
the command you tried manually.

Apr 16 2019, 7:48 PM · VyOS 1.3 Equuleus
yun added a comment to T1250: FRR not setting default gateway from dhcp.

I would to see this committed. But do we also know what causes the issue? Is it with FRR or was this script just missing the ip command to set the default gw?

Apr 16 2019, 11:27 AM · VyOS 1.3 Equuleus

Feb 17 2019

yun updated the task description for T1250: FRR not setting default gateway from dhcp.
Feb 17 2019, 1:40 PM · VyOS 1.3 Equuleus
yun created T1250: FRR not setting default gateway from dhcp.
Feb 17 2019, 1:39 PM · VyOS 1.3 Equuleus

Feb 11 2019

yun added a comment to T1001: show config commands - breaks when using backslashes in values.

Just to add extra info to this ticket, I had a openvpn-option that i wanted to add but it contained a single quote. I was not able to do this (in version 1.8.x this worked).

Feb 11 2019, 12:32 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc10)
yun added a comment to T894: DHCP not renewed after switching network.

I was not able to test sooner. But i confirmed it works properly with rolling release vyos-1.2.0-rolling+201902060337-amd64.

Feb 11 2019, 12:20 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-GA)

Dec 7 2018

yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

Will you then use the netplugd way mentioned in T894 or also issue a dhcp renew in the resume vmware script? I prefer the netplug way as this also fixes issues when you switch network. I can imagine we want to avoid double renewing.

Dec 7 2018, 6:25 PM · VyOS 1.3 Equuleus
yun added a comment to T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.

@hagbard I tested the script, it works perfect for interfaces with static addresses. However interfaces with "dhcp" remain without an ip address after resuming. This is caused by the following issue I reported: T894

Dec 7 2018, 2:41 PM · VyOS 1.3 Equuleus

Nov 26 2018

yun added a comment to T1001: show config commands - breaks when using backslashes in values.
In T1001#26863, @arne wrote:

Is there any need to have backslashes in descriptions? Or, more generally: Is there any need to have non-ASCII characters in descriptions?
I am asking because we could either handle this in the setting part of the code (which could clear the backslashes and all other kinds of potentially unwanted special characters) or we handle this in the config printing code.

Nov 26 2018, 2:53 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc10)

Nov 20 2018

yun created T1028: Suspending and resuming VyOS in VMware will result in loss of static ip addresses.
Nov 20 2018, 3:36 PM · VyOS 1.3 Equuleus

Nov 13 2018

yun added a comment to T894: DHCP not renewed after switching network.

Actually the old netplug script doesn't fully work, i had to use the original netplug script that comes with the package but I added the run-parts lines like this:

Nov 13 2018, 10:13 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-GA)
yun updated the task description for T1001: show config commands - breaks when using backslashes in values.
Nov 13 2018, 1:03 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc10)
yun created T1001: show config commands - breaks when using backslashes in values.
Nov 13 2018, 1:03 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc10)
yun added a comment to T56: Add pkcs11 support to OpenVPN interfaces.

Hi, I requested this feature, but due to the addition of username/password it can work as a good workaround.

Nov 13 2018, 12:54 AM · VyOS 1.3 Equuleus
yun added a comment to T894: DHCP not renewed after switching network.

I did some of my own digging, and it seems because Vyos 1.2.x is missing the netplugd daemon.

Nov 13 2018, 12:51 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-GA)

Oct 13 2018

yun created T894: DHCP not renewed after switching network.
Oct 13 2018, 12:17 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-GA)
yun added a comment to T56: Add pkcs11 support to OpenVPN interfaces.

Now that we can add user-pass authenticaton so the configuration is accepted without cert and keyfile we can fool the configuration to make it accept and work with pkcs11 settings:

Oct 13 2018, 12:05 PM · VyOS 1.3 Equuleus

Mar 29 2018

yun added a comment to T56: Add pkcs11 support to OpenVPN interfaces.

Is there any progress on this merge?

Mar 29 2018, 8:30 PM · VyOS 1.3 Equuleus

Sep 2 2016

yun added a comment to T56: Add pkcs11 support to OpenVPN interfaces.

It would be nice if this was available in the next release. Happy to receive any feedback if I need to improve the patch.

Sep 2 2016, 2:47 PM · VyOS 1.3 Equuleus

May 11 2016

yun added a comment to T65: auth-user-pass authentication in OpenVPN.

Maybe make the tls cert-file and key-file complete optional, this way other advanced options can be used for openvpn by using "openvpn-option", such as pkcs11 support mentioned in T56

May 11 2016, 7:46 PM

May 10 2016

yun added a comment to T56: Add pkcs11 support to OpenVPN interfaces.

I already have a working patch for my own setup, I attached it:

May 10 2016, 8:25 AM · VyOS 1.3 Equuleus

May 2 2016

yun created T56: Add pkcs11 support to OpenVPN interfaces.
May 2 2016, 7:48 PM · VyOS 1.3 Equuleus