Ncontrol Deb
sudo dpkg --purge package-name
or
sudo apt purge package-name
Now explore the extracted usr/, etc/, and opt/ directories. You can run the binary directly from here: ./usr/bin/ncontrol ncontrol deb
Third-party .deb files are powerful—they run as root during installation. Before installing any ncontrol deb, ask:
sudo apt autoremove
Sometimes a package won’t remove due to dependency issues or broken scripts. You can override:
# /etc/ncontrol/ncontrol.yaml
global:
log_level: INFO
http_port: 8080 # REST API endpoint
interfaces:
eth0:
# Limit outbound traffic to 10 Mbps per IP
traffic_shaping:
per_ip:
max_rate: 10M
burst: 2M
firewall:
# Block all inbound traffic to port 23 (telnet) on the fly
rules:
- action: DROP
direction: IN
protocol: tcp
dport: 23
After saving the file, reload the daemon: sudo dpkg --purge package-name
sudo systemctl reload ncontrol
sudo systemctl start ncontrol
To see exactly what the ncontrol deb will place on your filesystem, use: or sudo apt purge package-name
dpkg --contents ncontrol.deb
This reveals binary locations (usually /usr/bin/ncontrol or /opt/ncontrol/), configuration files (/etc/ncontrol/), and systemd service units (/lib/systemd/system/). If you see paths like /home/user/, alarm bells should ring—this is a poorly built package.