Coder Social home page Coder Social logo

Some clearence required on the way centinel program works and some queries on the way to add custom tools in it. about centinel HOT 4 OPEN

sahilgupta221 avatar sahilgupta221 commented on July 19, 2024
Some clearence required on the way centinel program works and some queries on the way to add custom tools in it.

from centinel.

Comments (4)

arianniaki avatar arianniaki commented on July 19, 2024

About running customized experiments: We haven't used scapy in our centinel code but I don't think you are limited to centinel.primitives. You can always contribute and add code there. Unfortunately, we don't have further documentation than the Wiki section to customize functionality.

About running an experiment in different locations: our ICLab server takes care of sending the proper schedule files for each of the vantage points in different locations to run.
So we take care of writing the schedules on the server side.

I suggest that you first focus on adding your experiment to centinel.
The centinel communicates with our ICLab server. The default pipeline of centinel includes fetching a schedule from the server and running the baseline experiment which includes testing TCP/DNS/HTTP/Traceroute given a set of URLs and then uploading the result to our server.
Running that experiment on all ICLab nodes is not going to be a problem if you can modify the centinel code to run your experiment on your machine.

from centinel.

sahilgupta221 avatar sahilgupta221 commented on July 19, 2024

@arianniaki
Thanks Arian for clarification.
I already ran baseline.py experiments testing all sort of traceroute present there.

Now I want to run two different traceroutes viz UDP and TLS traceroute.
For this I need to have some clarification on:

  1. How this centinal system work between my machine and ICLAB nodes?
  2. How user can decide on geography of nodes where he want to deploy the program.

First part helps me to understand if I use my own python libraries and system interfaces like regex, os, ssl, socket, etc., will it run directly on ICLAB nodes or do I need to do some modification to some server side programs and send patch to you guys.
Bit of idea on centinel and other server side programs running on ICLAB nodes, will help me to better create/test my programs.

Second part helps me to focus on countries of our interest with respect to whom we want to make the observations.
We don't want all ICLAB nodes running our program.

from centinel.

arianniaki avatar arianniaki commented on July 19, 2024
  1. The centinel code that you have cloned from github is running on its own and you cannot control other ICLab nodes with it. The centinel code on your machine only contacts our ICLab server to fetch the schedule file for the experiment, the input URLs, and to upload the results to our server. If you create a modified experiment that uses other libraries then it will directly run on the ICLab nodes.
  2. That needs to be coordinated with us since our ICLab server is in charge of sending schedule files to ICLab nodes.

Once you have written your experiment and confirm that it works, please refer to the "How to contribute code to Centinel" page on our wiki to send a pull request with your modified experiment. Then please contact us so we can coordinate on how you want your experiment to be performed and in which countries.

from centinel.

sahilgupta221 avatar sahilgupta221 commented on July 19, 2024

@arianniaki
That's great.
I will contact again after completing experiments.
Thanks a lot!
:)

from centinel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.