Page MenuHomeDevCentral

PythonTag
ActivePublic

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

This is a project-as-a-tag.

Recent Activity

Tue, Mar 24

yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Tue, Mar 24, 16:26 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Tue, Mar 24, 16:17 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a subtask for T2276: Automate CARP VIP MAC reassignment using devd and OVH API: T2290: Installation of CARP switch Python dependencies via Salt.
Tue, Mar 24, 15:27 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Tue, Mar 24, 14:08 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a revision to T2276: Automate CARP VIP MAC reassignment using devd and OVH API: D4027: Install dependencies to register MAC address to ISP.
Tue, Mar 24, 13:42 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Tue, Mar 24, 13:39 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels

Mon, Mar 23

yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mon, Mar 23, 23:12 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mon, Mar 23, 23:12 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels

Sun, Mar 22

dereckson updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Sun, Mar 22, 23:47 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

Ah, that's now what we need, nice for the script!

Sun, Mar 22, 23:43 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

The file /usr/local/etc/devd/carp.conf :

Sun, Mar 22, 21:33 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

You can directly use variables in the action to pass interface and state with $subsystem and $type

Sun, Mar 22, 21:13 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
notify 0 {
    match "system" "CARP";
    match "subsystem" "[0-9]+@[0-9a-z.]+";
    match "type" "(MASTER|BACKUP)";
    action "/usr/local/scripts/carp-test.sh";
};
Sun, Mar 22, 20:24 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

For all CARP external documentation, I think I've found the threshold where information is outdated in that man page:

Sun, Mar 22, 17:46 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

According carp(4) (man carp) examples section, the name has changed.

Sun, Mar 22, 17:43 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

@dereckson I first tried to redefine the devd rule by matching specific IFNET event types such as LINK_UP, LINK_DOWN, UP and DOWN, but none of them were triggered during CARP state changes in my tests.

Sun, Mar 22, 17:11 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
notify 0 {
    match "system" "IFNET";
    match "subsystem" "vmx1";
    action "logger CARP state change detected";
};
Sun, Mar 22, 16:32 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

A dedicated devd file was placed in /usr/local/etc/devd because this directory is usually used for custom configurations added by administrators, while /etc/devd contains the default system rules from FreeBSD. It makes the setup cleaner, avoids mixing custom logic with system configuration, and makes future maintenance or upgrades easier.

Sun, Mar 22, 15:48 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Sun, Mar 22, 15:28 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Sun, Mar 22, 15:26 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Sun, Mar 22, 15:25 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Sun, Mar 22, 15:24 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels

Fri, Mar 20

dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

OVH API credentials published to apps/network/carp-hyper-001-switch path,
under application_key, application_secret, consumer_key keys.

Fri, Mar 20, 23:11 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a revision to T2276: Automate CARP VIP MAC reassignment using devd and OVH API: D4016: Provision Vault policy for routers.
Fri, Mar 20, 22:54 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson moved T1695: Write a Terminator plugin to resolve hashes from Finished to WIP on the User-Duranzed board.

@Duranzed Can you open the issue with Terminator maintainers, so we can determine the best course of action for the plugin to load our resolve-hash library?

Fri, Mar 20, 21:22 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
dereckson moved T1695: Write a Terminator plugin to resolve hashes from Backlog to To report on the upstream board.
Fri, Mar 20, 18:27 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
dereckson added a project to T1695: Write a Terminator plugin to resolve hashes: upstream.

Discussion to have with the upstream to understand how to safely load a Python library.

Fri, Mar 20, 18:27 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
dereckson reopened T1695: Write a Terminator plugin to resolve hashes as "Open".
Fri, Mar 20, 17:44 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash

Tue, Mar 17

dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

If we trigger the script through devd, we can provide a .conf configuration file in /usr/local/etc/devd.

Tue, Mar 17, 20:30 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added projects to T2276: Automate CARP VIP MAC reassignment using devd and OVH API: Python, Monitoring and reporting.
Tue, Mar 17, 13:40 · Drake network, Servers, Monitoring and reporting, Secure HA tunnels

Mar 4 2026

dereckson edited the content of Python track.
Mar 4 2026, 07:32 · Python

Mar 3 2026

Duranzed moved T1695: Write a Terminator plugin to resolve hashes from WIP to Finished on the User-Duranzed board.
Mar 3 2026, 13:11 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
Duranzed closed T1695: Write a Terminator plugin to resolve hashes as Resolved.

resolved here
Ref T1695

Mar 3 2026, 13:11 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash

Mar 2 2026

yousra added a comment to T2266: Improve Python requirements for Operations repository.

I tried pip install salt==3006.8, but it brings the same strange issue : AttributeError: cannot access submodule 'cmdmod' of module 'salt.modules' (most likely due to a circular import)
(same in WindRiver)

Mar 2 2026, 19:39 · Python, Servers, Regression, Salt

Feb 26 2026

dereckson added a comment to T2266: Improve Python requirements for Operations repository.

@yousra I think pip install salt==3006.8 should work, with dependencies.

Feb 26 2026, 00:45 · Python, Servers, Regression, Salt
dereckson added a comment to T2266: Improve Python requirements for Operations repository.

Salt dependencies are reasonable enough to add to requirements.txt:

Feb 26 2026, 00:11 · Python, Servers, Regression, Salt

Feb 25 2026

dereckson moved T1695: Write a Terminator plugin to resolve hashes from Next to In progress on the Resolve hash board.
Feb 25 2026, 23:44 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
dereckson added a comment to T2266: Improve Python requirements for Operations repository.

If Salt dependencies are the issue, a possibility is to define requirements from https://github.com/saltstack/salt/tree/master/requirements

Feb 25 2026, 23:37 · Python, Servers, Regression, Salt
dereckson claimed T2266: Improve Python requirements for Operations repository.
Feb 25 2026, 23:35 · Python, Servers, Regression, Salt
dereckson raised the priority of T2266: Improve Python requirements for Operations repository from Normal to High.
Feb 25 2026, 17:28 · Python, Servers, Regression, Salt
dereckson triaged T2266: Improve Python requirements for Operations repository as Normal priority.
Feb 25 2026, 17:28 · Python, Servers, Regression, Salt

Feb 23 2026

dereckson added a revision to T1695: Write a Terminator plugin to resolve hashes: D3976: [WIP] Add plugin for terminator to resolve hashes.
Feb 23 2026, 18:14 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
Duranzed added a comment to T1695: Write a Terminator plugin to resolve hashes.

I came up with this solution which seems to work as intended :

Feb 23 2026, 15:45 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash

Feb 20 2026

Duranzed moved T1695: Write a Terminator plugin to resolve hashes from Backlog to WIP on the User-Duranzed board.
Feb 20 2026, 13:48 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
Duranzed added a project to T1695: Write a Terminator plugin to resolve hashes: User-Duranzed.
Feb 20 2026, 13:48 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash

Feb 19 2026

Duranzed claimed T1695: Write a Terminator plugin to resolve hashes.
Feb 19 2026, 09:21 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash

Nov 10 2025

dereckson added a comment to T2183: Detect legacy SHA-1 RSA keys.

Bruteforce attack scenario possible, so we're only interested by usernames defined in users.sls, not by "root" (can't login by SSH) or generic accounts like "docker" (doesn't exist):

Nov 10 2025, 01:57 · security, Python, Eglide, Servers, Operations sprints (Echoes in the Void)
dereckson updated the task description for T2183: Detect legacy SHA-1 RSA keys.
Nov 10 2025, 01:55 · security, Python, Eglide, Servers, Operations sprints (Echoes in the Void)
dereckson updated the task description for T2183: Detect legacy SHA-1 RSA keys.
Nov 10 2025, 01:47 · security, Python, Eglide, Servers, Operations sprints (Echoes in the Void)
dereckson updated the task description for T2183: Detect legacy SHA-1 RSA keys.
Nov 10 2025, 01:16 · security, Python, Eglide, Servers, Operations sprints (Echoes in the Void)