@@ -9,21 +9,20 @@ This repository stores the implementation of this protocol. The implementation i
...
@@ -9,21 +9,20 @@ This repository stores the implementation of this protocol. The implementation i
- Linux machine
- Linux machine
- Python3 (we have written all code to be compatible with at least Python v3.2)
- Python3 (we have written all code to be compatible with at least Python v3.2)
- pip (to install all dependencies)
- pip (to install all dependencies)
- tcpdump
# Installation
# Installation
You may need sudo permissions, in order to run this protocol. This is required because we use raw sockets to exchange control messages. For this reason, some sockets to work properly need to have super user permissions.
Then enter in the cloned repository and install the protocol:
`sudo python3 setup.py install`
And that's it :D
# Run PIM-DM protocol
# Run protocol
You may need sudo permissions, in order to run this protocol. This is required because we use raw sockets to exchange control messages. For this reason, some sockets to work properly need to have super user permissions.
To interact with the protocol you need to execute the `pim-dm` command. You may need to specify a command and corresponding arguments:
To interact with the protocol you need to execute the `pim-dm` command. You may need to specify a command and corresponding arguments:
group.add_argument("-v","--verbose",action="store_true",default=False,help="Verbose (print all debug messages)")
group.add_argument("-v","--verbose",action="store_true",default=False,help="Verbose (print all debug messages)")
group.add_argument("-t","--test",nargs=2,metavar=('ROUTER_NAME','SERVER_LOG_IP'),help="Tester... send log information to SERVER_LOG_IP. Set the router name to ROUTER_NAME")
group.add_argument("-t","--test",nargs=2,metavar=('ROUTER_NAME','SERVER_LOG_IP'),help="Tester... send log information to SERVER_LOG_IP. Set the router name to ROUTER_NAME")