KILLPORT
The KILLPORT command inspects network traffic for activity on the specified ports. Traffic on those ports will be killed with TCP FIN packet injection.
Options
The KILLPORT command expects several options:
KILLPORT [interface] [port] ... [portN]Interface
KILLPORT requires a network interface. Typically on the Packet Squirrel this is br-lan, the virtual interface which connects the Ethernet ports.
Ports
KILLPORT can match any number of ports.
Examples
The KILLPORT command can be used as part of a payload to prevent traffic on the specified ports.
#!/bin/bash
# Title: Killport example
#
# Description: Act as a transparent bridge but block HTTPS traffic
# Set bridge mode
NETMODE BRIDGE
LED G SINGLE
# Kill https on port 443
KILLPORT br-lan 443Last updated
Was this helpful?
