Security — Installing and monitoring snort logs.

Snort is a very good security tool to install if you are concerned about the security of your system. I find it really useful but the problem is I keep forgetting to monitor the logs so what did I do, I installed snort and configured cron to send to logs everyday, here\’s how.

On fedora, snort is available in the repository but the rules are not. So to install snort just type in the following in a terminal:

sudo yum install snort

Once this is done, we need to install the snort rules. Download the snort rules from here. Extract the rules in /etc/snort/rules and you are done. Configure snort to start automatically using the system-config-service command or using any other way.

Now put a cron entry in the root user account to send the mail to any user at any time:

sudo crontab -e

add the following:

30 10 * * * cat /var/log/snort/alert |mail -s \”Snort Logs `date`\” <username> && rm -f /var/log/snort/alert

Here I am using an alias to send the mail but you can use sendEmail or sendmail to do the same. Also note that I am deleting the file after sending the logs to make sure that next day I get only the fresh logs. Other option could be to mv it some other location with the datestamp. But that is completely up to you 🙂

SQuirrel SQL for Graphical interface to Oracle/MySQL and loads of other database — OSS and free.

Bookmark this category

SQuirrel SQL for Graphical interface to Oracle/MySQL and loads of other databaseOSS and free.

SQuirreL SQL Client is a graphical SQL client written in Java that will allow you to view the structure of a JDBC compliant database, browse the data in tables, issue SQL commands etc. The pre-requisites are java 1.5 and 1.6 in the sequence of the installer versions! Installers available at: Home page and installation instructions at: Have a nice time with the SQuirreL!!


Linux Community\’s unoffical mascot taken by Microsoft

Ok, this is mostly a Linux advocacy and I kind of completely agree with this.

Here\’s the main text, but dont forget to go to the page to read the comments( quite good and interesting thoughts by lot of people).

OK group…let\’s see a show of hands…

How many people believe that the current way Linux markets itself is sufficient? That would be the combination of apathy, inertia and a smattering of guerrilla marketing.

Good, Good….yeah, that\’s a majority all right. Thanks for taking your hand out of the Cheeto\’s bag long enough to be inconvenienced. You might want to wipe it against your t-shirt before you begin your flaming response.

Which is unlikely. If you are reading this blog or any publication that might post this blog, you more than likely don\’t fit into this group

Now, how many of you think that we need to get the word out to the everyday computer user and let them know they have a choice in the way they operate their computers?

Oops…Well, that was expected as well. Now you know what it\’s like to be a Ron Paul Supporter.

So…one more question then we\’ll wrap this up.

How many of you feel comfortable that Linux has a firm hold on the penguin as an unofficial trademark of Linux?

My goodness. There is a veritable sea of hands in the air. That\’s a good thing. Well, at least we agree on something.

Now let me show you how a consensus of opinion is as reliable as an unbooted Windows server. Not to mention those that hold said opinion.

Many of you in the first group I queried can take pride in this. Congratulations to everyone who made this possible.

Excuse the poor photograph. This billboard picture was taken on IH 35 in Austin from the upper deck in a car doing 70 mph. Stopping on the upper deck for any reason is almost certain catastrophe. It\’s good enough however to make the point.

Microsoft has now successfully claimed the penguin as their \”symbol\”. Yep, I see it coming…\”What\’s the big deal helios? So they use a flock of penguins to advertise.\” If those words come out of your mouth, I would make certain they weren\’t heard too loudly. Ask yourself this. Why penguins? How many tens of thousands of other animals could they have chosen?

Why penguins? It\’s obvious if you just spend a few minutes thinking about it.

These billboards are going up all over the United States. I\’ve called Microsoft numerous times Friday to get a statement but they\’ve yet to respond.

By the way, the rest of the text from that sign reads \”Life Without Walls\”.

That is funny in itself. Microsoft trying to equate itself with freedom. They better hope people continue to ignore their EULA.

So…let\’s keep on handing out cd\’s, holding our Lindependence events, flooding You Tube with Cube videos ad nauseum and anything else we can think of that reaches hundreds of people in a months time. Microsoft is reaching millions a day.

And their doing it with your penguin.

Guerrilla marketing…now that\’s effective. Instead of getting the community organized into some sort of legitimate promotional entity, and Heaven knows we\’ve tried… we\’ve screwed around and let Microsoft take the one thing we thought they could never touch. Don\’t forget…Linus chose the penguin himself as our mascot/symbol.

Congratulations to all who made this possible.

All-Righty Then