Port Scanning with block that IP with a banner...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Robert b662ab2564 delay 3 seconds for Banner to display, then block access. 7 months ago
.gitignore build update 7 months ago
AppArmor.policy init 7 months ago
LICENSE init 7 months ago
README.md init 7 months ago
SYN-Scan-Firewall.go delay 3 seconds for Banner to display, then block access. 7 months ago
SYN-Scan-Firewall.service init 7 months ago
banner.service Commited out IP Deny... 7 months ago
banner_service.go init 7 months ago
config-example.yaml init 7 months ago
go.mod init 7 months ago
go.sum init 7 months ago
install.sh run banner 7 months ago
reBuild.sh if checks1 7 months ago
seccomp.conf init 7 months ago

README.md

SYN-Scan-Firewall

To block the IP from port scans...

./install.sh

/etc/SYN-Scan-Firewall/config.yaml

blockDuration: 10m
maxScanAttempts: 5
device: "enp2s0"              # Ethernet Device name  

logging:
  filePath: "/var/log/SYN-Scan-Firewall.log"
  maxSizeMB: 10               # Max log size in megabytes
  backups: 5                  # Number of backup logs to keep
  compressBackups: true       # Whether to gzip old logs
  timestampFormat: "2006-01-02T15:04:05" # Go time format

ignoredPorts:
  - 80    # HTTP
  - 443   # HTTPS
  - 9980  # php -S
  - 631   # CUPS (printing)
  - 9100  # print server ports
  - 53    # DNS
  - 123   # NTP
  - 68    # DHCP client
#  - 22    # SSH

whitelistedIPs:
  - "192.168.10.2"   # own IP
  - "192.168.1.100"  # Example local admin
  - "10.0.0.50"      # Example monitoring server
  - "127.0.0.1"      # Localhost