- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Apr 6 2022
Mar 29 2022
Mar 18 2022
Perhaps only in-use sets can be determined and loaded?
Error implies that firewall failed to configure on boot as mangle table is missing. Any logs/config trace from boot?
Feb 24 2022
@n.fort I have been able to reproduce this, it only occurs when installing for UEFI.
Feb 20 2022
sgdisk man says -n should have a partition number followed by start/end values. Looking at the code this bug is present in all versions 1.2 and above.
Feb 15 2022
Feb 6 2022
Feb 5 2022
Feb 4 2022
Feb 3 2022
Feb 2 2022
Adding this issue to this task: https://forum.vyos.io/t/firewall-configuration-issue-after-upgrade/8414
Jan 31 2022
I already have a fix for this from your comment on T4213. Will have it included in a PR shortly.
Jan 29 2022
Jan 28 2022
I've actually found a way to define this properly, resulting rule now looks like below:
tcp dport { 22 } add @FOO_30 { ip saddr limit rate over 4/minute burst 4 packets } counter packets 3 bytes 156 reject comment "FOO-30"
ct state { new } tcp dport { 22 } counter packets 5 bytes 260 return comment "FOO-40"Jan 27 2022
Good to hear, going to mark this as resolved.
In T4209#117579, @thomasjsn wrote: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?
I've come up with a working idea how to implement but would like feedback before submitting a PR.
Thanks for the report, I believe I know what's caused it to break. Hopefully will have a fix in for the build tomorrow.
@johannrichard Hey sorry I didn't see your comment, I suggest we move the discussion to the dedicated task: https://phabricator.vyos.net/T4209
This was included with the new firewall, going to mark as resolved.
The new firewall niw has no such restrictions on port definitions, going to close this as resolved.
This is now implemented in 1.4
Should be fixed now with https://github.com/vyos/vyos-1x/pull/1193
Above fixed in PR: https://github.com/vyos/vyos-1x/pull/1193
Jan 26 2022
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.
This issue is due to negated source/destination port not being handled properly in code, not validation.
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 25 2022
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 22 2022
Jan 21 2022
PR + migration: https://github.com/vyos/vyos-1x/pull/1184
I can't reproduce this issue on latest rolling
Jan 20 2022
Jan 19 2022
Jan 18 2022
Okay, thanks for the update. I have found a conntrack issue in the code. Will have a fix in shortly.
Fixed in 1.4 PR: https://github.com/vyos/vyos-1x/pull/1176
Jan 17 2022
You need to remove the state new match on the rule and it'll work.
Included those flags in PR: https://github.com/vyos/vyos-1x/pull/1174
Included in PR: https://github.com/vyos/vyos-1x/pull/1174
Jan 16 2022
Thanks, will include a fix in a PR shortly