Do not use vyatta-cfg-cmd-wrapper. The script-template takes care of the environment setup and exposes the set/delete/commit command for you to run as if it was an interactive session.
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Jun 18 2020
This is a much broader issue in fact, and has nothing to do with VRRP! It's also a possible shell injection, though for values coming from local sources it's irrelevant.
It's updated in current, still needs an update in crux.
Definitely works fine after the work from T1855
If more evidence that is valid appears, please reopen.
Sadly, still reproducible. I fear we may want to keep it as a known wart until the firewall rewrite is complete.
If it reappears, please reopen.
Could anyone test if it's still reproducible?
Sorry for a very late reply. The script-template already takes care of everything, there is no need to use vyatta-cfg-cmf-wrapper.
With migration to nftables this is a very real possibiliy.
1.3 rolling supports it already, see https://github.com/vyos/vyos-1x/blob/current/src/services/vyos-http-api-server#L195
I wonder if it may be a good idea to make reboot and poweroff commands create a file in our own format.
The rolling release images are not signed. Never were, though I hope at some point they will be. But then again, automatically signing images, with a key stored on a public-facing machine, without a password... kinda defeats the purpose of signing.
Making it a default can make sense, if everyone agrees.
Jun 11 2020
Jun 10 2020
I'm pretty sure it's my failure to correctly handle an edge case. I'll look into it today, should be simple enough.
Jun 8 2020
I think we can safely remove it indeed.
May 19 2020
May 16 2020
Sometimes I wonder if we should just silently wrap every op mode command in sudo, at least those in the families other than show. It's hard to name a command that doesn't need sudo, and everyone (myself included!) has forgotten to add it at least once.
May 9 2020
All sounds good to me.
May 8 2020
May 7 2020
Apr 26 2020
Apr 23 2020
Apr 16 2020
Apr 13 2020
As far as I remember, originally in our Quagga days, it was the case: nothing was advertised if it wasn't present in the RIB. So if you wanted to advertise e.g. 192.0.2.0/24 but had it split into /25's, you'd need both set protocols bgp ... network 192.0.2.0/24 and set protocols static route 192.0.2.0/24 blackhole.
Apr 12 2020
Apr 10 2020
Apr 9 2020
Apr 4 2020
Mar 30 2020
I think I agree: at commit time, user's CLI edit level is irrelevant and should have no effect on the script behaviour.
Mar 25 2020
Mar 22 2020
Mar 18 2020
Could you describe your "dream syntax" for it?
The op mode node.def's simply don't have a concept of value help in vyatta-cfg, only comp_help (<completionHelp> in XML terms).
Mar 15 2020
Mar 14 2020
Mar 13 2020
Mar 9 2020
Mar 8 2020
Feb 23 2020
Feb 10 2020
Feb 4 2020
Feb 2 2020
Jan 31 2020
Jan 16 2020
We took other steps that allows us to take the image back to a manageable size, and this task lost its immediate relevance.