Hi all! Is there a way to parse command line options from a string/file? I'd prefer a standard library that works on Linux, but if there is some way to do it from boost or some other library please let me know. Please note that I'm NOT talking about command line arguments that are passed to the main function (argv), instead the complete cmdline is saved in a file. Thanks alot!
R
Ribhi Kamal
@Ribhi Kamal
Posts
-
standard way to parse command line from a string -
Firewall configurationHere are some do's: 1- Don't forget to add antispoofing rules on the external interface. Anything (inbound) that is with a source address from the firewall or the internal network should be dropped silently. 2- Log everything that is destined to any firewall interface from the Internet. This will help detect if your firewall got hacked at some point or if someone is doing a DoS attack. 3- Run the least amount of services on your firewall. And don't: 1- Enable DNS lookups to just any DNS server. Only the DNS server from your ISP should be allowed. 2- Route private networks.
-
You've been coding too long when......you are too thin with thick glasses or too fat with high cholesterol level and blood pressure I try to stay fit :-D