forked from pool/squid
- Updated harden_squid.service.patch to include new startup sequence local-fs.target - Update to 6.14 - Bug 5352: Do not get stuck in RESPMOD after pausing peer read(2) - Bug 5489: Fix "make check" linking on Solaris - Fix SNMP cacheNumObjCount -- number of cached objects - Do not duplicate received Surrogate-Capability in sent requests - Fix Mem::Segment::open() stub to fix build without shm_open() - ... and CI and documentation updates - changes since squid-6.13 - Bug 5352: Do not get stuck when RESPMOD is slower than read(2) - Bug 5405: Large uploads fill request buffer and die - Bug 5093: List http_port params that https_port/ftp_port lack - Bug 5311: clarify configuration byte units - Bug 5091: document that changes to workers require restart - Bug 5481: Fix GCC v14 build [-Wmaybe-uninitialized] - Nil request dereference in ACLExtUser and SourceDomainCheck ACLs - Fix GCC v14 [-Wanalyzer-null-dereference] warnings in Kerberos - Clarify --enable-ecap failure on missing shared library support - Fix syntax error in configure.ac - Remove GNU'ism in release notes Makefile - Annotate PoolMalloc memory in valgrind builds - Fix systemd startup sequence to require active Local Filesystem - Display Linux variant at ./configure time - Refactor peerRefreshDNS() to clarify its (void*)1 logic - Portability: remove explicit check for libdl - ext_time_quota_acl: remove -l option - ... and some documentation updates - ... and some CI updates OBS-URL: https://build.opensuse.org/request/show/1313240 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=303
24 lines
793 B
Diff
24 lines
793 B
Diff
Index: squid-6.2/tools/systemd/squid.service
|
|
===================================================================
|
|
--- squid-6.2.orig/tools/systemd/squid.service
|
|
+++ squid-6.2/tools/systemd/squid.service
|
|
@@ -11,6 +11,18 @@ Documentation=man:squid(8)
|
|
After=local-fs.target network.target network-online.target nss-lookup.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=notify
|
|
PIDFile=/var/run/squid.pid
|
|
ExecStartPre=/usr/sbin/squid --foreground -z
|