mirror of
git://git.proxmox.com/git/pve-network.git
synced 2025-04-30 11:27:11 +02:00

Currently, we do not verify the TLS certificate for API requests external IPAM and DNS integration. This could allow man-in-the-middle attacks, albeit most IPAM infrastructure is on controlled and isolated LANs, so it's not something that should frequently happen; and technically our IPAM integration is still marked as tech-preview, which had its reasons. Enforce verification, and allow users to pass a cert SHA256 fingerprint to ensure a certificates validity if it's not trusted by the system trust store, as it's, e.g., the case for self-signed certs. The code was adapted from the one in pve-apiclient, which we cannot reuse directly as it is only implemented for requests against PVE nodes, not as a generic HTTP client request helper. Add the new dependency `libio-socket-ssl-perl` required to get the verify callback for the TLS certificate used for cert-fingerprint checking. Signed-off-by: Hannes Duerr <h.duerr@proxmox.com> Tested-by: Stefan Hanreich <s.hanreich@proxmox.com> [TL: return valid for non-leaf certs and rewrite commit message] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
Source: libpve-network-perl
|
|
Section: perl
|
|
Priority: optional
|
|
Maintainer: Proxmox Support Team <support@proxmox.com>
|
|
Build-Depends: debhelper-compat (= 13),
|
|
lintian,
|
|
libfile-slurp-perl,
|
|
libnet-subnet-perl,
|
|
libtest-mockmodule-perl,
|
|
perl,
|
|
pve-cluster (>= 8.0.10),
|
|
pve-firewall (>= 5.1.0~),
|
|
pve-doc-generator (>= 5.3-3),
|
|
libpve-access-control,
|
|
Standards-Version: 4.6.1
|
|
Homepage: https://www.proxmox.com
|
|
|
|
Package: libpve-network-perl
|
|
Architecture: all
|
|
Depends: libpve-common-perl (>= 5.0-45),
|
|
pve-cluster (>= 8.0.10),
|
|
libio-socket-ssl-perl,
|
|
libnet-subnet-perl,
|
|
libnet-ip-perl,
|
|
libnetaddr-ip-perl,
|
|
${misc:Depends},
|
|
${perl:Depends},
|
|
Recommends: ifupdown2
|
|
Suggests: frr-pythontools (>= 8.5.1~), dnsmasq,
|
|
Description: Proxmox VE's SDN (Software Defined Network) stack
|
|
This package contains the perl side of the Software Defined Network
|
|
implementation for Proxmox VE.
|
|
|
|
Package: libpve-network-api-perl
|
|
Architecture: all
|
|
Depends: libpve-common-perl (>= 5.0-45),
|
|
pve-firewall (>= 5.1.0~),
|
|
pve-cluster (>= 8.0.9),
|
|
libpve-network-perl (= ${binary:Version}),
|
|
${misc:Depends},
|
|
${perl:Depends},
|
|
Breaks: libpve-network-perl (<< 0.9.9~),
|
|
Replaces: pve-cluster (<< 0.9.9~),
|
|
Description: API endpoints for Proxmox VE's SDN stack
|
|
This package contains the API endpoints for the Software Defined Network of
|
|
Proxmox VE.
|