← Back to team overview

p2psp team mailing list archive

Re: Prevention of pollution attacks (GSoC)

 

2015-03-11 8:21 GMT+01:00 Ilshat Shakirov <im.shakirov@xxxxxxxxx>:

> Hello!,
>
> I just pushed new version of peersim impl of p2psp -
> lp:~im-shakirov/p2psp/sim
> <https://code.launchpad.net/%7Eim-shakirov/p2psp/sim>
> I implemented DBS of rules (the first part, which is enough to perform the
> first tests). Here is log -
> https://www.dropbox.com/s/dh1cewia6ahyoiy/log.txt?dl=0
>
> As you can see the results looks very artificially. I have implemented
> the next rules:
> 1. Peer arrival - the new peer sends "hello" msg to splitter, then
> splitter sends peer list to peer, then peer sends 'hello' message to peers
> from peer list.
> 2. work with chunks - chunk from splitter is sending to the rest of peers
> (from his peer list), chunk from peer is not reseding.
> 3. when peer receives chunk from unknown peer, it adds peer to its peer
> list.
>
> How I can to improve implementation? I think I should add dynamic to the
> network. Any ideas? =)
>

Hi Ilshat,

good (and fast) work! The network introduces latencies and packet (chunk)
losses. That's all. Do you think that PeerSim can simulate these events?

Regards,
Vicente.


>
> 2015-03-06 15:05 GMT+06:00 Juan Álvaro Muñoz Naranjo <
> juanalvaro83@xxxxxxxxx>:
>
>> Thanks Ilshat, please report (or even better, fix :D) any problem you
>> find in the code!
>>
>> Juan
>>
>> 2015-03-06 10:02 GMT+01:00 Ilshat Shakirov <im.shakirov@xxxxxxxxx>:
>>
>>> Thanks for the responses!
>>>
>>> I didn't notice an existing implementation, sorry.
>>>
>>> Ok, so my first goal will be implementation of pollution attack
>>> solutions on simulator. I will look at code in today's evening (my time is
>>> utc+5).
>>>
>>> Thanks again, I will report about results in this thread, is it ok?
>>>
>>> 2015-03-06 13:52 GMT+05:00 Juan Álvaro Muñoz Naranjo <
>>> juanalvaro83@xxxxxxxxx>:
>>>
>>>> Hi Ilshat,
>>>>
>>>> thanks for your interest! There's alread a PeerSim implementation of
>>>> P2PSP in the repo, go to https://code.launchpad.net/~p2psp/p2psp/sim
>>>>
>>>> The basics of the protocol are implemented in the simulator. It'd be
>>>> great to hear any feedback from you, if you want to play a bit with it.
>>>>
>>>> Also, I think it'd be cool to first implement the pollution attack
>>>> solutions on the simulator. This way we'd get more info about the behaviour
>>>> of these theoretical solutions.
>>>>
>>>> Best,
>>>>
>>>> Juan
>>>>
>>>>
>>>> 2015-03-06 9:37 GMT+01:00 Cristóbal Medina López <
>>>> cristobalmedinalopez@xxxxxxxxx>:
>>>>
>>>>> Hi,
>>>>>
>>>>> We will be delighted with your contribution. All of you can feel free
>>>>> to contribute to the project. You only need create a new branch.
>>>>>
>>>>> Leo, if he can write here then he is a member of the team :-)
>>>>>
>>>>> Regards!
>>>>>
>>>>>
>>>>> El vie., 6 de marzo de 2015 a las 8:50, L.G.Casado (<leo@xxxxxx>)
>>>>> escribió:
>>>>>
>>>>>>
>>>>>> Hello Ilshat,
>>>>>>
>>>>>> I see you get the picture.
>>>>>>
>>>>>> We also have experience in PeerSim. Now we are in the process to be a
>>>>>> node in PlanetLab.
>>>>>>
>>>>>> If you want to contribute before gsoc, your are welcome.
>>>>>>
>>>>>> Some adm can make you member of the team.
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> P2PSP.
>>>>>>
>>>>>>
>>>>>> El vie, 06-03-2015 a las 10:07 +0600, Ilshat Shakirov escribió:
>>>>>>
>>>>>> Hello, P2psp community!
>>>>>>
>>>>>>
>>>>>>  I am GSoC student and I am really interested in your ideas for
>>>>>> gsoc, especially about prevention of dos and pollution attacks.
>>>>>>
>>>>>>  Few words about me: I am studying at Perm State National Research
>>>>>> University (Russia); At university my main work is p2p networks and fault
>>>>>> tolerance of p2p-networks. I worked with DHT (Kademlia, unfortunately only
>>>>>> theory) and BitTorrent. Also I have experience with PeerSim
>>>>>> (p2p-simulator); I have implemented BT-protocol for it.
>>>>>>
>>>>>>
>>>>>>  I am already contacted a mentor and received a paper about defense
>>>>>> strategies for streaming p2p networks (Pollution attacks detection in the
>>>>>> P2PSP live streaming system). I noticed that in section Analyzing results
>>>>>> there is only theoretical study.
>>>>>> I want to implement P2psp-protocol for PeerSim simulator in order to
>>>>>> testing new strategies, theoretical studies and etc.
>>>>>>
>>>>>>  Why PeerSim? It is the most popular p2p-simulator. (
>>>>>> http://scholar.google.ru/scholar?hl=en&q=peersim - 275 citations).
>>>>>> Also it mentioned in 1 <http://dl.acm.org/citation.cfm?id=1232932> 2
>>>>>> <http://dl.acm.org/citation.cfm?id=2501660> .
>>>>>>
>>>>>>  I want implement it before 16 march, because on gsoc I want work
>>>>>> with Prevention of pollution attacks and simulator will help evaluate
>>>>>> future results.
>>>>>>
>>>>>>  What do you think? Thanks in advance.
>>>>>>
>>>>>>  --
>>>>>> Mailing list: https://launchpad.net/~p2psp
>>>>>> Post to     : p2psp@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~p2psp
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>> --
>>>>> Mailing list: https://launchpad.net/~p2psp
>>>>> Post to     : p2psp@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~p2psp
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>> --
>>>> Mailing list: https://launchpad.net/~p2psp
>>>> Post to     : p2psp@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~p2psp
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>> --
>> Mailing list: https://launchpad.net/~p2psp
>> Post to     : p2psp@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~p2psp
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> --
> Mailing list: https://launchpad.net/~p2psp
> Post to     : p2psp@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~p2psp
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Vicente González Ruiz
Depto de Informática
Escuela Técnica Superior de Ingeniería
Universidad de Almería

Carretera Sacramento S/N
04120, La Cañada de San Urbano
Almería, España

e-mail: vruiz@xxxxxx
http://www.ual.es/~vruiz
tel: +34 950 015711
fax: +34 950 015486

Follow ups

References