May 23, 2009

My M.Tech Thesis

I am doing the project "Simulating an efficient NIDS on gigabit ethernet communication". To acheive my objectives, I installed Snort NIDS and lot of its dependencies. It took time for me to configure properly because of lack of guidance. Finally my internal review was good. I am satisfied..I will provide my abstart here.. see and give me suggestions..

Intrusion Detection for network security is a compute intensive application demanding high system performance. Objective of thesis is to simulate a testbed evaluation of an efficient Intrusion Detection System (IDS) on gigabit ethernet communication. Testbed [3] includes forming a network with the both Network Intrusion Detection System (NIDS), Snort and attacker, who will generate live traffic [1]. By writing efficient rules for the snort, it will generate alerts which can be visually displayed in browser by using plug-ins. Running the Snort in a live network and the flooding the network with a variety of traffic, both “normal” (legitimate traffic that any network would reasonable expect to occur such as e-mail, HTTP, telnet etc) and attacks, including fairly recent and more well-known network attacks [5]. The pre-design tool allows for more efficient communication and extensive reuse of modules for dramatic increases in area-time performance. We can implement this simulation part on hardware with efficient performance.

May 08, 2009

Failed in IIT Kanpur Ph.D Written Test

I applied for the Ph.D in IIT Kanpur and in written test i got failure..But here the facilities are very good..I am impressed with this facilities here..I am thinking again i will apply here in November(Winter Admissions)...Let me try my luck in IISc Bangalore..There also i applied Operating Systems Ph.D..I am interested to do in Operating Systems..I dont know how far i will go..Anyway friends thanks for giving the moral backup..Love u All..URS PSR.COM

January 06, 2009

Applied for Civil Services

I applied for civil services 2009. My dad always says to me that we have to do something good for the society. So, I decided to write Civil Services. Wish me ALL THE BEST Friends. Hope you will encourage me.

December 15, 2008

My III Sem result

I got 3rd position in III Sem result...I dont know how I got...with god's grace and my friend's help i got 8.61 CGPA...After my AP and Kerala Trip, i am creating new post to blog...I will update my photos soon....till that Advanced Happy Christmas...and Adavanced Happy New Year...

November 03, 2008

My first Matlab Program, Encode and Decode image using Huffman Coding

For the academic purpose i had written a small program in Matlab.

I have tried encoding and decoding the image by using Huffman coding.

Huffman code generally used for data encoding but i tried Huffman coding on small image.

Preconditions:
  1. You need to create a small image, in my code i am using PSR.jpg
  2. It will work well only with small images

Matlab Code:

%Huffman Coding on image by Suresh Raju Pilli

%clearing all variableas and screen
clear all;
close all;
clc;

%Reading image
a=imread('psr.JPG');
figure,imshow(a)

%converting an image to grayscale
I=rgb2gray(a);

%size of the image
[m,n]=size(I);
Totalcount=m*n;

%variables using to find the probability
cnt=1;
sigma=0;

%computing the cumulative probability.
for i=0:255
k=I==i;
count(cnt)=sum(k(:))

%pro array is having the probabilities
pro(cnt)=count(cnt)/Totalcount;
sigma=sigma+pro(cnt);
cumpro(cnt)=sigma;
cnt=cnt+1;
end;


%Symbols for an image
symbols = [0:255];

%Huffman code Dictionary
dict = huffmandict(symbols,pro);

%function which converts array to vector
vec_size = 1;
for p = 1:m
for q = 1:n
newvec(vec_size) = I(p,q);
vec_size = vec_size+1;
end
end

%Huffman Encodig
hcode = huffmanenco(newvec,dict);

%Huffman Decoding
dhsig1 = huffmandeco(hcode,dict);

%convertign dhsig1 double to dhsig uint8
dhsig = uint8(dhsig1);

%vector to array conversion
dec_row=sqrt(length(dhsig));
dec_col=dec_row;

%variables using to convert vector 2 array
arr_row = 1;
arr_col = 1;
vec_si = 1;

for x = 1:m
for y = 1:n
back(x,y)=dhsig(vec_si);
arr_col = arr_col+1;
vec_si = vec_si + 1;
end
arr_row = arr_row+1;
end


%converting image from grayscale to rgb
[deco, map] = gray2ind(back,256);
RGB = ind2rgb(deco,map);
imwrite(RGB,'decoded.JPG');

%end of the huffman coding

Postcondition:
  1. Check the original image and decoded image
  2. Analyze the compression ratio.
You can easily understand the code. Its not at all difficult.

Please send your feedback and comments to psrdotcom@gmail.com

October 28, 2008

Trip to Isha Yoga Foundation

Isha Yoga FoundationIsha Yoga Foundation tour:

Its a memorable journey for me and my friends....

1. We started from our university at 7:30AM
2. We reached Coimbatore Railway Station at 8:20AM
3. I already visited the center once so i know the bus timings and bus no is 14D(direct to the Isha Yoga Center) and 14A to semmedu(7Km distance to Isha Yoga Center).

Bus Timings at Isha Yoga Foundation
4. The above bus timings at the Isha Yoga Center.
5. We got 14A bus at Bigbazzar and got down at semmedu(7km distance to Yoga School).
6. We enjoyed the 7km walk with lot of pictures and scenery.
7. Climate also cool and as per our estimations it rained and we have umbrellas also with us
8. After reaching the Yoga Center according to the directions of the devotees we entered into every block and we enjoyed each and every moment.
9. Two things are not shown in pictures
  • Under 5 feer water "mercury siva lingam", which we can feel the vibrations from the siva lingam.
  • DhyanaLingam, where we can do dhyanam...its very peaceful there....
10. As per schedule we returned from the yoga center at 3:00PM bus, which will start from yoga center to Coimbatore Town Bus Stand.

If you come to coimbatore and if you want some peaceful area, I prefer, you to visit Isha Yoga Foundation, where you can get some peaceful climate...
Thank you everybody,
UR PSR.COM

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com