Compare commits

...

4 Commits
v1.0 ... master

Author SHA1 Message Date
Asif Bacchus fe5a9cd3c7 fix(f2b) update port definition for 'all'
- previous versions accepted 'all'
- newer versions require explicit port range
2022-02-01 23:51:12 -07:00
Asif Bacchus a9119bb4e3 refactor(git) ignore JetBrains settings 2022-02-01 23:50:16 -07:00
Asif Bacchus 610aa092e6 combine ignoreregex into single expression 2020-01-17 14:01:48 +00:00
Asif Bacchus aaab4e5eff ignore router multicast packets on LAN 2020-01-14 06:39:02 +00:00
3 changed files with 7 additions and 4 deletions

5
.gitignore vendored
View File

@ -1,2 +1,3 @@
### Ignore .vscode settings ### Ignore .IDE settings
.vscode/* .vscode
.idea

View File

@ -3,10 +3,12 @@ failregex = .*\[UFW BLOCK\] IN=.* SRC=<HOST>
# ignore common multicast device discovery calls on LOCAL IPv4/IPv6 networks # ignore common multicast device discovery calls on LOCAL IPv4/IPv6 networks
# still ban non-local (WAN) calls to any associated ports # still ban non-local (WAN) calls to any associated ports
ignoreregex = SRC=(10\.|172\.1[6-9]\.|172\.2[0-9]\.|172\.3[0-1]\.|192\.168\.|fe\w*\:).* PROTO=UDP.* DPT=(1900|3702|5353|5355) LEN=\d*\s\s$ ignoreregex = SRC=(10\.|172\.1[6-9]\.|172\.2[0-9]\.|172\.3[0-1]\.|192\.168\.|fe\w*:).* DST=(static.ip.address.here|224\.0\.0\.*).* PROTO=(2|UDP)(\s+|.* DPT=(1900|3702|5353|5355) LEN=\d*\s+)$
# NOTES: # NOTES:
# Routers will often send packets to the multicast broadcast address (224.0.0.1)
# looking for multicast devices, this is safe to ignore on the LAN
# IPv6 link local is fe80::/10 (fe80::-febf:ffff...ffff), so only 'fe' will # IPv6 link local is fe80::/10 (fe80::-febf:ffff...ffff), so only 'fe' will
# always match # always match
# IPv4 private ranges are: # IPv4 private ranges are:

View File

@ -1,7 +1,7 @@
[ufw-probe] [ufw-probe]
# We specify all ports since probing attacks are not limited to any one port. # We specify all ports since probing attacks are not limited to any one port.
port = all port = 0:65535
# This should be specified in your jail.conf but we'll put it here just in case. # This should be specified in your jail.conf but we'll put it here just in case.
# The localhost might have reasons to probe itself, so it should never be # The localhost might have reasons to probe itself, so it should never be