feature: the router serves S3-compatible object storage with versitygw, with one S3 account per user and buckets owned by users.
Release / release (push) Successful in 14s
Release / release (push) Successful in 14s
This commit is contained in:
1 parent
d99e4ea425
commit
1eac15e640
20 files changed
+1115
-25
No files matched your search
@@ -1,3 +1,24 @@
|
||||
vpn-router (0.36.0-1) unstable; urgency=medium
|
||||
|
||||
feature: the router serves S3-compatible object storage with versitygw, with one S3 account per user and buckets owned by users.
|
||||
|
||||
* s3.enabled, s3.port (7447) and s3.region: while storage is on and
|
||||
HTTPS is ready, Caddy serves versitygw's S3 API at
|
||||
https://<wan.local_fqdn>:<s3.port>, with path-style addresses.
|
||||
* vpn-router-install@s3 downloads the pinned versitygw 1.10.0 .deb for
|
||||
amd64 or arm64, checks its SHA-256 and installs it;
|
||||
vpn-router-s3.service runs it with the buckets in
|
||||
/var/lib/vpn-router/s3/data.
|
||||
* vpn-router-s3 makes, replaces the secret of and removes a user's S3
|
||||
account, and makes, gives and removes buckets; GET, PUT /s3,
|
||||
/s3/buckets and /s3/accounts do the same for admins, and /account/s3
|
||||
for the signed-in user's own account.
|
||||
* A user's S3 account follows the user: it stops working while the user
|
||||
is disabled and is removed with the user.
|
||||
* Backups hold the S3 accounts; with backup.s3 also the buckets.
|
||||
|
||||
-- Slawomir Koszewski <slawek@koszewscy.waw.pl> Thu, 29 Oct 2026 19:16:59 +0100
|
||||
|
||||
vpn-router (0.35.2-1) unstable; urgency=medium
|
||||
|
||||
fix: the web service answers /, /status and /status/full again while IKEv2 runs.
|
||||
|
||||
@@ -57,8 +57,10 @@ Description: Linux VPN router with IPSec, IKEv2, OpenVPN and WireGuard support
|
||||
certificates and CRLs. Caddy, installed by the package from the Ubuntu
|
||||
archive or from Caddy's repository, serves HTTPS and static web sites, whose
|
||||
files are uploaded through the web service or WebDAV, an optional PowerDNS
|
||||
name server answers for a zone of the sites, and an optional OpenID
|
||||
Provider signs the directory's users in to other systems. It keeps metrics of the
|
||||
name server answers for a zone of the sites, an optional OpenID
|
||||
Provider signs the directory's users in to other systems, and optional
|
||||
S3-compatible object storage, versitygw installed on demand, keeps buckets
|
||||
of the directory's users. It keeps metrics of the
|
||||
router in PostgreSQL and serves them for an OpenTelemetry Collector, and
|
||||
makes scheduled backups to a local folder, copied to the cloud with rclone,
|
||||
or to a Proxmox Backup Server. Nothing in the package is specific to a cloud
|
||||
|
||||
@@ -13,6 +13,7 @@ src/usr/lib/vpn-router/vpnrouter_backup.py usr/lib/vpn-router/
|
||||
src/usr/lib/vpn-router/vpnrouter_pki.py usr/lib/vpn-router/
|
||||
src/usr/lib/vpn-router/vpnrouter_sites.py usr/lib/vpn-router/
|
||||
src/usr/lib/vpn-router/vpnrouter_dns.py usr/lib/vpn-router/
|
||||
src/usr/lib/vpn-router/vpnrouter_s3.py usr/lib/vpn-router/
|
||||
src/usr/lib/vpn-router/install-packages usr/lib/vpn-router/
|
||||
src/usr/lib/vpn-router/webdav-auth usr/lib/vpn-router/
|
||||
src/usr/lib/vpn-router/openvpn-same-user usr/lib/vpn-router/
|
||||
@@ -27,6 +28,7 @@ src/usr/sbin/vpn-router-backup usr/sbin/
|
||||
src/usr/sbin/vpn-router-ca usr/sbin/
|
||||
src/usr/sbin/vpn-router-caddy usr/sbin/
|
||||
src/usr/sbin/vpn-router-site usr/sbin/
|
||||
src/usr/sbin/vpn-router-s3 usr/sbin/
|
||||
src/usr/lib/vpn-router/configure usr/lib/vpn-router/
|
||||
src/usr/lib/vpn-router/docker-rules usr/lib/vpn-router/
|
||||
src/usr/lib/vpn-router/setup usr/lib/vpn-router/
|
||||
|
||||
@@ -12,5 +12,6 @@ override_dh_installsystemd:
|
||||
dh_installsystemd --name=vpn-router-pki --no-enable --no-start
|
||||
dh_installsystemd --name=vpn-router-caddy --no-enable --no-start
|
||||
dh_installsystemd --name=vpn-router-webdav --no-enable --no-start
|
||||
dh_installsystemd --name=vpn-router-s3 --no-enable --no-start
|
||||
dh_installsystemd --name=vpn-router-resolver --no-enable --no-start
|
||||
dh_installsystemd --name=vpn-router-install@ --no-enable --no-start
|
||||
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=VPN Router S3-compatible object storage (versitygw)
|
||||
Documentation=file:/usr/share/doc/vpn-router/README.md
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
ConditionFileIsExecutable=/usr/bin/versitygw
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=/etc/vpn-router/s3.env
|
||||
ExecStart=/usr/bin/versitygw posix /var/lib/vpn-router/s3/data
|
||||
Restart=on-failure
|
||||
RestartSec=15
|
||||
LimitNOFILE=65536
|
||||
NoNewPrivileges=yes
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/var/lib/vpn-router/s3
|
||||
ProtectHome=yes
|
||||
PrivateTmp=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user