காதல்

March 6th, 2010 No comments

கீழ் கண்ட இப்பாடலை “கோவா” படத்தில் வரும் “இது வரை” என்ற பாடலின் மெட்டில் பாடி பார்க்கவும்.

இருவிழி கொண்டாடும் கனவிது;
இதயத்தில் நின்றாடும் இசையிது;
கருத்தினில் கண்மூடி கரைந்திட காத்து கிடந்தாயோ..
தூங்காமல் சொக்கி சரிந்தது,
பார்க்காமல் பார்க்க துடித்தது,
பேசாமல் பேசி ரசித்தது,
இங்கே..
நோகாமல் நொந்து விழுந்தது;
தீண்டாமல் திண்டி தவித்தது,
தாண்டாமல் தாண்டி சிரித்தது,
இங்கே..

காது குடைவது ஆனந்தம்..

January 31st, 2010 No comments

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

  • துடைப்பங்குச்சி
  • பாய் குச்சி
  • ஊக்கு
  • கொண்டைஊசி
  • சுண்டுவிரல்
  • துணியின் நுணி
  • பென்சில்
  • பென்
  • பல் துலக்கும் பிரஷின் பின்பகுதி
  • மூக்கு கண்ணாடியின் சட்டம்
  • திருப்புளி (ஆபத்தானது)
  • சாவி
  • வயரின் உரை (sleeve)
  • உருட்டிய காகிதம் (மிக பிரபலம்)
  • Buds (எனக்கு பிடிக்காது!)
  • காக்கை/கோழி இறகு
  • பலப்பம் குச்சி

Tamilnadu Cricket Association Team at Bad Conduct ..

December 26th, 2009 No comments

I happen to fly King Fisher airliner from Hyderabad to Chennai (IT 2479 20:20 Departure) on 18th December 2009 along with the Tamilnadu Cricket Association Team (India Cements) cricketers.  I happened to sit very next to the big shots of the team like the Team Co-ordinator Palani (everybody calls him Mama) and Star Cricketer Dinesh Karthik.  Lakshmipathy Balaji (alias Jacque-Pathy; that’s how the others in the team address LB), Anirudha Srikanth and more.

Anirudha (Ani) was teased as Sambar saadam and Urulaikizhanghu kari (guess he loves that!).  Dinesh was teased for his height and he was very furious and spoke filth to scold back.

The language these cricketers use is AWFUL and FILTHY.  It is generally ok to see filth in a group in private.  But, I could not bear the language these cricketers used to scold and make fun of each other.  In the interim they were disturbing the air-hostesses as well, but not aggressively though.  But the air-hostesses of Kingfisher are really good and they handled this crowd with composure.

The co-ordinator guy, Palani; he should weight atleast 150kg was sitting (squeezed inside the seat!) just before me.  He was chewing tobacco (Mawa, in local terms) during the flight and used the barf bag to spit. How awful it could be!!?  But, he speaks good English :) .  He always kept his hands wide in the aisle, such the the air-hostesses had to always come and request him to fold his trunk.

Overall, I am not pleased about their behaviour and their language. Having representing the state in the game of cricket, I would have expected them to behave more decently, atleast in public.

I am sure, the guy who took autograph of Dinesh during the start of the flight, would have repented for getting his air-ticket dirty with his signature!! :D

Restrict MSN file transfer

November 27th, 2009 No comments

MSN uses port 1863 to transmit messages and for file transfer.

Lot of people have said that the file-transfer using MSN happens via port range 6891-6900.  But when I experimented, I found that MSN is using same 1863 port.  Linux machines are able to identify this port as “msnp”.  I used “tcpdump” to verify this.  Whenever MSN attempts to send a file across the Internet, I creates several smaller packets (typically in the range of 536-1350 bytes) and sends them one after the other.  During the file transfer process, if there are messages (text or IM) to be transmitted, the message data block is piggy-backed on the file-transfer packets and sent across.

I was desperately looking for filtering the MSN based file-transfer for some official purposes and wrote some iptables rules based on the Internet literature that said file transfers happen via 6891-6900 by TCP.  Then, to validate the rules, I used tcpdump again on the gateway machine to monitor the packets that are originated from my machine. 
tcpdump src host dev02 -i eth1 -vvv
To my surprise, the file transfer was still happening also the ports are blocked.  Then I made an “iptables” rule to drop all the packets other than 1863 and repeated the experiment.  Still the file-transfer was happening.  I could see using tcpdump that the packet transfer is happening via port 1863.
tcpdump src host dev02 and dst port 1863 -i eth1 -vvv
So, it became apparant that the file-transfer and the text messaging are all happening via port 1863 instead of the port range 6891-6900.  I then decided to write an iptables rule to filter the packets using the packet size constraint.  A rule was written to drop packets that are more then 600 bytes assuming that the IM packets shall never reach the limit.

iptables -A FORWARD -i eth1 -m length -p tcp –length 600:65535 –dport 1863 -j DROP
iptables -A FORWARD -i eth1 -p tcp –dport 1863 -j ACCEPT
iptables -A FORWARD -i eth1 -p tcp -j DROP

I did see that the packet size is around 1350 bytes when files are transferred and that’s why I chose 600 bytes as the limit.  When I monitoring using the “tcpdump” command as before, I was surprise to see that the protocol adjusted the packet size automatically to 560 bytes to continue the transmission.  It tried with 1350 bytes for 3 times and as the acknowledgments were not received, it’s flow control mechanism reduced the packet size to 560 bytes and finished the transfer.  So, I had to redo the iptables rule:-

iptables -A FORWARD -i eth1 -m length -p tcp –length 600 512:65535 –dport 1863 -j DROP

It worked like charm.

The happiness did not last long.  When people logout and tried logging in, they were not able to login at all.  When I investigated the cause of this problem, I could see that the packets that are exchanged during the login process is more than 512 bytes (typically 1350 bytes).  So, I had to relax the rule for a brief time to let people login to MSN messenger service.  I enabled the file-transfer restriction after everybody logged in by enabling the iptables rule.
NOTE: iptables based filtering shall work only for packets that travel across the network.  If the MSN file-transfer happens inside the LAN, MSN cleverly does the file-transfer using P2P where the gateway is not involved at all.

Although, this is not a very good solution, it is definitely worth knowing about!
Happy firewalling!.

Netgear Router & BSNL Broadband

November 8th, 2009 No comments

During Raining Days, BSNL broadband line gets little noisy. I used to connect only my router and never my land line phone in the phone line as I use the BSNL telephone line only for Internet access. Lately, I noticed that the Netgear router having difficulty in establishing connection with the BSNL server whenever it was raining or the phone line is noisy. The “i” indicator keeps blinking in ORANGE color and never stabilizes into a GREEN color indication. Having the “i” indicator blink made sure that the link exists. When I wanted to check the condition of the link (telephone line connection), I connected the BSNL telephone to the splitter port which splits the telephone line to the router and the telephone. When I lifted the cradle, I could notice that the telephone line is little noisy. When I was wondering when and how to make the complaint to BSNL, surprisingly the Netgear router made a stable connection with BSNL gateway. I have used this hack several times, whenever the router (modem) had difficulty in establishing connection.

One theory behind this could be the “loading” effect of the telephone on the telephone line which is subsiding the noise ripples coming over the telephone line.

வர்ணனை

October 28th, 2009 No comments

நிறம் பல கொண்டாய்,
புறம் இழைய பொதிந்தாய்,
நிலம் பார்த் தசைந்தாய்,
புலம் போற்றி யீர்த்தாய்.

திரை சீலை கொண்டாய்,
பட்டுடுத்தி நின்றாய்,
திரை விலகி திமிர,
பட்டாக படர்ந்தாய்.

உள்ளங் கையில் தவழ்ந்தாய்,
உள்ளவன் கையில் தவித்தாய்,
உள்ளந் நெகிழ தளர்ந்தாய்,
உள்ளவன் மகிழ மலர்ந்தாய்.

உச்சம் முரச நிமிர்ந்தாய்,
மிச்சம் முதலாய் சிலிர்த்தாய்,
முத்து உருண்டோட மிளிர்ந்தாய்,
சித்து சுதியேர மசிந்தாய்.

உருவம் ஒன்றன்றி இருப்பாய்,
இலவம் பஞ்சினும் சிறப்பாய்,
உலகும் வியந்தபடி பிறப்பாய்,
இலகும் மதுரமேனி விருப்பாய்.

Powered by ScribeFire.

Tags: , ,

காதல் தோல்வியும் நன்மைக்கே

October 19th, 2009 No comments

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

Powered by ScribeFire.

ஒரு கோரிக்கை

October 19th, 2009 No comments

அசைவம் தவிர்த்தல்,
வாக்கு தவிர்த்தல்,
அச்சம் நீக்கல்,
அவசரம் நீக்கல்,
பந்தம் அறுத்தல்,
எதிர்பார்ப்பு அறுத்தல்,
பற்று அகற்றல்,
குரோதம் அகற்றல்,
ஈர்ப்பு விலக்கல்,
உணர்ச்சி விலக்கல்,
சுவை குறைத்தல்,
பாரம் குறைத்தல்,
நிதானம் கொளல்,
எளிமை கொளல்,

இவையாவும் எனக்கருள் நீ பராபரமே..

Compile 32bit C/C++ Application in 64bit Linux

October 8th, 2009 No comments

To build (cross compilation) 32 bit C/C++ applications on 64 bit linux box, use “-m32″ as a compiler argument.  You would need the following 32bit libraries in place.

  1. Install glibc.i386, glibc-devel.i386
  2. Install libgcc.i386
  3. Install libstdc++.i386

#include <cstdio>
#include <iostream>
main()
{
    std::cout << “C++” << std::endl;
    printf ( “long: %d\n”, sizeof(long) );
    printf ( “long long: %d\n”, sizeof(long long) );
    return 0;
}

To compile in native 64bit:
[sudar@tstsrv12 tmp]$ g++ -m64 -o out64 code.cpp

[sudar@tstsrv12 tmp]$ ./out64
C++
long: 8
long long: 8

[sudar@tstsrv12 tmp]$ ldd out64
        linux-vdso.so.1 =>  (0×00007fffc43fe000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0×0000003e7be00000)
        libm.so.6 => /lib64/libm.so.6 (0×0000000000601000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0×0000003e79e00000)
        libc.so.6 => /lib64/libc.so.6 (0×0000000000886000)
        /lib64/ld-linux-x86-64.so.2 (0×0000000000110000)

To compile in 32bit:
[sudar@tstsrv12 tmp]$ g++ -m32 -o out32 code.cpp

[sudar@tstsrv12 tmp]$ ./out32
C++
long: 4
long long: 8

[sudar@tstsrv12 tmp]$ ldd out32
        linux-gate.so.1 =>  (0×00130000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0×00133000)
        libm.so.6 => /lib/libm.so.6 (0×00223000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0×0024c000)
        libc.so.6 => /lib/libc.so.6 (0×0025a000)
        /lib/ld-linux.so.2 (0×00110000)

காலம்… மூச்சு… ஞாலம்…

September 27th, 2009 No comments
காலம் ஒரு மாயச் சக்கரம். அது சுழல சுழலத்தான் மாற்றங்கள் எற்படுகின்றன. மாற்றங்கள் அன்றி வேறேதும் மாறாதது அன்று. ஆனால், இந்த மாற்றங்களை உன்னால் வெல்லமுடியும், காலத்தை வெல்வதன் மூலம். காலத்திற்கும், மூச்சிற்கும் ஒரு அழுத்தமான் பந்தமுண்டு. ஒன்றன்றி மற்றொன்று அன்று. மூச்சிருக்கும் வரைதான் காலத்தின் கட்டாயம், மூச்சறுத்தால் காலமும் அறுக்கப்படும். மூச்சறுத்தல் இறப்பை குறிப்பதல்ல, சமாதி நிலையை குறிப்பதாகும். சகஜசமாதி என்றொரு நிலையுண்டு, அந்நிலையில் நிகழ்காலம் மட்டுமே இருக்கும், இறந்தகாலுமும், எதிர்காலமும் இராது. சகஜசமாதியில் மூச்சிருக்காது, ஆனால் சாதாரண மனிதர்களைபோல இருக்கமுடியும். மூச்சில்லாததால், எண்ணங்களும் இருக்காது, காலமும் நிகழ்ந்துகொண்டு மட்டுமே இருக்கும். இந்நிலையை எளிதில் தற்காலிகமாக எவராலும் அடைய முடியும். நிரந்தரமாக இந்நிலையை அடைய பயிற்சியும், முதிர்ச்சியும் வேண்டும்.
வழி என்னவென்றால்; ஒரு அமைதியான இடத்தில் ஒரு சௌகரியமான அமர்ந்தோ இல்லை படுத்துக்கொண்டு இல்லை சாய்ந்துகொண்டோ இருக்கவேண்டியது. பிறகு, உன் மூச்சை கவனிக்க தொடங்கவேண்டும். கவனிப்பது என்றால், அந்த மூச்சு காற்று நாசியிலிருந்து வயரு வரை உள்ளே போவதையும், பிறகு வெளியே வருவதையும் கவனிக்கவேண்டும். இப்படி கவனிக்க தொடங்கியது, உன் மூச்சு நிதானமாவதை உணரமுடியும். மேலும் பயிற்சி மேற்கொள்ள, மூச்சினூடே இதயத்தில் ஒலி பேரொலியாக கேட்கமுடியும். அதாவது, இதயத்துடிப்பு நன்றாக உரக்கக்கேட்கும். மேலும் கவனிக்க, உன் மூச்சு காற்றின் ஓட்டம் குறையதொடங்கும். நல்ல ஒரு ஆனந்த நிலையை அடையும்போது, உன் மூச்சு மிக மிக குறைந்திருப்பதை கண்டு ஆச்சரியமாக இருக்கும். இந்த ஆனந்த நிலைதான் சகஜசமாதி. ஒரு தேர்ந்த ஞானியாகியவன், எப்போதுமே இந்த ஆனந்த நிலையில் நிறைந்திருப்பான். பயிற்சி மேலும் செய்ய, இந்த ஆனந்த நிலையில் நீளம் கூடும்.

Powered by ScribeFire.