A companion service that enables network monitoring for WhatPulse when running in AppImage or containerized environments on Linux.
When WhatPulse runs as an AppImage or in other restricted environments, it may not have direct access to capture network packets. This service runs alongside WhatPulse to provide network monitoring capabilities by:
- Capturing network traffic using system-level access
- Filtering and processing packet data safely
- Forwarding relevant statistics to WhatPulse via local connection
Download the latest packages from the GitHub Releases page.
Choose the package format for your Linux distribution:
# Download from releases page, then:
sudo dpkg -i whatpulse-pcap-service_*_amd64.deb
sudo apt-get install -f # Fix any missing dependencies
# Download from releases page, then:
sudo rpm -ivh whatpulse-pcap-service-*-1.x86_64.rpm
# OR on Fedora/newer systems:
sudo dnf install whatpulse-pcap-service-*-1.x86_64.rpm
# Download from releases page, then:
sudo pacman -U whatpulse-pcap-service-*-1-x86_64.pkg.tar.*
For automated downloads, use these commands to get the latest release:
# Get latest release info
LATEST_URL=$(curl -s https://api.github.com/repos/whatpulse/external-pcap-service/releases/latest | grep "browser_download_url" | grep "deb" | cut -d '"' -f 4)
wget "$LATEST_URL"
# Or browse all releases:
# https://github.com/whatpulse/external-pcap-service/releases
If packages aren't available for your distribution, or you prefer to build from source:
# Download and extract source from GitHub releases
# Visit: https://github.com/whatpulse/external-pcap-service/releases
# Download: whatpulse-pcap-service-VERSION-source.tar.gz
tar xzf whatpulse-pcap-service-*-source.tar.gz
cd whatpulse-pcap-service-*
# Install build dependencies
# Debian/Ubuntu:
sudo apt-get install build-essential libpcap-dev
# Red Hat/Fedora/CentOS:
sudo yum install gcc-c++ libpcap-devel # or: sudo dnf install gcc-c++ libpcap-devel
# Arch Linux:
sudo pacman -S base-devel libpcap
# Build and install
make
sudo make install
The service uses different paths depending on the installation method:
- Package installations (deb, rpm, etc.): Binary at
/usr/bin/whatpulse-pcap-service
- Manual installations (make install, install.sh): Binary at
/usr/local/bin/whatpulse-pcap-service
Both use the same systemd service name: whatpulse-pcap-service
The appropriate systemd service file is automatically selected during installation.
After installation, start the service:
# Start the service
sudo systemctl start whatpulse-pcap-service
# Enable automatic startup at boot
sudo systemctl enable whatpulse-pcap-service
# Check if it's running
sudo systemctl status whatpulse-pcap-service
The service will automatically connect to WhatPulse when both are running. No additional WhatPulse configuration is needed in most cases.
# View service status
sudo systemctl status whatpulse-pcap-service
# View recent logs
sudo journalctl -u whatpulse-pcap-service -f
- Service won't start: Ensure you have root/admin privileges and libpcap is installed
- WhatPulse not receiving data: Check that both WhatPulse and the service are running
- Permission errors: The service needs root privileges to capture network packets
For troubleshooting, you can run the service manually:
sudo whatpulse-pcap-service --verbose
# Debian/Ubuntu
sudo apt-get remove whatpulse-pcap-service
# Red Hat/Fedora/CentOS
sudo rpm -e whatpulse-pcap-service
# Arch Linux
sudo pacman -R whatpulse-pcap-service
sudo systemctl stop whatpulse-pcap-service
sudo systemctl disable whatpulse-pcap-service
sudo rm /etc/systemd/system/whatpulse-pcap-service.service
sudo rm /usr/local/bin/whatpulse-pcap-service
sudo systemctl daemon-reload
For issues or questions about this service, please refer to the main WhatPulse support channels or documentation.
This software is licensed under Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) with additional terms specific to WhatPulse integration.
See the LICENSE file for complete terms and conditions.
Key permissions:
- ✅ Personal and educational use
- ✅ Modification and redistribution (with attribution)
- ✅ Open source contributions
Key restrictions:
- ❌ Commercial use or resale
- ❌ Reverse engineering WhatPulse communication protocol
- ❌ Tampering with data transmission
- ❌ Protocol circumvention or data injection
For commercial licensing inquiries: [email protected]
Releases are automated via GitHub Actions. Follow these steps to create a new release:
Update version:
# Edit pcapservice.h
# Change PCAP_SERVICE_VERSION to your new version (e.g., "1.0.1")
Commit and push changes:
git add pcapservice.h
git commit -m "bump version to 1.0.1"
git push origin master
Create and push version tag:
git tag v1.0.1
git push origin v1.0.1