- Products
- Learn
- Local User Groups
- Partners
- More
AI Security Masters E7:
How CPR Broke ChatGPT's Isolation and What It Means for You
Blueprint Architecture for Securing
The AI Factory & AI Data Center
Call For Papers
Your Expertise. Our Stage
Good, Better, Best:
Prioritizing Defenses Against Credential Abuse
Ink Dragon: A Major Nation-State Campaign
Watch HereCheckMates Go:
CheckMates Fest
Nice feature!
Two suggestions for improvement. If nothing is entered for src or dst, perhaps any should be used.
Pressing return results in an error.
And perhaps support for entering a network with a mask, e.g. 192.168.1.0/24.
While you're at it, you can – as I do in the scripts – protect the user from themselves
so that they don't enter la.le.lu.li/24 or 10.10.10.0/200 or 300.0.0.1,
by checking whether it is even a valid address/network 🙂
Of course, one can assume that the user knows what they are doing, but I like error handling in scripts.
While you're at it, you can – as I do in the scripts – protect the user from themselves
so that they don't enter la.le.lu.li/24 or 10.10.10.0/200 or 300.0.0.1,
by checking whether it is even a valid address/network
🙂
Of course, one can assume that the user knows what they are doing, but I like error handling in scripts.
;Here you go brother : - )
updated script, works with any. You can give it a go Monday.
Here you go brother : - )
updated script, works with any. You can give it a go Monday.
;I'm really sorry, but this won't be possible this week. I've just come back from the doctor's, and I've been signed off work for a week, with more tests to come.
never be sorry for stuff like that mate...health ALWAYS first, ALWAYS. Be well and get healthy.
Just updated the script to work with any as srs/dst:
lab:
[Expert@CP-GW:0]# cd /var/log/scripts/
[Expert@CP-GW:0]# chmod 777 *
[Expert@CP-GW:0]# dos2unix *
dos2unix: converting file cp_tcpdump.sh to Unix format ...
dos2unix: converting file fwmonitor.sh to Unix format ...
[Expert@CP-GW:0]# ./fwmonitor.sh
Source (IP/hostname/any) [any]:
Destination (IP/hostname/any) [any]:
Port (1-65535/any) [any]:
Protocol (tcp/udp/icmp/any or number) [any]:
Output mode: (1) screen only (2) text file (3) capture+decode files [1]: ^C
[Expert@CP-GW:0]#
Just updated the script to work with any as srs/dst:
lab:
[Expert@CP-GW:0]# cd /var/log/scripts/
[Expert@CP-GW:0]# chmod 777 *
[Expert@CP-GW:0]# dos2unix *
dos2unix: converting file cp_tcpdump.sh to Unix format ...
dos2unix: converting file fwmonitor.sh to Unix format ...
[Expert@CP-GW:0]# ./fwmonitor.sh
Source (IP/hostname/any) [any]:
Destination (IP/hostname/any) [any]:
Port (1-65535/any) [any]:
Protocol (tcp/udp/icmp/any or number) [any]:
Output mode: (1) screen only (2) text file (3) capt
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY