A visit to Dr. Reddy’s Labs

Yesterday, a team for five (four people from administration and me) visited Dr. Reddy’s Labs in Hyderabad for a live demo of two security products Linkproof and DefensePro from Radware. DefensePro is a firewall kind of thing (for lay man) which protects your critical servers and Intranet from internal as well as external attacks. Linkproof is a load balancer for outbound as well as inbound traffic in case of multiple (<= 3) ISPs. Linkproof also manages traffic in case one of the ISP fails.

We reached their office at around 2:40PM. The office looked just like another office of some IT company. Fully loaded with sensors. You need not push/pull the door when you enter the office. And everything that an enterprise office should have.

A few minutes later, one of the person from Radware accompanied us to their technical wing called “Information Systems”. Their we had a demo of both the products on consoles. Demo went on for almost half an hour. After the demo we asked if we can see the actual hardware they have deployed. Then the admin in DRL (Dr. Reddy’s Labs) accompanied us to their DMZ (DeMilitarized Zone, its a common term in security industry. Denotes a place where all your critical servers are placed. A highly secured zone basically). I was amazed by the hardware that I saw. I just can’t express my feelings. Though we were not allowed to enter the rooms but everything was visible through the glasses. Rack mountable servers everywhere. Racks, racks, racks and more racks. Awesome experience. I wanted to stay there forever and keep looking at the beasts but …

We headed back to IIIT after that. And yesterday night, in my dreams I saw I own a server farm which had uncountable racks of servers. Racks everywhere πŸ™‚

PS : The above two products will be deployed soon in IIIT for testing purpose πŸ˜€

 

Three days with Fluctuating Internet

We had three days with totally fluctuating internet. The fluctuation was almost like a sine wave. Nobody could really figure out what went wrong and where the problem was.

NOTE : This post is not just another ‘masalla’ post. I am writing down the actual experience I had.

DAY 1 : August 26

All this started on August 26th sometime in the early morning hours when browsing speeds and the bandwidth usage touched the lowest levels in the last month. As I keep monitoring the bandwidth usage (bandwidth monitoring and download progress bars appeal me somehow for certain unknown reasons. I keep looking at progress bars when I download something. I just get lostΒ  in kind of dreamworld while looking at them.), I was surprised to see the low usage because everyone was in the campus and usage should touch the peak levels. It returned to normal after a short period of time and browsing was normal. But this pattern kept repeating itself. I went to attend the class. I returned at 11:30AM and rushed to server room to checkout whats going on. By that time server room was swamped by the phone calls from different research centers.

Nobody was actually able to figure out what was going on. All that we knew was that there was heavy broadcast from a segment on the network. We suspected it as the same problem which we faced last week. But isolating the problematic area is heck of a job and nobody was ready to check the network devices at the leaf level because of following reasons (1) It’ll take almost a day to check individual NIC in all the labs, (2) There is no security that problem will be resolved.

We took a tough decision of shutting down the network in entire problematic segment. This worked and network was fine. No fluctuations. But it proved out to be a wrong decision. We didn’t inform the people in the affected network (which unfortunately consisted of major research centers at IIIT i.e. CVIT, CDE, CVEST, LTRC (temp) etc.) and immediately we had to face the phone calls from HODs. One thing that I learnt from this situation is that Internet connectivity is equally important for everyone at IIIT including faculty members. Though we keep blaming students for being addicted to internet. Internet here is not an addiction, its a need. We had to re-up the network. And the rest of the network started fluctuating again. Everybody left for lunch.

As the time passed, the frustration among the users grew and everybody was almost shouting. Everybody wanted to know why its was taking so long to solve this problem. After lunch one of the admins went to the problematic area and started debugging at the individual switch level. But he faced a real tough time as most of the switches at leaf level are unmanageable (you can’t see any error reports unless you plug into individual switch). And we have a lot of switches (by a lot I mean a real lot of switches). And the switches are cascaded in such a dangerous manner that isolating a problem becomes way difficult. By evening that day we could isolate two research labs and three other segments which were generating heavy broadcast. We shut them off and everybody left for the day. There was a kind of blackout in those segments. No internet, no LAN.

During the night, I kept monitoring the network. A lot of people pinged and complained about the DNS resolution problem. Web pages were loading at a high speed but the name resolution was taking a lot of time. I tried looking at the logs and the traffic. Everything was fine except that the nameserver was swamped by the mail servers for name resolution. I tried a few hacks but nothing worked.

DAY 2 : August 27

I didn’t have any class that day. Admin XYZ called me at around 10:30AM and requested to come to server room if possible. I was sleeping and I hardly wake up at that time. But I didn’t want to miss the opportunity. Got up quickly and rushed to server room wasting as least time as possible. I was in server room at 11:00AM.

Admins suspected some problem with proxy as the fluctuation persisted even after cutting off the problematic areas. By the time I reached server, admins switched over to the stand by proxy machine. And to get started from Zero, entire network except the main building was shut down. We waited for almost half an hour. Everything worked absolutely fine. No fluctuations at all. So, main building is fine.

At around 11:40AM, network was restored in all the hostels. We waited for another half an hour. No fluctuation yet. But hell lot of phone calls sensitizing the situation. Everybody including seniors members rushing to server room. We suspected some attacks from hostels on the server in labs. But we were wrong. The problem is in the library building. But where?

Till lunch time, no network in areas except main building and hostels. As the time passed, the issue became more and more serious. It became difficult to answer phone calls from senior members as the word “Heavy Broadcast” now became irritating for them. They were listening to this since last two days.Β  But nobody actually knew the exact answer. The origin of the broadcast was still not known.

Admin XYZ rushed to the library switch. Now XYZ was in live contact with admin PQR in server room and restoring the network in research centers one by one. Restore network in one research center, wait for half an hour. If no fluctuation, proceed otherwise revert back. Using this technique (this was the only solution), we restored network in all the centers except two. Connections to these centers also cascade to other areas. Complete outage in the two research centers. Everybody left for the day, leaving the two research centers in dark.

Network stabilized a bit. And fluctuation was not frequent (almost none). I monitored the network up to 2AM. Didn’t sleep because had a class at 8:30AM.

DAY 3 : August 28

I had a class up to 10AM. Rushed directly to server room after the class. We already narrowed down to a smaller region. Now the problem was smaller and there were lesser number of people after us. Admin ABC with a student was sent down to inspect individual switches. Thats the problem with unmanageable switches. You have to go and check each and every switch for any error messages. Anyway we kept narrowing down the problematic area till lunch. I left for lunch and returned to my room as I didn’t sleep during previous night. I don’t know what happened in the afternoon. I missed that πŸ™ At 6:30PM, I called admin XYZ and asked about the status. He informed that the problem has been isolated. Only two very small labs were left.

Three days and problem was still there. People were really out of control. Anyway network worked perfectly in other areas except those two labs. The good thing was that these labs were at the leaf level and they were not cascading connections further.

DAY 4 : August 29

I had a lab from 10AM-11AM. But it went up to 11:45AM. By the time, I reached server room, the problem was already resolved. Everyone was connected and no more complaints. Rawat sir updated me with a few decisions which are beyond the scope of this post. The problem was the routing queries from one of the ISPs connected to those labs at leaf level.

It really took almost four days to debug this problem. Debugging a network, especially debugging a network which is randomly cascaded, has more than one entry points, has no perimeter and has a lot of unmanageable switch is a real challenge.

Anyways it was again a learning experience for me. I used to blame people for not able to solve the network problems quickly. I just realized that its very easy to blame.

PS : Longest post on the occasion of bloggers’ day πŸ™‚

 

Bangalore Trip

I got a chance to visit Bangalore last month. Actually Google announced a small meetup for all the GSoC students from India at its Bangalore office on July 28th. As I was returning to IIIT on July 25th, I thought of joining others in Bangalore on my way back. Canceled my reservation (Delhi -> Hyderabad) and re-booked a ticket for Bangalore and back to Hyderabad.

We (Me, Sumit Kataria, Gurpartap Singh) boarded the train from Delhi on July 26th. I knew the other guyz only via IRC but never met them before. They are GSoC students working for Drupal. The journey was fine but a bit of bad luck that Rajdhani was late by two hours. We reached Google office late (by 1 hour). But we didn’t really miss anything because there was a presentation about what Google is and why it is THE GOOGLE. As we didn’t have any breakfast in hurry, we had some snacks at Google. After that there was another presentation by one of the project managers (i forgot the name) about the working style and team structure at Google and how they manage to pull huge projects with small teams. He talked about how projects evolve at Google and some blah blah which I don’t remember.

After than one hour presentation, another break. Time forΒ lunch πŸ˜€ As obvious food at Google was just awesome. Then started the real session where students were asked to give a brief overview of the projects they were working on. Few projects were real tough and few others were really creative ideas. I too gave an overview of my project. Google Open Source T-shirts and GSoC stickers were distributed. Then the host took us around the technical wings of Google Bangalore. It was an amazing experience. I was blown by the hardware I saw. The hugeΒ LCD monitors in dual display configuration were eye catching.Β  We left the Google campus at around 5PM.

We headed over to MG road, one of the most famous places in Bangalore. We had real good time over there. After having dinner in McD we returned home. The next day we planned to visit Iskon temple. But it was a complete FAIL as the temple was closed. We got lost and couldn’t find a place to have lunch. After a lot of efforts, we landed at the central bus terminal. Had dossa there and left for home. Traffic is just awesome in Bangalore. It took us around 2.5 hours to get back. The journey was frustrating and we were tired enough to get anywhere. Yet we left for the MG Road again. We enjoyed a lot. Did some shopping too.

The next day I headed back to Hyderabad. All in all Bangalore is way techie as compared to Hyderabad. Hyderabad is still in its nascent stages of development. Only negative factor I saw in Bangalore is terrific traffic.

kulbir saini @ google bangalore

Me presenting my project @ Google Bangalore

Gurpartap @ Google Bangalore

Gurpartap presenting his project @ Google Bangalore

Macbook Air @ iStore

MacBookAir @ iStore

Strange buses found only in bangalore

Strange bus I saw for the very first time πŸ˜€

 

I need an Air Conditioner

Well, this is not really a want. This is my need. My room is damn hot these days. Why??? See the pics below.

Three Towers

Click the pics to have a clear look. I have these three machines which are continuously injecting heat in my 12×10 feet room. I can’t keep windows open to stop theft.

Dual Monitor

I am not sure if I’ll have a data center in my room by the time I’ll complete my b.tech. πŸ˜€

PS : If you have an old PC and looking for selling it, do contact me.

 

Freaking 50 hours

All this started after returning from dinner at around 8:00PM on August 19.

August 19 – 08:30PM – 10:30PM : Slept.

I woke up at 10:30PM and started browsing random stuff. Gave a finishing touch to GSoC project – IntelligentMirror and announced the release for testing.

August 19 – 10:30PM – 12:30PM : Browsing + Blogging + Browsing.

After that its time for some refreshments.

August 20 – 12:30PM – 02:00AM : Snacks + Toasts.

Then started the same old thing. Browsing. Why the heck we have to browse all the stuff in this world which has no meaning 😐 Also, I had to prepare for my presentation about SMTP protocol in Topics of Information Security class. So, downloaded all the RFCs (thats what we do all the time. download all the academic stuff and feel good about it. Who has time to open and read them πŸ˜› ). Read a bit of stuff from the RFCs.

August 20 – 02:00AM – 07:00AM : Browsing + Reading RFCs + Browsing.

If you are up till 7AM, breakfast is worth a try. Had a breakfast which was good eventually.

August 20 – 07:30AM – 08:00AM : Breakfast.

After that, I though I would go to bed and will sleep for sometime. But then Internet is a real devil which will not let you sleep. Started browsing again and checking everyone’s status message. Reading blogs and some more blah blah. For god sake, don’t put links like this in your status messages.

August 20 – 08:30AM – 12:30PM : Browsing + Fantastic Contraption + Browsing

If you are up till 12:30PM, its good to have lunch before you go to bed πŸ˜€

August 20 – 12:30PM – 01:30PM : Lunch.

After lunch, I was desperate to sleep. But then I had this class called “Music Appreciation” at 5PM. I was afraid of losing an attendance and didn’t sleep. I read RFCs in the meantime. No browsing this time πŸ˜€

August 20 – 02:00PM – 04:30PM : Reading RFCs. No bc.

At around 4:45PM we rushed to coffee shop and then to class. After reaching the class, we realized that prof will not turn up and class stands canceled.

August 20 – 04:30PM – 05:20PM : Coffee shop + Class.

While returning from class, I just wanted to visit server room to see whats going on (actually the network was fluctuating really badly and just wanted to know what exactly is going on. I am a student sysadmin, so kinda concerned about these issues). But I came to know, some serious problem has occurred due to real heavy broadcast from few research labs. Sysadmins were zeroing on the problem. I suddenly forgot about sleeping and all. There may not be a better opportunity to learn how to configure a switch and how to debug a network problem. I was lost somewhere in the switches and servers and I realized it was 7:00 by the time admins sorted out the problem.

August 20 – 05:30PM – 07:00PM : Server room (real good experience. Learnt a bit about how to configure switches πŸ˜€ )

By the time, I left server room it was almost 7:30PM. So just rushed to Yuktahaar to have food. Had some good food. Yuktahaar is probably the only mess in the campus where you can actually eat something.

August 20 – 07:30PM – 08:00PM : Dinner.

As I had to give the presentation on SMTP the next morning, thought of reading some more stuff quickly. Read up to 9:00PM. At this time, I was *REAL* desperate to go to bed. But at about 9:19PM, Himank called up and told about bloggers meet. I was like WTF. Well I wanted to attend the meeting and rushed to main building. Meeting went upto 10:30PM. The meeting was real fun and it was a good experience to meet all the bloggers from my batch. We decided few things to promote blogging in IIIT. Find the details in the link in next line.

August 20 – 08:30PM – 10:30PM : Reading RFCs + Bloggers Meet.

After returning from the meeting, I though of finishing the RFCs and preparing the presentation. But RFCs was a lot more than I assumed, so reading went upto 1:30AM. Prepared the presentation.

August 20 – 10:30PM – 01:30AM : Reading RFCs + Preparing presentation.

I was about to sleep and suddenly Rishabh appeared and now there is something with proxy πŸ™ We discussed about the proxy and other misconfigurations for almost 1 hour.

August 21 – 01:30AM – 02:30AM : Discussion about proxy.

I went to bed at 2:30AM. Felt a bit relaxed. But couldn’t sleep. Why?? I was feeling hungry πŸ™ Get up at 2:45AM and rushed to Deepak’s room for having some snacks.

August 21 – 02:30AM – 03:00AM : Snacks + Toasts.

I was in my room at 3:00AM trying to analyze the situation. “If I go to bed now, I’ll not be able to wake up for 8:30AM class and the whole idea of preparing the presentation will be wasted. Should I sleep or not??” Went to bed but got up again in 15 minutes thinking that its impossible to wake up for the class(lack of confidence??). Browsed stuff for sometime and then had a look at the servers. And this time mailman was not working on the students server. Mails to students mailing list was not being delivered. Tried to debug that for almost 2 hours, but all in vain. Monitored servers for sometime and some more browsing. Please forgive me for sending all the test mails πŸ™‚

August 21 – 03:00AM – 06:30AM : Mailman debugging + Server monitoring + Browsing.

By 6:30AM, I was like “I’ll die if I don’t sleep. But if I sleep, I’ll miss the class. WTF :(( “. I finally decided to sleep. But scheduled alarms at full volume on my computer. Scheduled high beat songs(shell scripting rocks πŸ˜€ ). And decided to sleep on the chair itself as its difficult to get out of bed.

August 21 – 06:30AM – 07:45AM : Sleeping (on chair πŸ™ )

Woke up at 7:45AM and rushed to mess at around 8:00AM.

August 21 – 08:00AM – 08:20AM : Breakfast. OBH mess serves the worst breakfast you can have. They server chowmin in breakfast. I AM NOT KIDDING.

Now starts the actual hectic session. Continuous class upto 1:00PM. whoaaaa!!!!!

August 21 – 08:30AM – 10:00AM : Topics of Information Security Class.

August 21 – 10:00AM – 11:30AM : Systems and Network Security Class.

August 21 – 11:30AM – 01:00PM : Numerical Analysis. This class may be suicidal if you haven’t slept for almost 36hours. Caution next time.

Time for lunch.

August 21 – 01:00PM – 01:30PM : Lunch @ Yuktahaar.

I would have gone to room for sleeping now. But mailman is still not working and students are missing their mails πŸ™ Went back to server room. Did ad-hoc management to bypass mailman for temporary mail delivery. Fixed few other things.

August 21 – 01:30PM – 03:30PM : Server room.

Now we had a Infrastructure team meeting at 3:30PM. Was good. Discussed about a lot of issues and how do we replace old infrastructure in a systematic manner.

August 21 – 03:30PM – 04:30PM : Infrastructure Team Meeting.

As its almost 5PM again, time for three hours long “Music Appreciation” class.

August 21 – 04:30PM – 07:00PM : Coffee shop + Music Appreciation class.

Enough is enough. I *MUST* sleep now. Returned to room quickly ignoring the dinner and went to bed thinking that I’ll sleep for at least 14-16 hours (normally I sleep for 12-14hours at a stretch). But who knew that its not possible. I wake up at 12:30.

August 21 – 07:30PM – 12:30AM : Sleeping (in bed πŸ˜› )

Woke up at 12:30AM. And Internet is here again. Browsing. Browsing. Browsing. Browsing. Browsing. And blogging. BTW, a newer version of youtube cache is available now.

August 22 – 12:30AM – 01:30AM : Browsing + Blogging.

Was feeling real hungary. Rushed to Deepak’s room for snacks and toasts.

August 22 – 01:30AM – 02:30AM : Snacks + Toasts.

Browsing again. And I have been writing this god damn post since half an hour. Its almost 3:30AM now and I am thinking of going to bed again. Hopefully I’ll sleep well this time πŸ˜€

August 22 – 02:30AM – 03:30AM : Blogging.

Previous two days was really hectic. No? Well, I can’t really take more than that. I think my biological clocks are out of synch. Need a break.

PS1 : Change your status messages frequently. Don’t bore me.

PS2 : Need to blog more frequently. Have a lot of stuff to blog about. This sem is real happening.

PS3 : Have two courses on security this sem. Wish me luck πŸ˜€

 

Will SKP and ORB get their MS?

It seems to me that right now entire IIIT is worried about just two guyz. And the two guyz are SKP and ORB. Why??? Because they are going to get their MS soon. :O Yes!!!! This is an event which will never happen again ever in history of mankind. And I am one of those guyz who are are waiting for the heavenly event to happen. But I am not the only one who is waiting for this. From bloggers, it includes Pati himself, Rama, Shark etc.. and thousands of non-bloggers. In reaction to shark’s blog, after struggling for hours I made these πŸ˜› Click on the image and read clearly in higher resolution.

SKP ORB MS Comic

SKP ORB MS Comic

No offense to anyone … this is just for fun πŸ™‚

PS : @SKP, ORB don’t kill me sir jee….

 

Sudden affinity for conferences

I never liked to attend any conferences irrespective of the theme and goal of the conference for the past three years. But after attending two-three conferences in recent months and coming across new people with matching interests, I am suddenly looking forward to attend any open source/linux/entrepreneurship conference in hyderabad or nearby cities. BTW, are you planning to attend Eclipse Demo Camp 2008 – Ganymede Edition in Hyderabad on 25th June?

 

Mouse gestures in Gmail

Did you checkout the gmail labs thingy on the settings page in gmail? They have introduced many features to enhance the email experience.Β  One of the features is mouse gestures which looks pretty cool and makes browsing in between mails very easy πŸ™‚ To enable, go to setting page in Gmail and then to Labs tab in there and enable ‘Mouse Gestures’. Now go to any of the email folder. Open a message. Right click and hold. Now moving your mouse to left will take you to the next message in folder. Similarly, moving the mouse to right will take you to the previous message and moving the mouse upwards will take you back to the folder πŸ˜€ Thats just awesome. Hopefully this will save some of my time while browsing the all time flooded gsoc list πŸ™‚

Here is a pic of the gesture.

Gmail Mouse Gestures

Here is a video as well πŸ™‚

PS : I didn’t even realize that the previous post was my 50th post πŸ˜€

 

I am fedora’ed

Ever since I joined IIIT, I was getting closer and closer to Fedora. For almost the first two and a half years, I was a user and explorer (not the internet one πŸ˜› ). I learnt to use and hack many things as I kept climbing up. Few months ago, I stepped up one more stair and started participating in development channels (mainly #yum).

Though I was not really developing anything, I was reading the source code and was constantly trying to break things. Whenever I happened break something successfully, I discussed it over the mailing list or irc and get it fixed. It was like a prerequisite to get started with the actual development.

Then my project was accepted for GSOC and I knew that this will really be a huge breakthrough to get started with actual development for open source. I was damn excited as I saw the time coming when I will give back to the open source community.

These days, I am feeling fedora in everything I do. Being a developer, you get surrounded by Fedora too much that you see Fedora everywhere. I use Fedora all the time. Whatever I code get pushed to Fedora Hosted. Whatever I write, again gets reflected at Planet Fedora. I am now addicted to reading blogs from Planet Fedora. They give you a nice place to host open source stuff, as in Fedora People πŸ™‚ You get an email address [kulbirsaini AT fedoraproject DOT org] , which you can show off in your friend circle πŸ˜› And thats all my routine these days.

πŸ™‚

 

Best day spent this summer

This day started exactly 30 minutes after yesterday midnight when rain god showed *some* interest in Hyderabad after a month or so. With rains came a lot of power cuts at midnight ( almost 4-5 in a period of less than two hours). My desktops became totally unusable with those frequent power cuts. Me and Sambhav decided to stand in the corridor and enjoy the fragrance of sand that was spread all over the place by rain πŸ™‚ After standing there for almost 15 minutes, we went downstairs to grab a cup of tea. Thanks a *millions* to the coffee machine at OBH.

We went to the square platform between OBH and OBH new extension block and enjoyed the tea while it was drizzling πŸ˜€ It felt like heaven. I enjoyed rain this way after a lifetime, I suppose πŸ™‚ Around 2AM rain stopped and weather became awesome. It was cool feeling after a really hot day. Then started the BC session. We were only two but BC can be done when you are in mood. We talked about *everything* that happened in last three years right from joining IIIT, ragging period and then how people went crazy about the stuff they liked (open source, programming, robotics, cgpa πŸ˜› ). We discussed how people met each other and how we became friends. Ohh yeah. Not to forget, some issues of institute interest were also discussed πŸ˜› How our institute is making progress in every possible field. We also exchanged thoughts and feelings from pre-IIIT life as well. How not getting into IIT proved to be a lucky chance. We also planned how we are going to visit each others’ (everyone in friend circle) home. While discussing all this, I just asked sambhav about time. And OMG!!! It was 4:50AM … we did all this from 3 hours !!!! Time to rush back to work.

We came back and got back to work. Well at 6AM, we woke Mahaveer up for cricket. Now we three, went to play cricket and we found Prashant Singh (PK) on our way. Now we four, went and sit on the stairs in the felicity ground. The air was really fresh and was blowing at a damn fast speed that it could have blown me away if I would have tried to move in its direction πŸ˜› After 20-30 minutes, few M.Tech and MS guys came with cricket stuff and we started playing cricket.

While the match was on, it started raining again. It felt so cool that we were playing cricket in rain while the entire IIIT was in deep sleep -cum- computer labs. It was an awesome experience to get wet in rain πŸ™‚ After cricket match, we had breakfast and returned to our rooms. I took a bath and went to bed. πŸ˜›

Probably this was the best day of my summer’08 πŸ™‚

PS1 : Do read this post by Himank. IIIT is RISING.

PS2 : @Pati,Shiben,Paresh whats the hurry to get MS yaar. One more year plzzzzz πŸ˜› There are few good people left at the insti πŸ™