User Details
- User Since
- Aug 20 2020, 9:55 AM (171 w, 4 d)
- Roles
- Administrator
Sat, Nov 25
KeyboardInterrupt is caught with an appropriate error message now.
Wed, Nov 22
Oct 26 2023
Oops, wrong task.
Oct 19 2023
Oct 12 2023
Oct 6 2023
Oct 1 2023
Sep 28 2023
show-dhcp-leases.pl under vyatta-op remains the only extant deadweight Vyatta script and needs to be removed.
Apr 17 2023
Mar 9 2023
Mar 2 2023
Jan 26 2023
Jan 20 2023
If the script returns nothing, the raw mode returns "". Is this expected behaviour? Should it not be {}?
Jan 18 2023
Removing the deprecation notice from 1.4.
Jun 2 2022
Apr 14 2022
This seems to be Cloudflare's doing, not ours. We're investigating this issue.
Mar 24 2022
Mar 16 2022
Note: Equuleus still uses the C preprocessor. // substrings (otherwise interpreted as comments) were escaped as \/\/ in op-mode-definitions/generate-public-key-command.xml.in in Equuleus and should be converted back eventually.
Mar 10 2022
I'm going to be experimenting with Jinja 2 to see if we can incorporate it into our template processor.
Actually, let's leave it in 1.3 but backport the warning and generate public-key-command.
Mar 8 2022
I'm removing loadkey from 1.4. It will be removed from 1.3.1, as well. Eventually, the warning will be dropped from 1.4 but it will remain in 1.3.
Mar 3 2022
Feb 11 2022
Jan 11 2022
Chained exceptions are covered too (and backported to Equuleus).
Jan 10 2022
Pythonic reimplementation complete. Now only the XML op-mode definition and the auto-complete script remain.
Jan 9 2022
Some notes:
- The old syntax is quite terrible. It breaks if an image is named disk-install or running or any remote protocol. There needs to be a cleaner syntax for it, such as copy file from image My-Image/usr/local/foo to path /tmp/foo or show file in remote ftp://ftp.example.net/foo.
- 'Image tools' isn't exactly a descriptive name for it. It does four operations:
- show: List files in a directory, or spit information about a file followed by its contents (hexdump if it's binary).
- copy: Copy a file or directory from one place to another (it can merge directories).
- delete: Deletes a file or directory (doesn't work remotely).
- update and updateone: Updates an image's config directory with rsync (the only part directly related to image manipulation). This is actually called clone in the CLI.
- show, copy and delete should probably be moved to a separate (new) module related to file operations (and coupled with vyos.remote) whilst update needs to become its own thing (a helper script, perhaps).
Jan 5 2022
Dec 25 2021
Dec 23 2021
If anyone actually wants support for source port parameter, feel free to reopen this, but the interface parameter is a no-go. In the meantime, rewriting vyatta-config-mgmt takes precedence.
That's a good idea. What remains in that repo was hardly touched in a decade.
Dec 22 2021
I personally think the interface part is high-effort, low-gain since you can simply use the address of the interface to the same effect, whereas simply providing an interface will force it to decide which address to use on dual-stack systems. It needs to pick between AF_INET and AF_INET6 when creating the socket before setsockopt()ing SO_BINDTODEVICE; although I think we can get away with doing what socket.create_connection() does. Even then, only the SFTP portion of the code directly uses socket — everything else relies on higher level libraries that only expose address and port options. (Also, using a single parameter for both addresses and interfaces is a bad idea, in my opinion, because it's probably more useful to resolve an FQDN string to an address rather than assume all strings are interfaces. But otherwise, we'd need to find a way to resolve conflict between address and interface parameters.) All in all, I don't think the interface parameter is a good idea at all but we'll see.
All parts completely backported to Equuleus.
I opened a new issue for this: T4090.
Dec 16 2021
I'm not happy with the current one. Ideally, I'd like to rewrite it in Python using better diagnostic collection tools. I don't see it happening in 1.3.0, however.
This is no longer relevant now that curl has been almost entirely removed from the interface. Source addresses and such can be set for commit-archive, and authentication variables are set individually for each session.
I'm going to delete loadkey from 1.4 some time after 1.3 comes out.