karim-emara / PREXT

PREXT is a unified and extensible framework that simulate pseudonym change schemes (i.e., privacy schemes) in VANET.
GNU General Public License v3.0
17 stars 11 forks source link

Pleae help me WITH ADDING 2ND VEHICLE_TRACKER #12

Open Pradeepjha88 opened 4 years ago

Pradeepjha88 commented 4 years ago

I want to add 2 VehicleTRacker and 10 Eavesdropper. May I know which files do I need to make changes? At present we have just 1 Vehicle tracker and 25 Screenshot from 2019-12-10 14-12-00

Pradeepjha88 commented 4 years ago

Hi Karim Can you please send me your answer to my mail --- jhapradeep88@gmail.com. Eagerly waiting for your reply.

Ruqayah-Alani commented 4 years ago

Emara assumed that the adversary has control over a whole area. Thus, depending on your map area, the eavesdroppers of 300 meters with overlapping of 30 meters will automatically be created. Otherwise, if you do not want full coverage you need to identify the eavesdropper manually as an example given in omnetpp.ini
omnetpp

Ruqayah-Alani commented 4 years ago

I am not sure how to identify the two-vehicle trackers but in Eavesdropper.cc beacon will be collected and sent to the vehicle tracker except for the beacons that marked as encrypted inside mix zone areas that will not be sent to the vehicle tracker. EavesdropperToTracker Hope this help

karim-emara commented 4 years ago

Thanks Pradeep for your interest in PREXT. and Thanks Ruqayah for clarification. The vehicle tracker module is a logical centralized module that is contacted by all eavesdroppers (direct function call) when a beacon message is received. Thus, to have N trackers, you need to: 1- create these trackers as Omnet simple modules and add them to the scenario ned file 2- obtain pointers of these modules in the eavesdropper's initialize function 3- call trackers' beaconReceived to send beacons to the trackers.

As Ruqayah thankfully clarified, eavesdroppers can be automatically created and evenly distributed to simulate full coverage. Otherwise, they should be manually placed and configured in the ini file.

Ruqayah-Alani commented 4 years ago

You are very welcome

Pradeepjha88 commented 4 years ago

Thanks Karim for the the clarification. I will try to follow your steps.

Regards Pradeep

On Wed, 11 Dec 2019 at 02:42, Ruqayah Al-ani notifications@github.com wrote:

You are very welcome

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/karim-emara/PREXT/issues/12?email_source=notifications&email_token=AEVTIZ3HYFE5FZFFJNQU6GLQYAA4FA5CNFSM4JY2UXD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGQ64ZA#issuecomment-564260452, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVTIZ5BVUINLF63WL6NIFTQYAA4FANCNFSM4JY2UXDQ .

Timor7hao commented 4 years ago

Hello dear friend. Why can't I show the information transfer process in my code.It seems that the eavesdropper is not working. The values in the display are all 0, and the traceability is also shown as NaN. Can you help me?Thank you very much! image image image

Pradeepjha88 commented 4 years ago

Hi Axu As far I know you are using Mix Zone scheme and in this scheme the messages are encrypted. You can check the config file or omnetpp.ini for different schemes Karim has designed.

Regards Pradeep Jha

On Wed, 4 Mar 2020 at 19:02, Axu notifications@github.com wrote:

Hello dear friend. Why can't I show the information transfer process in my code.It seems that the eavesdropper is not working. The values in the display are all 0, and the traceability is also shown as NaN. Can you help me?Thank you very much! [image: image] https://user-images.githubusercontent.com/38340783/75884091-2abaa300-5e5f-11ea-929c-75f62ae57490.png [image: image] https://user-images.githubusercontent.com/38340783/75884346-9b61bf80-5e5f-11ea-966e-b9d813f9ee60.png [image: image] https://user-images.githubusercontent.com/38340783/75884378-ac123580-5e5f-11ea-8389-9e77add143e4.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/karim-emara/PREXT/issues/12?email_source=notifications&email_token=AEVTIZ227CWAZQBHDNJ5RG3RFZJ7ZA5CNFSM4JY2UXD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENX3Q3A#issuecomment-594524268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVTIZZKRMFLO5HWFRZZHPTRFZJ7ZANCNFSM4JY2UXDQ .

Timor7hao commented 4 years ago

Hi Jha, Thank you for your reply.I used the higher version of the code:https://github.com/AuspeXeu/PREXT, I have configured according to the author's requirements, I just regenerated:munich10.rou.xml, because the previous traffic information did not work, the rest of the code did not change any.I tried every anonymous scheme, and all had the same symptoms.I don't know what went wrong.