Private
Public Access
1
0

fix(proxmox): harden console sessions and firewall rollout safety

Reduce security and reliability risk across the Proxmox extension by removing password exposure from Livewire state, hardening console auth/cookie handling, and improving sanitized error paths. Improve firewall and router performance by adding safer lazy loading, bounded pagination, cross-server compatibility guards, and lower-overhead API workflows.

Made-with: Cursor
This commit is contained in:
2026-03-28 19:34:46 -04:00
parent 9f996035db
commit 68043f0416
39 changed files with 1106 additions and 5013 deletions

View File

@@ -1,4 +1,4 @@
<x-proxmox::layout :server="$server" view="network" :status="$status" :status-polling="true" :status-polling-interval="'2s'">
<x-proxmox::layout :server="$server" view="network" :status="$status" :status-polling="true" :status-polling-interval="'30s'">
<style>
@media (max-width: 767px) {
.network-tools-grid {
@@ -285,15 +285,15 @@
<div class="flex items-center justify-center gap-2">
<button wire:click="toggleInterfaceLink('{{ $name }}')"
wire:loading.attr="disabled"
wire:target="toggleInterfaceLink('{{ $name }}')"
wire:target="toggleInterfaceLink"
class="{{ ($interfaces[$name]['linkdown'] ?? false) ? 'text-error hover:text-error/80' : 'text-base/70 hover:text-base/60' }} mx-1"
title="{{ ($interfaces[$name]['linkdown'] ?? false) ? 'Connect' : 'Disconnect' }}"
aria-label="{{ ($interfaces[$name]['linkdown'] ?? false) ? 'Connect interface' : 'Disconnect interface' }}">
<x-loading target="toggleInterfaceLink('{{ $name }}')" />
@if($interfaces[$name]['linkdown'] ?? false)
<x-ri-links-line class="inline size-4" wire:loading.remove wire:target="toggleInterfaceLink('{{ $name }}')" />
<x-ri-links-line class="inline size-4" wire:loading.remove wire:target="toggleInterfaceLink" />
@else
<x-ri-links-fill class="inline size-4" wire:loading.remove wire:target="toggleInterfaceLink('{{ $name }}')" />
<x-ri-links-fill class="inline size-4" wire:loading.remove wire:target="toggleInterfaceLink" />
@endif
</button>
<button wire:click="removeInterface('{{ $name }}')"