Page MenuHomeVyOS Platform
Feed All Stories

Jan 28 2022

johannrichard added a comment to T4209: Firewall incorrect handler for recent count and time.

I‘m no expert here nor extremely strong opiniated. My thoughts though: if theres no exact equivalent, why try to re-implement the recent functionality with nftables at „all“ cost?

Jan 28 2022, 1:02 PM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4215: Change the description of the "reboot in" command..

Why is it 1-99?
If I want to reboot the router in 1500 min?

Jan 28 2022, 10:25 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta
danielpo added a comment to T4213: ipv6 policy routing not working anymore.

Hi again, I found another bug, if I have two policy routes with the same table it tries to create the table twice, and it doesn't work because the table is already created:

Jan 28 2022, 5:59 AM · VyOS 1.4 Sagitta
aohanian added a comment to T4214: [DHCP] static route dhcp-interface issues.

It's good to know that it works as expected on 1.4-rolling. Is it possible to get a fix for 1.3?

Jan 28 2022, 3:24 AM · VyOS 1.5 Circinus, VyOS Rolling
Unknown Object (User) created T4215: Change the description of the "reboot in" command..
Jan 28 2022, 2:18 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta
Unknown Object (User) closed T4115: reboot in <x> not working as expected as Resolved.

We didn't receive the customer's request.
The timers work without problems.
I'll open a design request to see the range 1-99.

Jan 28 2022, 2:05 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta
Unknown Object (User) added a comment to T4214: [DHCP] static route dhcp-interface issues.

I have emulated the same scenario in to vyos VyOS 1.4-rolling-202201041316
And it works well.
{

vyos@vyos:~$ show dhcp client leases
interface  : eth0
ip address : 172.168.32.146     [Active]
subnet mask: 255.255.255.0
domain name: localdomain        [overridden by domain-name set using CLI]
router     : 172.168.32.2
name server: 172.168.32.2
dhcp server: 172.168.32.254
lease time : 1800
last update: Fri Jan 28 01:09:31 UTC 2022
expiry     : Fri Jan 28 01:39:30 UTC 2022
reason     : RENEW
Jan 28 2022, 1:47 AM · VyOS 1.5 Circinus, VyOS Rolling

Jan 27 2022

sarthurdev closed T4213: ipv6 policy routing not working anymore as Resolved.

Good to hear, going to mark this as resolved.

Jan 27 2022, 10:08 PM · VyOS 1.4 Sagitta
danielpo added a comment to T4213: ipv6 policy routing not working anymore.

Hi,
I applied your new policy-route.py manually, and now my ipv6 pbr works again!! Thanks a lot!

Jan 27 2022, 9:49 PM · VyOS 1.4 Sagitta
sarthurdev committed rVYOSONEX25e97e0b0224: policy: T4213: Fix rule creation/deletion for IPv6 policy routes.
Jan 27 2022, 9:29 PM
GitHub <noreply@github.com> committed rVYOSONEXa23cc19ad88b: Merge pull request #1194 from sarthurdev/T4213 (authored by c-po).
Jan 27 2022, 9:28 PM
sarthurdev changed the status of T4213: ipv6 policy routing not working anymore from In progress to Needs testing.

PR: https://github.com/vyos/vyos-1x/pull/1194

Jan 27 2022, 9:23 PM · VyOS 1.4 Sagitta
c-po renamed T3318: Update Linux Kernel to v5.4.208 / 5.10.142 from Update Linux Kernel to v5.4.172 / 5.10.92 to Update Linux Kernel to v5.4.174 / 5.10.94.
Jan 27 2022, 9:07 PM · VyOS 1.3 Equuleus (1.3.2), VyOS 1.4 Sagitta
sarthurdev added a comment to T4209: Firewall incorrect handler for recent count and time.
In T4209#117429, @sdev wrote:

Would changing the guide to use limit rate 4/minute achieve the same target functionality?

What is the practical difference between limit rate and recent? Is it just two different ways of accomplishing the same?

Jan 27 2022, 8:38 PM · VyOS 1.4 Sagitta
thomasjsn added a comment to T4209: Firewall incorrect handler for recent count and time.
In T4209#117429, @sdev wrote:

Would changing the guide to use limit rate 4/minute achieve the same target functionality?

Jan 27 2022, 8:34 PM · VyOS 1.4 Sagitta
sarthurdev changed the status of T4209: Firewall incorrect handler for recent count and time from Open to In progress.
Jan 27 2022, 8:30 PM · VyOS 1.4 Sagitta
sarthurdev added a comment to T4209: Firewall incorrect handler for recent count and time.

I've come up with a working idea how to implement but would like feedback before submitting a PR.

Jan 27 2022, 8:29 PM · VyOS 1.4 Sagitta
fernando created T4214: [DHCP] static route dhcp-interface issues.
Jan 27 2022, 7:53 PM · VyOS 1.5 Circinus, VyOS Rolling
sarthurdev changed the status of T4213: ipv6 policy routing not working anymore from Open to In progress.

Thanks for the report, I believe I know what's caused it to break. Hopefully will have a fix in for the build tomorrow.

Jan 27 2022, 5:19 PM · VyOS 1.4 Sagitta
danielpo updated the task description for T4213: ipv6 policy routing not working anymore.
Jan 27 2022, 4:38 PM · VyOS 1.4 Sagitta
danielpo created T4213: ipv6 policy routing not working anymore.
Jan 27 2022, 4:38 PM · VyOS 1.4 Sagitta
hensur added a comment to T4151: IPV6 local PBR Support.

I'm looking into it. I'm going to add a test with multiple commits. Good catch, I didn't test this. :)

Jan 27 2022, 4:13 PM · VyOS 1.3 Equuleus (1.3.4), VyOS 1.4 Sagitta
sarthurdev added a comment to T2199: Rewrite firewall in new XML/Python style.

@johannrichard Hey sorry I didn't see your comment, I suggest we move the discussion to the dedicated task: https://phabricator.vyos.net/T4209

Jan 27 2022, 3:33 PM · VyOS 1.4 Sagitta (1.4.0-epa2)
sarthurdev moved T2199: Rewrite firewall in new XML/Python style from Open to In Progress on the VyOS 1.4 Sagitta board.
Jan 27 2022, 3:29 PM · VyOS 1.4 Sagitta (1.4.0-epa2)
sarthurdev closed T3762: Support network and address groups for policy ipv6-route, a subtask of T2199: Rewrite firewall in new XML/Python style, as Resolved.
Jan 27 2022, 3:28 PM · VyOS 1.4 Sagitta (1.4.0-epa2)
sarthurdev closed T3762: Support network and address groups for policy ipv6-route as Resolved.

This was included with the new firewall, going to mark as resolved.

Jan 27 2022, 3:28 PM · VyOS 1.4 Sagitta
sarthurdev closed T3495: Modernising port/protocol definitions, a subtask of T2199: Rewrite firewall in new XML/Python style, as Resolved.
Jan 27 2022, 3:25 PM · VyOS 1.4 Sagitta (1.4.0-epa2)
sarthurdev closed T3495: Modernising port/protocol definitions as Resolved.

The new firewall niw has no such restrictions on port definitions, going to close this as resolved.

Jan 27 2022, 3:25 PM · vyatta-cfg, VyOS 1.4 Sagitta
dmbaturin committed rVYOSONEX672f1342668f: T4193: import missing files..
Jan 27 2022, 3:24 PM
sarthurdev moved T3580: Refactoring firewall ipv6 rule icmpv6 from Open to Finished on the VyOS 1.4 Sagitta board.
Jan 27 2022, 2:45 PM · VyOS 1.4 Sagitta
sarthurdev added a comment to T3580: Refactoring firewall ipv6 rule icmpv6.

This is now implemented in 1.4

Jan 27 2022, 2:44 PM · VyOS 1.4 Sagitta
sarthurdev added a comment to T4160: Firewall - Error in rules that matches everything except something.

Should be fixed now with https://github.com/vyos/vyos-1x/pull/1193

Jan 27 2022, 2:39 PM · VyOS 1.4 Sagitta
dmbaturin committed rVYOSONEX06932d9f120a: T4193: enable the bridge firewall script in the command definition.
Jan 27 2022, 2:34 PM
dmbaturin committed rVYOSONEX0f863f1f8495: T4193: initial implementation of the bridge firewall.
Jan 27 2022, 2:34 PM
dmbaturin committed rVYOSONEXfbb87512565e: Backport vyos.util.dict_search_args().
Jan 27 2022, 2:34 PM
Viacheslav committed rVYOSONEX4a2413fdfbaa: interfaces: T4193: Ability to use transparent firewall on br.
Jan 27 2022, 2:34 PM
Viacheslav committed rVYOSONEX5dafe255d6e9: policy: T4194: Add prefix-list duplication checks.
Jan 27 2022, 2:11 PM
GitHub <noreply@github.com> committed rVYOSONEXa414fa198a96: Merge pull request #1190 from sever-sever/T4194 (authored by c-po).
Jan 27 2022, 2:11 PM
sarthurdev committed rVYOSONEXdcabea5919e2: firewall: T4178: Fix tcp flags output when `not` isn't used.
Jan 27 2022, 2:11 PM
GitHub <noreply@github.com> committed rVYOSONEXe2924920618b: Merge pull request #1193 from sarthurdev/T4178 (authored by c-po).
Jan 27 2022, 2:11 PM
Viacheslav changed the status of T4138: NAT configuration allows to set incorrect port range and invalid port from In progress to Needs testing.
Jan 27 2022, 2:00 PM · VyOS 1.4 Sagitta
sarthurdev closed T4188: Firewall does not correctly handle conntracking as Resolved.
Jan 27 2022, 12:41 PM · VyOS 1.4 Sagitta
sarthurdev added a comment to T4178: policy based routing tcp flags issue.

Above fixed in PR: https://github.com/vyos/vyos-1x/pull/1193

Jan 27 2022, 12:25 PM · VyOS 1.4 Sagitta
johannrichard added a comment to T478: Firewall address group (multi and nesting).

With nftables, this should in principle be possible with nested variables, and the firewall groups are based on these now.

Jan 27 2022, 12:16 PM · VyOS 1.4 Sagitta
sarthurdev closed T3560: Ability to create groups of MAC addresses, a subtask of T2199: Rewrite firewall in new XML/Python style, as Resolved.
Jan 27 2022, 11:55 AM · VyOS 1.4 Sagitta (1.4.0-epa2)
sarthurdev closed T3560: Ability to create groups of MAC addresses as Resolved.
Jan 27 2022, 11:55 AM · VyOS 1.4 Sagitta

Jan 26 2022

zsdc added a comment to T3397: getty forces --keep-baud in 1.2.x.

We confirmed the problem - some serial consoles continue to work well, some are not initialized properly with the --keep-baud option. For example, this can be reproduced in the SOS console in Equinix Metal.
Originally, the problem comes from a systemd service template.
Since it is not completely clear if the option is necessary in one case or another, it seems that the best solution would be to provide the ability to set/remove it from the CLI, so everyone may configure what works best for his hardware.

Jan 26 2022, 8:33 PM · VyOS Rolling, VyOS 1.4 Sagitta (1.4.1), VyOS 1.3 Equuleus (1.3.9)
zsdc changed the status of T3397: getty forces --keep-baud in 1.2.x from Open to Confirmed.
Jan 26 2022, 8:28 PM · VyOS Rolling, VyOS 1.4 Sagitta (1.4.1), VyOS 1.3 Equuleus (1.3.9)
Viacheslav committed rVYOSONEX1d65ce9558b7: nat: T4138: Add port-range validation for NAT.
Jan 26 2022, 7:48 PM
GitHub <noreply@github.com> committed rVYOSONEXf5a29d466566: Merge pull request #1191 from sever-sever/T4138 (authored by c-po).
Jan 26 2022, 7:48 PM
sarthurdev committed rVYOSONEX3523da8e4c87: pki: T4212: Catch `install_into_config` errors and output for manual command….
Jan 26 2022, 7:48 PM
GitHub <noreply@github.com> committed rVYOSONEXc8e32f6adff3: Merge pull request #1192 from sarthurdev/T4212 (authored by c-po).
Jan 26 2022, 7:48 PM
Viacheslav added a comment to T4151: IPV6 local PBR Support.

Incorrect behavior with multiple commits
Configuration:

set policy local-route rule 10 set table '101'
set policy local-route rule 10 source '192.0.2.1'
set policy local-route rule 10 source '192.0.2.2'
commit
set policy local-route rule 10 destination '203.0.113.25'
commit

Expected rules:

10:	from 192.0.2.1 to 203.0.113.25 lookup 101
10:	from 192.0.2.2 to 203.0.113.25 lookup 101

Getting rules:

10:	from 192.0.2.2 lookup 101
10:	from 192.0.2.1 to 203.0.113.25 lookup 101
10:	from 192.0.2.2 to 203.0.113.25 lookup 101
Jan 26 2022, 5:41 PM · VyOS 1.3 Equuleus (1.3.4), VyOS 1.4 Sagitta
sarthurdev changed the status of T4212: PermissionError when generating/installing server Certificate (generate pki certificate sign ...) from In progress to Needs testing.

PR: https://github.com/vyos/vyos-1x/pull/1192

Jan 26 2022, 4:00 PM · VyOS 1.4 Sagitta
sarthurdev changed the status of T4212: PermissionError when generating/installing server Certificate (generate pki certificate sign ...) from Open to In progress.

As reproducing the exact issue seems to be difficult, I'm going to instead change the install function so it catches errors and outputs the set pki ... syntax so it behaves like generate pki ... install <name> is run from op-mode anyway.

Jan 26 2022, 3:33 PM · VyOS 1.4 Sagitta
fahadysf added a comment to T4212: PermissionError when generating/installing server Certificate (generate pki certificate sign ...).

Actually.. re-testing now I'm also unable to reproduce this. I would guess it was some sort of environmental bug. This time I have ensured that I am using the exact input parameters I was using before and am also in conf mode but it just works. I would say let's close this issue for now and if I run into this again I'll double check the reproducability and ask to reopen this issue.

Jan 26 2022, 10:40 AM · VyOS 1.4 Sagitta
fahadysf added a comment to T4212: PermissionError when generating/installing server Certificate (generate pki certificate sign ...).

@sdev You are spot on. I did run it with "run" in conf mode (sorry for editing that out :). But it does bungle it in conf mode on VyOS 1.4-rolling-202201240317 with a non 'vyos' user. Maybe that (the non-vyos user) is what is tripping it up.

Jan 26 2022, 10:32 AM · VyOS 1.4 Sagitta
sarthurdev added a comment to T4210: NAT source/destination negated ports throws an error.

This issue is due to negated source/destination port not being handled properly in code, not validation.

Jan 26 2022, 10:18 AM · VyOS 1.4 Sagitta
sarthurdev added a comment to T4212: PermissionError when generating/installing server Certificate (generate pki certificate sign ...).

It looks like it’s trying to directly install the certificate into the config from op-mode, that is only supposed to happen while you're in configure mode calling the command using run generate pki ... install <name>.

Jan 26 2022, 10:14 AM · VyOS 1.4 Sagitta
fahadysf added a comment to T4212: PermissionError when generating/installing server Certificate (generate pki certificate sign ...).

Important to note that simply running the failing set command (pki certificate v.my.domain certificate <base64-cert-here>) in config mode works fine.

Jan 26 2022, 9:26 AM · VyOS 1.4 Sagitta
fahadysf created T4212: PermissionError when generating/installing server Certificate (generate pki certificate sign ...).
Jan 26 2022, 9:12 AM · VyOS 1.4 Sagitta
al-pankov added a project to T4211: Vyos arm64-latest build issue with libc6 pkg: VyOS 1.4 Sagitta.
Jan 26 2022, 8:48 AM · VyOS 1.4 Sagitta, vyos-build
al-pankov updated the task description for T4211: Vyos arm64-latest build issue with libc6 pkg.
Jan 26 2022, 8:33 AM · VyOS 1.4 Sagitta, vyos-build
al-pankov updated the task description for T4211: Vyos arm64-latest build issue with libc6 pkg.
Jan 26 2022, 8:32 AM · VyOS 1.4 Sagitta, vyos-build
al-pankov added a comment to T4211: Vyos arm64-latest build issue with libc6 pkg.

Jan 26 2022, 8:32 AM · VyOS 1.4 Sagitta, vyos-build
al-pankov created T4211: Vyos arm64-latest build issue with libc6 pkg.
Jan 26 2022, 8:31 AM · VyOS 1.4 Sagitta, vyos-build

Jan 25 2022

Viacheslav added a comment to T4210: NAT source/destination negated ports throws an error.

Is it the same task T4138 ?

Jan 25 2022, 8:43 PM · VyOS 1.4 Sagitta
sarthurdev created T4210: NAT source/destination negated ports throws an error.
Jan 25 2022, 7:56 PM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4138: NAT configuration allows to set incorrect port range and invalid port.

PR https://github.com/vyos/vyos-1x/pull/1191

Jan 25 2022, 7:16 PM · VyOS 1.4 Sagitta
Viacheslav changed the status of T4138: NAT configuration allows to set incorrect port range and invalid port from Open to In progress.
Jan 25 2022, 7:06 PM · VyOS 1.4 Sagitta
Viacheslav committed rVYOSONEXceb52d57e965: monitoring: T3872: Delete iptables input plugin as we use nft.
Jan 25 2022, 6:40 PM
GitHub <noreply@github.com> committed rVYOSONEX5177313cfc12: Merge pull request #1189 from sever-sever/T3872 (authored by c-po).
Jan 25 2022, 6:40 PM
sarthurdev added a comment to T4209: Firewall incorrect handler for recent count and time.

I had forgotten about the recent syntax and it was merged in a broken state (https://github.com/vyos/vyos-1x/blob/current/python/vyos/firewall.py#L164). We should try and find a remedy, or remove it from CLI.

Jan 25 2022, 5:23 PM · VyOS 1.4 Sagitta
Viacheslav changed the status of T4196: DHCP server client-prefix-length parameter results in non-functional leases from In progress to Needs testing.
Jan 25 2022, 4:31 PM · VyOS 1.4 Sagitta, VyOS 1.3 Equuleus ( 1.3.1)
Viacheslav added a comment to T4194: prefix-list no check for duplicate entries.

PR https://github.com/vyos/vyos-1x/pull/1190

set policy prefix-list TST_PRF_LST rule 10 action 'permit'
set policy prefix-list TST_PRF_LST rule 10 prefix '10.5.5.0/24'
set policy prefix-list TST_PRF_LST rule 20 action 'permit'
set policy prefix-list TST_PRF_LST rule 20 prefix '10.6.6.0/24'
set policy prefix-list TST_PRF_LST rule 30 action 'permit'
set policy prefix-list TST_PRF_LST rule 30 prefix '10.6.6.0/24'
Jan 25 2022, 4:25 PM · VyOS 1.4 Sagitta
Viacheslav assigned T4209: Firewall incorrect handler for recent count and time to sarthurdev.
Jan 25 2022, 2:07 PM · VyOS 1.4 Sagitta
Viacheslav updated the task description for T4209: Firewall incorrect handler for recent count and time.
Jan 25 2022, 11:51 AM · VyOS 1.4 Sagitta
Viacheslav updated the task description for T4209: Firewall incorrect handler for recent count and time.
Jan 25 2022, 11:50 AM · VyOS 1.4 Sagitta
Viacheslav created T4209: Firewall incorrect handler for recent count and time.
Jan 25 2022, 11:47 AM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4208: Issues With More than Two Default Route Paths.

Try to dump traffic from the required interface

Jan 25 2022, 10:32 AM · VyOS 1.3 Equuleus (1.3.7)
Viacheslav updated the task description for T4208: Issues With More than Two Default Route Paths.
Jan 25 2022, 10:26 AM · VyOS 1.3 Equuleus (1.3.7)
Viacheslav added a comment to T4207: Policy Based Route Issue with Rules for Multiple Tables.

For first do these changes as in commit
Try policy local route, for example:

set policy local-route rule 10 set table 111
set policy local-route rule 10 source 192.0.2.0/24
Jan 25 2022, 10:25 AM · Bugs, VyOS 1.3 Equuleus (1.3.8)
Viacheslav added a comment to T4206: Policy Based Routing with DHCP Interface Issue.

The main reason:

Jan 25 2022, 10:05 AM · VyOS 1.3 Equuleus (1.3.2)
Viacheslav added a comment to T4206: Policy Based Routing with DHCP Interface Issue.

@Rhongomiant Am I understanding correctly that you don't see the default route in table 111?

Jan 25 2022, 9:50 AM · VyOS 1.3 Equuleus (1.3.2)
Viacheslav updated the task description for T4207: Policy Based Route Issue with Rules for Multiple Tables.
Jan 25 2022, 9:44 AM · Bugs, VyOS 1.3 Equuleus (1.3.8)
Viacheslav updated the task description for T4206: Policy Based Routing with DHCP Interface Issue.
Jan 25 2022, 9:38 AM · VyOS 1.3 Equuleus (1.3.2)
Viacheslav closed T4205: Disable Debian Version in SSH (DebianBanner->no) as Resolved.
Jan 25 2022, 9:14 AM · VyOS 1.4 Sagitta
Viacheslav committed rVYOSONEX10fb7f4c6d07: sshd: T4205: Hide extra version suffix "Debian".
Jan 25 2022, 8:55 AM
GitHub <noreply@github.com> committed rVYOSONEX3249d761843c: Merge pull request #1188 from sever-sever/T4205 (authored by c-po).
Jan 25 2022, 8:55 AM
Viacheslav added a comment to T4205: Disable Debian Version in SSH (DebianBanner->no).

PR https://github.com/vyos/vyos-1x/pull/1188

Jan 25 2022, 8:53 AM · VyOS 1.4 Sagitta
Viacheslav closed T4131: Show firewall group incorrect format members as Resolved.

@sdev Thanks

Jan 25 2022, 8:19 AM · VyOS 1.4 Sagitta
Rhongomiant created T4208: Issues With More than Two Default Route Paths.
Jan 25 2022, 5:00 AM · VyOS 1.3 Equuleus (1.3.7)
Rhongomiant created T4207: Policy Based Route Issue with Rules for Multiple Tables.
Jan 25 2022, 4:33 AM · Bugs, VyOS 1.3 Equuleus (1.3.8)
Rhongomiant created T4206: Policy Based Routing with DHCP Interface Issue.
Jan 25 2022, 4:08 AM · VyOS 1.3 Equuleus (1.3.2)

Jan 24 2022

Unknown Object (User) closed T4204: Update Accel-PPP to a newer revision as Resolved.
Jan 24 2022, 10:01 PM · VyOS 1.3 Equuleus ( 1.3.1), VyOS 1.4 Sagitta
drixter created T4205: Disable Debian Version in SSH (DebianBanner->no).
Jan 24 2022, 8:38 PM · VyOS 1.4 Sagitta
goodNETnick <pknet@ya.ru> committed rVYOSONEX97aca4001263: DHCP: T4196: fix client-prefix-length parameter.
Jan 24 2022, 6:59 PM
GitHub <noreply@github.com> committed rVYOSONEXc50dc1217d0d: Merge pull request #1187 from goodNETnick/dhcp-client-prefix_1.3 (authored by c-po).
Jan 24 2022, 6:59 PM
n.fort closed T1795: Commit rollback by timeout as Resolved.

Task already implemented:

Jan 24 2022, 6:56 PM · VyOS 1.4 Sagitta, Global Notifications
Unknown Object (User) changed the status of T4204: Update Accel-PPP to a newer revision from In progress to Needs testing.
Jan 24 2022, 8:30 AM · VyOS 1.3 Equuleus ( 1.3.1), VyOS 1.4 Sagitta