Python Forum
Programming a routing protocol
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming a routing protocol
#1
Hello,

I want to make a simple routing protocol similar to OSPF (or at least modify an existed one) in python. I found many protocols written in other languages, but I only know Python.

Also, I want to make some evaluations while increasing the number of nodes in the network in order to assess my protocol, such as: throughput, transmission time, delay, number of packets sent, etc. There are many Open-source simulators to do that efficiently such as NS3, but they don't use Python.

I made a research on the Internet, and I found the following packages/tools, but I don't know if they can help me and how to use them:
  • Scapy (Packet crafting for Python2 and Python3),
  • Pymote (A high-level Python library for simulation of distributed algorithms).

I need your helps in this regard, any suggestion is welcomed.

Thank you
Reply
#2
scapy can be installed from command line with: pip install scapy
It seems to be well maintained, latest update April 19 of this year
I don't know anything about it, however there are a lot of related packages: https://pypi.org/search/?q=scapy

Pymote seems to only have versions for python 2 released, and hasn't been worked on since 2018 (at least on GitHub)
information here: https://pypi.org/search/?q=pymote
leemao likes this post
Reply
#3
Thank you Larz60+

---

I hope find some answers to my post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Need Help with Vehicle Routing Problem with Time Windows (VRPTW) in Python kasper321421312 1 506 Nov-10-2023, 08:19 PM
Last Post: snippsat
  I have an issue with Netmiko Error reading SSH protocol banner omarhegazy 2 3,513 May-16-2022, 06:05 PM
Last Post: omarhegazy
  Splitting the audio file into smaller packets before transfer using UDP protocol in p MuhammadAli152 0 3,646 May-15-2020, 03:01 PM
Last Post: MuhammadAli152
  What are the available softwares used to edit and simulate network routing protocols? leemao 1 1,883 Dec-25-2019, 05:36 PM
Last Post: Larz60+
  Help Importing Protocol Library Into Scapy joedirgy 0 2,039 May-02-2019, 07:31 PM
Last Post: joedirgy
  Retrieve protocol in lower case Variables 1 2,332 May-02-2019, 04:46 AM
Last Post: Larz60+
  Pelco D protocol D_frucht 4 7,417 May-30-2018, 08:21 PM
Last Post: D_frucht

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020