Monday, March 28, 2016

Virus: Worms

Worm, the creature that all of us are familiar of.  An animal that live inside soil they dig holes into soil and live in it most of the times they construct tunnels that can enter at one position an exit in another

what is the similarity of  this with Virus Worms, well it does the same, The virus worm as you know it dig a tunnel from your machine/Server to out side. so any one can come in to your machine/Server. Most of the times it is able to penetrate firewalls since connection is initiated inside your server and firewalls are allowing that, so some one can use the tunnel that the worm has made and do some damage to your system. or spy on your servers or your activities.

Thursday, March 17, 2016

Trojan Horse Viirus and web development

Trojan, according to Greek methodology City of troy is attacked by Trojans because of a dispute over a women they fort for about 20 years but the walls of troy is impenetrable after 20 years Trojans device a plan they made a large wooden horse and put some of their finest worriers inside and send a message to troy, that they have given up the war, and as a gift of troys victory. they offer this horse and all went and hid them self. the people of troy came and see that no one is there and find the note and was very happy. they pull the horse inside the gates and begin to celebrate all men took wine and other alcohol and was drunk in the mid night

when they got drunk the worriers in side the horse come out and open the gate letting rest of them to come in and to finish the drunken worriers

so how this apply to the Trojan Horse Virus well it attack in slimier fashion, it will arrive to you as a gift and you will accept it since it is a gift and when opening it will attack your system. for an example you will receive a computer game or utility program which is very useful but underneath that there will be a virus that attack your computer setting or give control of your system to another user, so while you play the game or use the utility, it will damage your system or give control to another

so how this apply to web see most of the websites today are build by popular web developing softwere like joomla or wordpress with these you get the ability to attach plugins so you can give functionality to program or make it looks better, better yet most of them are free. so some one can write a plugging and embedded a Trojan inside. plugin is nice has lot of functionality so you are bound to use it, and when you dose it will give the developer of plugin, access to the server and make a security hole so he will be able to manipulate your system through access given by plugin he will be able to upload files like php scripts or run commands linux or windows on your server(if your operating system is one of them) even delete using del command DOS or rm in linux and you will never know what happen.

Friday, March 11, 2016

Enlightenment & Middle Path

Enlightenment & Middle Path All over the world the people think that good & evil are two separate things and been so good will drive the evil away, but as I began to realize things, I began to search myself what is good what is evil and what separates them. Long I search I realize that they are not two but two ends of an same entity, jest as string has two ends, they exist hand to hand with each other, make one end bigger and other will follow, and make one end shorter so as the other, so how do you get rid of the evil if the good and evil exist with side by side, I was searching for an answer for many years of my times. If they both are two ends of one string how are we going to lose one end each time I try to find out I could not get an answer, and suddenly it strikes me you can’t lose one end of a string without losing the other, that is to lose one end, you have to lose the whole string itself, in order to lose evil you have not only lose evil but good itself, such a person will be no good neither evil, and he will do no good no evil, he will act on no good nor evil, no good and no evil act on him. This realize me of one thing one thing that we all was thought from our child hood the teaching of lord Buddha himself the enlightenment & the Middle Path, which many try to find. Is this what he talk about what middle path is, it is not a path between middle of good and evil but a path with no good and no evil, And men who achieve it will see things as it is. He will see the continuation of life flow of nature and many things, more you hang on to one end the other will hang on to you. So giving up both of them will make you free of everything. Free to feel the world from all earthly things, things that the mere mortal will never understands, I wish I would know.

Wednesday, January 6, 2016

Inventory Control System

Tuesday, January 5, 2016

මනස හා එහි ක්‍රියාකාරීත්වය

කවුරුන් හෝ ඇසුව හොත් මේලෝකයේ භයානකම ආයුධය කුමක්ද යන්න බොහෝ දෙනාගේ පිලිතුරවන්නේ න්‍යෂ්ට්ක බෝම්බ, ජෛව රසායනික ආයුධ, සමහර පර්යේශණ වලින් නිපදවා ඇතැයි කියන ජාන විකෘත්ති කරණ ලද බැක්ටීරියා වෛරස් ලෙස පිලිතුරු ලැබෙනු ඇත.

නමුත් මාගේ මතයනම් මේ ලෝකයේ පවතින භයානකම ආයුධය වන්නේ මිනිස් මනසයි. මක් නිසාදයත් එම මිනිස් මනස අද නොපැවතියානමි ඉහත කී කිසිදු භයානක ආයුධ අපට දක්නට නොලැබෙන බැවිනි.
අපි මනසේ ක්‍රියාකාරීත්වය සොයාබලමු. බටහිර විද්‍යාවට අනුව එය ප්‍ර‍ධාන වශයෙන් කොටස් දෙකකි එනම් conscious mind,subconscious mind (පියවි සිහිය ඇති කොටස හා පියවි සිහියට යටින් ඇති කොටස) ලෙසයි බුද්ධ ධර්මය අනුව මනස චෛතිසිකයන් ගෙන් ගොඩනැගුනු දෙයක් ලෙස විග්‍ර‍හ කරණ අතර එහි විවිධ චිත්ත පරමිපරා ඇතිවීම නැති වීම ගැන දේශණාකරයි. එලෙසම විවිද සිත් පවතින බව දේශනාකරන අතර මිනිසුන්ගේ සිතුවිලි අනුව ඒවා වෙනස් වන බව කතාකරයි.

බෞද්ධ මතයෙන් ටිකක් බැහැරව මම එය බටහිර මනොවිද්‍යාවට අනුව විග්‍ර‍හයක් මෙහිදී කිරීමට බලාපොරත්තු වෙමි. මක්නිසාදයත් බොහෝ අය එය වරදවා තේරුම් ගෙන ඇති බවයි මාගේ මතයයි.
බටහිර විද්‍යාවට අනුව මනසේ පියවිසිහිය ඇති කොටස අපගේ එදිනෙදා ජීවිතයේ ක්‍රියාවන් පාලනය කරනවා අපි හිතන පතන දෑ දවසේ කරණ ක්‍රියාවන් පාලනය වන්නේ මෙයින්.

නමුත් පියවි සිහියට නොමැතිව ඇති කොටස ඒය ගැන අද්‍යනය කිරීම හා විග්‍ර‍හය මදක් අපහසුයි බටහිර විද්‍යාවට අනුව මෙම කොටසේ මිනිසුන් සාංසාරිකව කල හොද නරක මෙන්ම උපයාගත් දේ ද තැම්පත් වී තිබෙනවා යම් කෙනෙකුට මෙම කොටසට ඇතුල්වීමට හැකිනමි ඔහුගේ ආත්ම වල උපයාගත් දේ අනුව ඔහුට බොහෝ දේ නැවත ලබාගත හැකියි.

උදාහරණයක් ලෙස මම එඩ්ගා කේසි ගෙන දෙන්නමි. ඔහු අවු 5000 කට පෙර විසූ ඉතා බලගතු පූජකයෙක් වෙනවා ඔහු යම් කෙනෙක් ඔහු වෙත පැමිණිවිට ස්වං මොහනය මගින් තමන් ගේ මනස අර අවු 5000 ට කලින් තිබූ තත්වයට රුගෙන යනවා. පසුව එම මනසින් ඔහු දෙස බලා ඔබ ඉහත ආත්මයකදී මෙවැනි ක්‍රියා සිදු කිරීම හේතුවෙන් ඔබගේ අද තත්වය උදාවී අතිබවත් එවා යෙන් මිදීමට ජීවිතය කෙසේ වෙනස් කරගතයුතුද යන්න පිලිබදව පැහැදිලිකර දෙනලදි.

ඇත්තටම කියනවානම් බටහිර මනෝවිද්‍යාවට අනුව සිත් කියවීම "අති ඉන්ද්‍රීය ඥාණය" (ESP- Extra Sensory Perception) වැනි දේ මිනිසුන්ට කිරීමට හැකියාව ලැබෙන්නේ ඔවුන්ගෙ මෙම යටි සිත ඉතා ශක්තිමත් වූ විටයි. බුදු දහමට අනුව මට එය ව්ග්‍ර‍හ කිරීම අපහසුයි එහ හරියට අපගේ මනසට යටින් භවාංග ගතවී ඇති හිතක් ලෙස හදුන්වන්න පුලුවන්
ඇත්තටම මනස යනු ඉතා අරුම පුදුම වස්තුවකි එය කොපමන උගෙන ගැනීමට උත්සහ කරත් එහි නිමක් නොමැති බවයි පෙනී යන්නේ.

මෙම වස්තුවට කොපමන හැකියාවක් බලයක් තිබේද යන්න එය නිතර භාවිතාකරන ඔබවත් නො දන්නවා වෙන්න පුලුවන්. ඇත්තට ම බොහෝ පොත්වල දක්වන්නේ මනස ඔබේ සර්ව බලධාරී දෙවියා බවයි. ඇත්තටම කියනවා නමි එය එසේමයි. ඔබ යමක්දැඩිව විස්වාස කලහොත් යමක් ඔබට ලැබෙන බව හැගුන හොත් එසේවනබව ඔබද දැනී තිබෙනවාද? ඇත්තටම ඔවු ඔබේ මනස ඔබ ඉල්ලන ඕනැම දෙයක් ඔබට දෙන්න ලැස්තියි. ඔබ විභාගයක් සමත්වන බව දැඩිලෙස විස්වාස කරන්න. එවිට ඔබේ මනස එම විභාගය සමත්වීම සදහා ඔබ සුදානම් කරාවි ඔබට විනාඩියක්වත් නිකරුනේ කාලය ගත කිරීමට නොසිතේවි සැම මොහොතකම පාඩම් කිරීමට හිතේවේ. ඔබේ සිත ඔබව ක්‍ර‍ම ක්‍ර‍ම යෙන් ඒ දෙසට යොමුකරාවි.

ඒකයි මිනිසුන් පවසන්නේ විස්වාසයට විශාල බලයක් ඇතිබව, බොහෝවිට ඔබ අසාඇති මම ඒක විස්වාස කලා ඒක ඒවිධිහටම උනා යන්න. එසේ වන්නේ ඔබව යම් දෙවියෙක් හෝ යක්ෂයෙක් මෙහෙයවන නිසා නොවේ ඔබ එය දැඩිව විශ්වාෂකරනවිට ඔබගේ මනස ඒ දෙය කිරීමට ඔබව පෙලබවන නිසා ඇත්තටම ඔබව මෙහෙයවන දෙවියා හෝ යක්ෂයා ඔබගේ සිතයි.

 මා අසා තිබෙනවා කිතුනු ආගමහි පවසනවා ඔබට දෙවියන් කෙරෙහි අබ ඇටයක් තරම්වත් විශ්වාසයක් ඇත්නම් ගස මෙතනින් ගොස් මුහුද මැද පැලවෙවයි පැවසුව හොත් එය එසේවන බව ඇත්තටම එයින් පවසන්නේ විස්වාසයේ ඇති බලයයි. තවද ඔබ බෝධිපූජා වැනි වතාවත් කර තමන් ගේ දැන් පවතින තත්වයන් මිදිය හැකියයි කල්පනාකර එය කරයි නමි. එය දැඩිව විස්වාස කරයි නමි. එය එසේම වෙනවා. මොකද ඔබ යම් දෙයක් විශ්වාස කරන විට ඔබගේ මනස එය ඔබට ඉටුකරගැනීමට උදවු වෙනවා. මෙය සමහර රොගීතත්වයන් සුව කිරීම් වලදී ද යොදාගන්න වා. රොගීයාට දෙන බෙහෙත් වලින් ගුනයක් ඇති බව ඒත්තු ගැන්වීම මගින් සමහර රෝග ඉබෙම සුව කිරීමට හැකි බවට අද පර්යේෂණ මට්ටමින් පවතිනවා. ඔවුන්ට විටමින් පෙතිවැනි බෙහෙත් නිර්දේශකර එය තම රෝගය නිට්ටාවට ම සුවවන බව රෝගීයාට ඒත්තු ගැන්වුවිට ඔවුන් ඉබෙම සුවවන බවට පර්යේශන මගින් අද ඔප්පුවී පවතිනවා. https://en.wikipedia.org/wiki/Placebo මෙය ප්ලසීබෝ(Placebo) effect ලෙස වෛද්‍ය විද්‍යාවේදි හදුන්වනු ලබනවා. (http://www.cancer.org/treatment/treatmentsandsideeffects/treatmenttypes/placebo-effect)

ඒකයි අපේ පැරැන්නෝ කිවුවේ හිත ඇත්නම් පත කුඩාද කියලා. ඇත්තටම එය අපූරු වස්තුවක් ඒවගේම ඔබගේ මෙම දෙවියා ඔබ ඉල්ලන දේ ලබා දෙනවා එබැවින් ඔබ පරිස්සම් ව්ය යුතුයි. ඔබ ඔබට නුසුදුසු දෙයක් ඉල්ලුවහොත් ඔබගේ මේ දෙවියා ඔබට එය නිසකවම ලබා දෙන බැවින් එබැවින් තමන් දැඩිව විස්වාස කරණ දේගැන ප්‍රවේසම්වන්න මොකද එය නපුරු චේතනාවකින් කරන එකක්නම් ඔබටද ඔබවටා ඉන්න අයවලුන්ටද මහා විනාශයකට මග පාදනුඇත.



Wednesday, December 2, 2015

IT Service My Definition

Tuesday, December 1, 2015

ISO – OSI (International Standard Organization - Open Systems Interconnection model) what is it?

ISO – OSI is a standard for communication between network devices that is impose by ISO (International Standard Organization) it consist of 7  layers


  • Application
  • Presentation
  • Session
  • Transport
  • Network
  • Data link
  • Physical
All the network devices have one or more of these layers to perform a network task to communicate data with one end to another it needs to implement this at the both ends.

Devices such as Computers has implemented all the seven layers while   switch has ether Network, Data Link , Physical or Data Link Physical layers depending of the type of the switch which you may come across as L2 Switch and L3 Switch stands for Layer 2 switch and Layer 3 Switch which is the number of layers from the bottom of the list. L3 switch is mostly know as manageable switch since you can use them to program the flow of the data in and out of it. And the routers the things that we use to route our packets through network works on Network layer meaning Network, Data Link and Physical are implement on them.

So Let’s look at the layers from top to bottom

Application
This refer to the actual application that you use to communicate with the network google chrome, Mozzila Fire Fox, Putty, File Zella are some example of applications that you may already use to communicate with the network.

Presentation
This is the data representation system conversion since different system have different way of representing things so it converts to a format that every one recognize and wise versa


Session
Session is a layer that contains session details like session Id. which is reference to one of the connection of the same application since there can be more than one for example google chrome can have many tabs opened and it says which tab the data needed to go

Transport
This layer controls the end to end delivery it use TCP (Transmission Control Protocol and UDP (User Datagram Protocol) to achieve that. TCP is a connection oriented one so end to end delivery is guaranteed and UDP is not connection oriented so it is not that reliable for sending data. In this phrase that TCP Header is added to the data which is telling that destination that it is a TCP packet or UDP packet also it have some flags that can be set one if syn another is ack and also fin which is use by the three way hand shake of the TCP to successfully establish a connection.

Network
The data with the TCP header is send to this layer which adds another header to it which is the Network Header it contains the source IP address, Destination IP address, source port and destination port. In this the packet is fragmented that is divided to small parts if it is too big to send as one. This header is use for transferring the packets end to end.

Data Link
 In data link layer it adds another header which is data link header it consist of two mac (Media access control) address of host and a destination this use to navigate through the network the destination and source mac are not always the address of the beginning and end nodes it is hop to hop that mean if you send data from your computer and if it goes through router A,B,C and Destination then fist source mac is of your computer and destination is of router A and when it get to the router A it check it for the destination IP by opening the IP layer and it finds that the packet need to send to router B to get to the destination so it does not change IP Header but when it come to data link it change it now the source mac is the mac of router A and destination mac is the mac of router B and this process goes on until it reach the destination. The data is also segmented at the if it is big and if is known as a frame error control and flow control is added by this stage. This layer is further divided to LLC and Mac

Physical Layer
Till now the data is of bits and it is not physical thing and we need to convert is to a physical thing so we can send it across a physical media Physical Layer dose this for wire Cables it converts to electrical Current for Wireless it convert to wireless signals for fiber cables it convert to laser light etc.



At the other end the data is reached by the physical layer which convert it to bits and pass to data link which check for errors and then pass to network which check for destination and Transport for connection  session to find out which instance presentation convert the data back to local application type and finally application which you will see the result at your PC