40505741 parasitic computing

Upload: santhan-vanama

Post on 06-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 40505741 Parasitic Computing

    1/20

    RAJAMAHENRA COLLEGE OF

    ENGINEERING

    Technical seminar by:K.RAKESH(08D61A05A5)

  • 8/2/2019 40505741 Parasitic Computing

    2/20

  • 8/2/2019 40505741 Parasitic Computing

    3/20

    Introduction First Reported in journal Nature in 2001 by Barabasi,

    Freech, Feong and Brockman

    A form of distributed computing

    Used for solving complex computational problems Exploits standard set of communication protocols on

    internet.

    Potential candidate protocols include TCP,HTTP, orencryption/decryption with secure socket layer

  • 8/2/2019 40505741 Parasitic Computing

    4/20

    Internet CommunicationWhen a user selects a URL

    Actions at center

    Open a TCP connection to web server

    Issues a HTTP request over TCP connection

    TCP message is carried via IP

  • 8/2/2019 40505741 Parasitic Computing

    5/20

    Internet Communication Actions at receiver

    Receive message through IPValidate checksum at TCP

    Validated pushed to HTTP

    Not validated discard the packet

  • 8/2/2019 40505741 Parasitic Computing

    6/20

    Proof Of Concept

    Solved the SAT problem

    Usually solved by testing several candidate solutions Each candidate solution can be examined in

    parallel

  • 8/2/2019 40505741 Parasitic Computing

    7/20

    Implementation

    Computations takes place at many layers in internet

    Several internet protocols could be exploited toperform parasitic computation

    Implementation made using TCP or higher levels

  • 8/2/2019 40505741 Parasitic Computing

    8/20

    Implementation Using TCP TCP checksums

    Provide enough logic to compute any boolean

    function

    HTTP service

    Protocol always send a response to any message

    received

  • 8/2/2019 40505741 Parasitic Computing

    9/20

    TCP Checksum Sender breaks message into 16 bit words

    These words are added together

    The result is inverted and send with message

    Receiver breaks message into 16 bit words

    All words are added together

    If the result is all ones, the message is valid

    Otherwise, the message is dropped

  • 8/2/2019 40505741 Parasitic Computing

    10/20

    Solving 2-SAT Problem Send a specially created TCP packet containing a

    possible solution

    If the possible solution is correct, the HTTP serverreturns an error message

    If the solution is wrong, then packet is dropped at

    TCP layer

  • 8/2/2019 40505741 Parasitic Computing

    11/20

    Creating Parasitic Messages Variables values of a possible solution are

    distributed so they will align when split in 16 bit

    words

    TCP checksum sent is a representation of the

    expected answer

    Parasitic checksum and the variable string are sent

    to remote machine for verification

  • 8/2/2019 40505741 Parasitic Computing

    12/20

    Prototype Of Parasitic Computing

  • 8/2/2019 40505741 Parasitic Computing

    13/20

    3-SAT Problem NP complete

    Can be solved similar to 2-SAT because the

    maximum sum of three variables is 1+1+1=11,which

    can be represented by two bits without overflow

    The algorithm does not change, only the way to

    create packet is changed

  • 8/2/2019 40505741 Parasitic Computing

    14/20

    Problems For Parasites Several computational cycles are taken to process

    the possible solutions

    Possibility of false negatives Possibility of false positives

  • 8/2/2019 40505741 Parasitic Computing

    15/20

    Problems For Servers Delays due to processing the parasitic messages

    could cause a denial of service

    Almost impossible to prevent someone from

    running a parasitic job on your server

    Removing or changing the exploited functions

    would cause the server to be unable to

    communicate on the internet

  • 8/2/2019 40505741 Parasitic Computing

    16/20

    How It Differs From Others Cluster computing

    In cluster computing, many computers pool in

    their resources willingly

    Parasitic computing does not require the

    willingness of any target machine

    It is not cracking

  • 8/2/2019 40505741 Parasitic Computing

    17/20

    Future Computation-to-communication ratio must increase

    Exploiting HTTP or encryption/decryption could

    execute in an efficient manner.

    Enabling all computers to swap information and

    services they are needed could lead to unparalleled

    emergent behavior, drastically altering the current

    use of the Internet.

  • 8/2/2019 40505741 Parasitic Computing

    18/20

    Summary parasitic computing moves computation onto what

    is logically the communication infrastructure of the

    Internet, blurring the distinction between

    computing and communication.

  • 8/2/2019 40505741 Parasitic Computing

    19/20

    References Barabasi et.al., Parasitic Computing, NATURE 412,

    30 Aug 2001.

    Barabasi et.al. Supplement material for Parasitic

    Computing : http://www.nd.edu/~parasite/

    www.hindu.com/thehindu/2001/09/13/stories/081

    30001.htm

  • 8/2/2019 40505741 Parasitic Computing

    20/20

    Thank You