Wednesday, April 30, 2008

Reward points, sounds interesting!!!

Never did I bother about the reward points allotted for any debit/credit card transaction. Infact I came to know of them only an year back, where as I have been using them for the past 2 1/2 yrs:) Even after I came to know about it I never gave a thought to redeem them. Only last week when I got my a/c summary sheet from citi, and only after I took a bit of my precious time, yeah very precious time:) to read it(which I usually dont do:)), that I came to know that my points will get expired by April end. And out of habit I just postponed the thought of redeeming them. And luckily today I got reminded of it and opened my citi a/c to realize that few points(may be of last year) got elapsed and I have got 800+ points left. As I browsed throught the gifts avialable, I was really overwhelmed with joy looking at the 'Books' option. Its almost an year since I read any book. So, finally I ordered for 2 books, Freakonomics by Steven D. Levitt and Stephen J. Dubner and Inscrutable Americans by Anurag Mathur.
Only then did it strike that I have got few points with icici credit card and immidiately opened it
to realize that they have eaten all my points as I have'nt used them. When they keep calling you
infinite number of times regarding sme or the other loan, offer, card etc why can't they give u a
call telling that your points will get elapsed soon. Its all double standard principles. Felt really
misarable but the thought that I am going to get 2 books from citi guys made my day:)
Its long since I posted any of my painting, and also its long since I touched my pallette....

The thought that I have to come to off only on monday, for its a 4 day
weekend for us inspires me to post one of my oil paintings... and here it
goes..I really liked it , mainly because of the bright color combination. And its the largest of all my paintings..
It will adore one of the walls of my house, when I own one:)
Have a grt weekend guys:)

Monday, April 28, 2008

Quirks with libnet v 1.1.2.1

Many loopholes in the libnet, like checksum calculation are mentioned on the net. But this one is not mentioned anywhere(or may be I could'nt use google search ) and it took hell lot of time to trace it out. As all the while I was under the assumption that its the problem with my code.

Its basically with ipv6 packet construction. The structure libnet_protocol_block has a variable called ip_offset which points to the IP header position in the whole packet and is used while calculating checksum of the transport protocol included in it. While constructing ipv4 packets ip_offset is being set but not while constructing ipv6 packets. Becuase of that, if the ipv6 packet has a transport layer sitting in its payload, the buffer which is being passed for checksum calculation is erroneous. As the pointer (which should be the location of Ip in the buffer) which is being sent to calculate checksum is dependent on ip_offset variable and as its not set the char* being sent points to the end of the packet buffer.

The solution is, while building the ipv6 packet a simple call to libnet_pblock_record_ip_offset will be sufficient but with a check that its not the last header i.e., the ip packet has the transport layer in its payload.

Wednesday, April 23, 2008

The Leaf

The Leaf, there it was, on the top branch of the tree,
all bright with a bright green hue.
And there were rains, which unsoiled it
so that it looks brigher
And there were sunny days, during which it provided us
with shade from the Sun, without any thought
of it being charred in the Sun.
And also there were storms, threatining it with its
power and might.
Intimidated it was, but was strong that strom will pass off and
it will survive the stroms.
It was followed by many winters, rains, summers and not to forget
many more storms.
Hazy was its sight, dull was the color, but
stronger was it might.
Then came a day when it has to bend in front of the strong winds,
which brought it to the ground.
The tree mourned, but the leaf had a twilight of hope, for its
not an ending but a new beginning;
As it, through the Earth shall reach all the trees and will be
the source of strength.

Wednesday, April 16, 2008

blogathonindia

Guys n gals, tighten your seat belts and get ready for the race with your blogs..
Blogathon is the event for all the bloggers.. to post your opinions on various topics mentioned..its an even for a week, from Apr 20th to 26th... and the topics have been released.. so waiting for what!!
And there is something new with this blog of mine:)
it is ( with a hope that u had'nt found it yet:( ) the tag at the end...this is my first blog with tag

Tags:

Monday, April 14, 2008

GOD, yet again you won

I always believed that a Supreme power exists on top of u.. I knew that He is the main thread who has got control on all the thread spawned by him.. but still I used to feel great of his creation, that he has taken the whole control with him except that of your mind; the control of which is with u.. no one else can grab it from u, untill the moment u give it to them.. u can make it dream ur dreams, drive it towards ur dream, but may/maynot achieve it, for its under His control.. even thn I used to feel that his creation is great for he has given us the opportunity to dream and strive for it..
But...
at times one question looms me....
y did He give us this opportunity when at most of the times its He who is going to win the race.. y did he give the chance to dream and strive for it, when He has already decided that He is going to thrash it..........
May be..
May be its to make you more stronger to run the race against Him, and finally either u win or take His dream for u as granted, for atleast u have'nt lost the race being a weak participant...
or atleast u have'nt lost the race without fighting atall..
or..
May be He feels and He knows His dream for u is better than your dream or may be The Best...