One of the best libraries I've stumbled across for libraries (minus glib) is Libconfig. It provides a nice way to read in, manage and edit configuration files in a simple unified way - my favorite feature of all is that my config files will look consistent! Its fairly well documented, but actual step through tutorials and explanations need a bit of work. Here are two example functions that should help you out:
Welcome
Professional freelance web designer in Vancouver and surrounding area, specializing in professional high-quality website, graphic design and systems development.
Pacific Simplicity is also home to my tech blog of sorts, aiming to assist and provide information easily to other Linux and webhackers out there. It contains articles on Linux, programming embedded systems, OpenWRT and of course Drupal . Check it out and don't forget to comment!
If you are doing any Kernel development, using any of the available APIs or hacking away at it for various reasons, LXR can be a developers best friend. And lets face it, you (or your developers) saving time is money/time well spent in the eyes of management. LXR has allowed me and others to determine changes in the Kernel, further understanding of subsystems and allowed us to port patches to newer revisions. So a few times we have attempted without all that much success - our own LXR indexer.
Here is a quick and dirty guide to get you up and running with Snort on Fedora 17 x64. I'm not going to explain what it is, or what it does, but to give you enough to get started.
The Setup
Start with a clean fedora 17 setup (or otherwise) and assuming default software packages, then download from snort.org the source code for daq and snort. Once they are downloaded extract them and install the following:
One of the things any aspiring security professional or network admin should know is - what is exactly a socket and what do they do?. This is tutorial is a different approach that I have been toying with on how to best explain to beginning IT or security students who are just beginning, but have no experience using "low-level" languages like C. One of my esteemed professor's once said: "God intended us to program in C" and I believe that today's programmers should begin with a language which will teach them responsibility.
In an effort to demonstrate how you could create a poor-man's network tap or bridge, I thought I would share how you can create your own using a host with two network interfaces. In this case, I used two Ethernet NICs.
For this to be accomplished you must install brtcls or bridge-utils, ebtables and have Wireshark/tcpdump installed. Then two bridge the two interfaces, you must create the bridge, add the interfaces to it, alter the routes, enable IP forwarding and add ebtable rules.
- 1 of 14
- ››