Security

You sometimes want to check if a program that you've installed is doing anything funky. While you could install a full-blown packet analyser like WIreshark, sometimes, that is overkill. A quicker and handier option would be to just rely on good old netstat. Like so:

netstat -bn 10

as well as

netstat -bf 10

-b: displays the program name (executable)

-n: displays the IP address

-f: displays the resolved form of the IP address

10: indicates that the command should be repeated after 10 seconds

I've been trying to .. empower .. the Nagios 3 web interface in Ubuntu/Debian to allow me to turn off service checking at will. I do this when I am checking logs etc. to debug some issue and all the spam from Nagios' polling is getting in the way. Nagios comes with an option to "disable active checks of this service" which when click should, well, disable active checks of the service. Clicking it, however, resulted in the following message:

Nagios is currently not checking for external commands.

If you've ever visited a webserver's error page, it will usually state the error followed by information about the server. This will customarily tend to include the webserver software, its version, possibly information about some of the modules compiled in as well as the server's address and port. While this might look generous and helpful, it also allows bad guys as well as other parties to probe the server to find out what it is running as well as other details such as version information. This information can be used for nefarious purposes.

Earlier today, I set up a gmail account for an elderly acquaintance of mine. Due to his really forgetful nature, once I created his account, I logged into it and mailed myself the username and password. As soon as I clicked "send" however, I found that I had been logged out of gmail. Trying to log back in proved futile as I was met with a "This account has been suspended" message!

If you're a firefox user (and usually, also a programmer), you've very likely come across situations where you are confronted with an error page while accessing an https address, because the certificate is self-signed. Getting around it involves adding an exception, which requires a multitude of steps ...

All times are UTC. All content licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.