151 Commits

Author SHA1 Message Date
Daniel Hååvi 73c36692b0 Merge pull request #104 from kakra/patch-1
Add low memory protection
2024-05-06 17:40:59 +02:00
Kai Krakow a6c81e48b5 Add low memory protection
If the system is under memory stress, memory allocation latency spikes
which disrupts proper operation of portmaster, resulting in DNS
timeouts. While the memory pressure persists, portmaster never
recovers.

Fix it by adding a low memory protection to the systemd service. From
experiments, 2 GB is enough to stop the system from swapping important
memory of portmaster and reduce cache thrashing. A lower value like
1 GB might work, too. The resident size of portmaster peaks at around
530 MB for me but this value as low protection is not enough, we need
to protect some IO cache memory, too.

After applying to the running service, DNS operation almost instantly
recovers.
2024-05-06 13:23:26 +02:00
Daniel Hovie ab204c6938 Merge pull request #97 from safing/develop
Publish new systemd unit for core service
2023-08-16 11:53:09 +02:00
Daniel Hovie 3a5039d6e2 Merge pull request #96 from safing/fix/systemd-bpf
Add capabilities to systemd service for eBPF
2023-07-27 17:16:08 +02:00
Daniel Hovie 5a9784aa8c Add capabilities to systemd service for eBPF 2023-07-27 17:09:30 +02:00
Daniel Hovie 815179afbc Merge pull request #92 from mattkeenan/fix/issues/91
Fix ca-certificates dependency for deb packages
2023-07-21 09:39:16 +02:00
Matt K 43b1901462 Fix ca-certificates dependency for deb packages 2023-07-21 08:31:14 +01:00
Daniel Hovie d57dc41281 Merge pull request #90 from mattkeenan/fix/issues/89
Fix iptables dependency for deb packages
2023-07-21 09:15:15 +02:00
Matt K 520327d6b9 Fix iptables dependency for deb packages
- We use go-iptables which in turn uses the iptables
    binary, so we need to have a dependency for the
    iptables package
2023-07-20 14:25:39 +01:00
Daniel Hovie 7d9f677570 Merge pull request #83 from safing/fix/v1-releases
Fix releasing
v1.0.13
2023-05-31 15:58:43 +02:00
Safing da4c912d20 Fix Windows installer version 2023-05-31 15:52:52 +02:00
Safing ea8327980f Bump windows installer version 2023-05-30 17:11:49 +02:00
Safing 93b0fece8e Fix shell check warning in install.sh 2023-05-30 13:49:56 +02:00
Safing 28f6351115 Fix argument parsing in install.sh 2023-05-30 13:23:39 +02:00
Safing 9bfe0e9860 Fix asset permissions after unpacking 2023-05-30 12:41:05 +02:00
Safing 465e9e019a Dump directory permissions for better debugging 2023-05-30 12:20:49 +02:00
Safing 98a29a7ec7 Trying to figure out why install test fails 2023-05-30 11:47:30 +02:00
Safing 4832cbd000 Trying to figure out why install test fails 2023-05-30 11:45:13 +02:00
Safing 0f3292f655 Fix .installed-files creation 2023-05-30 11:31:05 +02:00
Safing 7ae924752c Use permissions from archive when unpacking assets 2023-03-01 11:19:25 +01:00
Safing 0d50e54be9 Fix file permissions 2023-03-01 11:10:46 +01:00
Safing abc89765b2 Deactivate centos:7 test for now 2023-03-01 10:49:04 +01:00
Safing 757bccaaac Fix shellcheck errors 2023-03-01 10:43:31 +01:00
Safing fa75e3ddd1 Run CI on master and develop branches/PRs 2023-03-01 10:02:27 +01:00
Safing ee58d8c3ac Remove old dependencies 2023-03-01 09:43:51 +01:00
Safing 5f7fbcf497 Bump version information 2023-03-01 09:43:18 +01:00
Daniel e262df4261 Select signing key with hash for Windows v1.0.0 2022-11-08 14:00:23 +01:00
Daniel Hovie ebb43c375f Merge pull request #68 from safing/feature/curl-pipe-bash
Added support for custom shell installer
2022-10-11 09:27:40 +02:00
Safing 9021eecc9d Update PKGBUILD template, release_to_aur.sh and the related GH action file 2022-08-08 14:59:55 +02:00
Patrick Pacher 842ae82d58 aur: generate .SRCINFO only if there are changes to commit 2022-08-08 13:14:20 +02:00
Patrick Pacher 45c59c289c Add release script for Archlinux AUR 2022-08-08 13:12:02 +02:00
Patrick Pacher d807d28a69 Fix --uninstall not working in test case 2022-08-03 17:04:28 +02:00
Patrick Pacher 4df15029e3 wip: trying to get github actions to work 2022-08-03 17:02:07 +02:00
Patrick Pacher 1c206e510b Fix broken YAML workflow file 2022-08-03 16:28:40 +02:00
Patrick Pacher 2624c5d752 Remove centos8 from matrix build since it reached EOL 2022-08-03 16:24:20 +02:00
Patrick Pacher b5cecf9532 Add test-cases for shell installer 2022-08-03 16:01:49 +02:00
Daniel 19878b4036 Bump windows installer version v0.8.8.1 2022-06-07 09:47:44 +02:00
Daniel 416c615497 Improve logging 2022-06-07 09:47:33 +02:00
Daniel 776b2d34ec Merge pull request #75 from OfficialEsco/patch-1
Add DisplayVersion Registry string
2022-06-07 09:45:37 +02:00
Esco 6a8f8f9542 Add DisplayVersion Registry string
* Resolves #503
2022-06-02 15:29:47 +00:00
Patrick Pacher 50feff380b Fix selinux permissions during installation 2022-04-08 10:30:03 +02:00
Patrick Pacher de2eaaacaf Added support for custom shell installer 2022-04-05 09:37:59 +02:00
Daniel 4de0b78ad1 Add version information to windows installer v0.8.8 2022-03-01 11:13:23 +01:00
Daniel 49ca304400 Add issue manager workflow 2022-02-15 15:03:26 +01:00
Patrick Pacher ffb65c5295 Prepare release v0.7.0-2 v0.7.0-2 2022-01-26 14:21:27 +01:00
Daniel 023367e42b Merge pull request #67 from safing/fix/remove-syscall-filter
Remove SystemCall restrictions from service file
2022-01-26 13:15:31 +01:00
Patrick Pacher 19c76c7d71 Disable RestrictSUIDGUID so portmaster can fix electron permissions 2022-01-25 14:33:43 +01:00
Patrick Pacher ef479e5115 Remove SystemCall restrictions from service file 2022-01-24 15:15:52 +01:00
Dave Gson 2fce078255 Merge pull request #63 from safing/davegson-patch-1
Fix log path for bug issue template
2022-01-08 10:34:09 +01:00
Dave Gson ab187406c4 Fix log path for bug issue template 2021-12-16 16:38:32 +00:00