Thursday, October 23, 2008

Nice Quotes - To read every day


A sharp tongue can cut my own throat.
If I want my dreams to come true, I mustn't oversleep.
Of all the things I wear, my expression is the most important.
The best vitamin for making friends..... B1.
The happiness of my life depends on the quality of my thoughts.
The heaviest thing I can carry is a grudge.
One thing I can give and still keep...is my word.
I lie the loudest when I lie to myself.

If I lack the courage to start, I have already finished.
One thing I can't recycle is wasted time.
Ideas won't work unless ' I ' do.
My mind is like a parachute...it functions only when open.
The 10 commandments are not a multiple choice.
The pursuit of happiness is the chase of a lifetime! It is never too late to become what I might have been.
Life is too short to wake up with regrets.
So love the people who treat you right.. Forget about the one's who don't.
Believe everything happens for a reason.
If you get a second chance, grab it with both hands.
If it changes your life, let it.
Nobody said life would be easy, they just promised it would be worth it.


Friends are like balloons; once you let them go,
you might not get them back.

Sometimes we get so busy with our own lives and
problems that we may not even notice that we've let them fly away.

Sometimes we are so caught up in who's right and who's wrong that we forget what's right and wrong.
Sometimes we just don't realize
what real friendship means until it is too late.

I don't want to let that happen so I'm gonna tie you
to my heart so I never lose you.

Send this to all your friends including me
and see how many you get back.

Even send it to your balloons that you think have flown away forever.
You may be surprised to see it return.
Send this heart to everybody you like.

You may also return it to me.

Wednesday, October 22, 2008

Relieve Tension

* First, we're going to slowly ease that tension out of
the body. Sit on a chair with legs crossed. Pretend that
your ankle is a pen and use it to write the alphabet.
Repeat with the other ankle.
* Next, place your thumbs at the edge of your eyebrows,
on each side of our head. Slide them up, stopping at the
corner of the head, almost into the hairline. Press the
thumbs into each side of the forehead; hold for a few
seconds and then release. Repeat five times. By doing
this, you release emotional stress because these
pressure points a re linked to the emotional centre
of the brain.

* Eat an orange. The vitamin C helps detoxify the body.
Chewing on a handful of roasted cashew nuts can also be
a good upper. Nuts contain magnesium and essential
fatty acids that help boost moods.

* Change the breathing. Lie on your back, with the
fingertips of one hand nesting between the breastbone
and the solar plexus. Place the other hand on the belly.
Taking deep breath through your nose push out your
stomach as you inhale, thus filling your lungs. Hold
for a few seconds and then slowly exhale. As oxygen
replenishes your brain, use your fingertips to lightly
stimulate the calming areas of your body and you'll
feel more relaxed.

* The brain believes in the images it receives. So
creative visualisation can quickly top up your
happiness levels. Imagine the sun sending heat and
light to your arms and legs. Soak in that sensation
and feel the joy slowly seeping in.

Monday, October 20, 2008

Change Your Luck

Do you believe in lucky breaks?
Do
you believe some people are just

naturally lucky or unlucky?

One of the secrets of being lucky is
to expect

good things to happen to you.

Be observant to what is happening
around you

so that you recognize the good
when it appears.

Many of the people you call
lucky

are filled with positive expectancy
and are prepared to move
when
a break comes their way.


They are filled with faith,
hope,

knowledge, curiosity;
and they have a strong desire to
succeed.


Your luck begins with you,
with
your personal outlook on life.

If you want to change your luck then I urge
you to:


Upgrade your thinking.
For an
attitude of positive expectancy.


Be observant.
Know what you are
looking for.

Become an opportunity hunter.

Become curious. Ask
questions.


Expand your interests
in people,
places, and things.


Listen to the voice from
within,

referred to often as your hunch or sixth sense.

Pray to God for guidance.

A motivating message from the mail....

A Nice Quote

"What we see when watching others depends on
the purity of the window through which we look.
Before we give any criticism, it might be a good
idea to check our state of mind and ask ourselves
if
we are ready to see the good rather than to be looking
for something in the person we are about to judge. "

Wednesday, October 15, 2008

மகத்துவ கீரைகள்

உணவே மருந்து என்று சொல்வார்கள். இதை சும்மா சொல்லவில்லை. சில உணவு வகைகளை அடிக்கடி சாப்பிட்டால் நோய்கள் நம்மை நெருங்கவே பயப்படும் என்பதே உண்மை. மனிதனின் நோய்கள் நன்மை நெருங்கவே எதிர்ப்பு சக்திக்கும். ஆரோக்கியமான வாழ்வுக்கும் துணை நிற்கும் உணவு வகைகளில் முக்கியமனவை இந்த கீரைகள்.

இதில் பல வகைகள் உள்ளன. எந்தெந்த கீரைகள் என்னென்ன பயன்களை நமக்குத் தருகின்றன என்பதை இங்கே பார்ப்போம்:

மணத்தகாளி கீரை : வாய்ப் புண்ணையும், குடல் புண்ணையும் குணமாக்கும்.

காசினிக்கீரை : ஈரலை பலப்படுத்தும், ரத்தத்தை சுத்தப்படுத்தும்.

சிறுகீரை : பித்தத்தை குறைக்கும். கண்ணுக்கு குளிர்ச்சியைத் தரும்.

பருப்புக்கீரை மற்றும் பசலைக்கீரை : உடல் சூட்டை தணித்து குளிர்ச்சியைத் தரும்.

வல்லாரைக் கீரை : நரம்பு மண்டலத்தை பலப்படுத்தும். ஞாபக சக்தியை அதிகரிக்கும்.

புதினாக் கீரை : பசியைத் தூண்டும். ரத்தத்தை சுத்தப்படுத்தும். அஜீரணத்தை போக்கும்.

பொன்னாங்கண்ணிக்கீரை : மேனியை பொன் போல் பலபலக்கச் செய்யும். கண் பார்வையை தெளிவாக்கும்.

தூதுவளை : சளியையும், இருமளையும் போக்கக் கூடியது இது.

தண்டுக்கீரை : சிறுநீர் எரிச்சல், வயிற்றுக்கடுப்பு போன்ற நோய்களை குணப்படுத்தும்.

முடக்கற்றன் கீரை : வாதத்தை தணித்து மூட்டு வலியை போக்கும்.

Monday, October 6, 2008

Three network tools I couldn’t live without


I recently decided to rebuild my Windows machine. I find
it’s something that needs doing every six months or so.
Luckily, I now run my Windows machine as a VMware virtual
machine so I don’t have to start the re-install from
scratch; I just roll back to a snapshot taken when it was
nice and clean. I can then re-install what I consider to be
essential tools and enjoy the machine running much more
quickly without all of the junk that tends to build up over
time.

What are the first applications I re-install? What are those
applications we don’t always think about until they’re gone?
Here are my top three networking tools:

PuTTY

I’m sure I’ve talked about this one before. PuTTY must be
one of the best tools available for an administrator who may
need to log on to a Linux/BSD server from a Windows machine.
PuTTY is a GUI client application that enables remote access
via SSH, Telnet, and Rlogin protocols. While there are
plenty of other clients available, PuTTY always comes up on
top. It’s free, lightweight, easy to use, and extremely
effective; what more could you ask for?

Download PuTTY from here for free. Don’t worry about the
myriad of download options. I usually just go for the
Windows installer.

Wireshark


Billed as “The World’s most popular Network Protocol
Analyser” and formerly known as Ethereal–Wireshark was
created when Gerald Combs (creator of Ethereal) went to work
for CACE Technologies (creators of the WinPcap library). The
Ethereal trademarks could not be taken with him so a ‘fork’
was created and the name was changed to Wireshark.

So what does it do? Wireshark is a protocol analyser.
Similar in many ways to tcpdump; Wireshark adds an
easy-to-use GUI and various sorting/filtering options. As
Wireshark actually ‘understands’ the protocols, it’s able to
rebuild and display data streams from the captured packets,
which can really help while trying to track down that
intermittent bug.

What makes Wireshark special? It runs on Windows, OS X,
Linux, and UNIX; it supports hundreds of protocols; it has
powerful filtering options; and it can be used to analyse
data caught ‘on the fly’ or saved previously with tcpdump. I
have been told Wireshark is great for VoIP analysis, but I
haven’t used it for that.

Oh, did I mention it’s free too? Download Wireshark here.

Nessus

Nessus is a top class vulnerability scanner produced by
Tenable Network Security. Estimated to be used by more than
75000 organisations worldwide–Nessus is said to be the
worlds’ most popular vulnerability scanner.

Formerly an open source project, Nessus was moved to a
proprietary license on the release of version 3; the
scanning engine is still free, although support and
up-to-the-minute vulnerability definitions are charged for.
Those who don’t want to pay still get the updates seven days
after their release.

Nessus starts by performing a port scan on the chosen host
or network. It then probes open ports to try and determine
which services are running and tests those services against
known vulnerabilities. I think Nessus is a great tool for
testing the resilience of your network. The reports it
generates are highly detailed and make a good basis for any
status reports you may need to produce.

Nessus is available for OS X, Linux, BSD, and Windows.
Download Nessus here (it’s free but you will need to
activate).

Of course there are many great network related tools
available and everybody will have their own opinion on which
is the most important; after all, everyone’s requirements
are different. Despite being a Windows-only application and
being very basic when compared to Wireshark and Nessus;
PuTTY is still the tool I just couldn’t do without.

A Good VBA tool for Excel Workers

Code Snippet:

Option Explicit
 
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    
    Dim RngRow          As Range
    Dim RngCol          As Range
    Dim RngFinal        As Range
    Dim Row             As Long
    Dim Col             As Long
    
    Cells.Interior.ColorIndex = xlNone
    
    Row = Target.Row
    Col = Target.Column
    
    Set RngRow = Range("A" & Row, Target)
    Set RngCol = Range(Cells(1, Col), Target)
    Set RngFinal = Union(RngRow, RngCol)
    
    RngFinal.Interior.ColorIndex = 6
    
End Sub

How to use?

   1. Open Excel.
   2. Press Alt+F11 to open the VBE.
   3. From the Project Explorer double click on one of the Sheets (i.e. Sheet1).
   4. Paste the code in the window that opens up.
   5. Close the VBE (Alt + Q or press the X in the top-right corner).

Testing:

   1. In Excel goto the sheet you put the code in.
   2. Select a cell and see the area get highlighted.
   3. Note that with this macro as is, all other cell fill colors will be removed.

Enjoy scripting with VBA !!!


Wednesday, October 1, 2008

"tcpdump" for traffic analysis

The tcpdump tool is an old mainstay of network debugging and
security monitoring, and security experts all over the world
swear by its usefulness. It is a command line tool that
eschews all the makeup and jewelry of other traffic analysis
tools such as Ettercap and Wireshark, both of which provide
packet sniffing functionality with a convenient captive
interface. In contrast to such tools, tcpdump takes a
command at the shell, with options specified at that time,
and dumps the results to standard output. This may seem
primitive to some users, but it provides power and
flexibility that isn't available with the common captive
interface alternatives.

Options

The tcpdump utility provides dozens of options, but I'll
just cover a few of them here:
· -A: Print each packet in ASCII.
· -c N: Where the letter N is a number, this option
tells tcpdump to exit after N packets.
· -i interface: Capture packets on the specified
network interface.
· -n: Don't resolve addresses to names.
· -q: Provide less verbose ("quiet") output so output
lines are shorter.
· -r filename: Read packets from the specified file
rather than a network interface. This
is usually used after
raw packets have been logged to a file
with the -w option.
· -t: Don't print a timestamp on each line of output.
· -v: Provide more verbose output. Verbosity can be
increased more with -vv, and even more than that
with -vvv.
· -w filename: Write raw packets to the specified
file.

Expressions

The tcpdump utility also supports command-line expressions,
used to define filtering rules so that you get exactly the
traffic you want to see, ignoring "uninteresting" packets.
Expressions consist of a number of primitives and,
optionally, modifier terms. The following primitives and
modifiers do not constitute a comprehensive list, but they
are among the most commonly useful.

Primitives

· dst foo: Specify an address or hostname to limit
captured packets to traffic sent to a
particular host.
· host foo: Specify an address or hostname to limit
captured packets to traffic to and from a
particular host.
· net foo: Specify a network or network segment using
CIDR notation to limit packet capture.
· proto foo: Specify a protocol to limit captured
packets to network traffic using that
protocol.
· src foo: Specify an address or hostname to limit
captured packets to traffic sent by a
particular host.

Modifiers

· and: Use this to chain together primitives when you
want to limit captured packets to those that
meet the requirements of the expressions on
both sides of the and.
· not: Use this modifier just before a primitive when
you want to limit captured packets to those
that do not meet the requirements of the
following expresssion.
· or: Use this to chain together primitives when you
want to limit captured packets to those that
meet the requirements of one or more of the
expressions on either side of the or.

Examples

All of these options and expression primitives and
modifiers, along with others listed in the tcpdump manpage,
can be used to construct very specific commands that produce
very precise output.
· tcpdump -c 50 dst foo can give you information that
may help identify the source of heavy incoming
traffic targeting an overloaded server with hostname
"foo", dumping the first 50 packets as output.
· tcpdump -c 500 -w `date +"%Y%j%T"`.log dumps 500
packets to a file named with a current time/date
stamp (e.g. 200820715:16:31.log) so that they can
later be filtered according to the information you
want to see. I have the command date +"%Y %j%T"
aliased to stamp in my shell's rc file, so I can
shorten a command like this to tcpdump -c 500 -w
`stamp`.log, saving me from having to remember all
the formatting options for the date command off the
top of my head.
· tcpdump port 22 src or dst foo and src and dst not
bar produces ongoing output that shows all port 22
(presumably SSH protocol) activity originating from
or targeting host "foo" unless it is originating
from or targeting host "bar". If foo is only
supposed to be accessed via SSH by bar, this command
will allow ongoing monitoring of unauthorized SSH
traffic to and from foo. You could even start a
number of persistent monitoring processes with
tcpdump like this within a tmux session on a
dedicated monitoring server.

As you can no doubt see, tcpdump's expressions capabilities
are roughly equivalent to a simple domain specific
programming language that is extremely easy to understand.
With that kind of power and flexibility at my fingertips,
there's little need to use anything else for general traffic
analysis tasks.