Active Networks Research Implementation
lthurlow / scaling-computing-machine Goto Github PK
View Code? Open in Web Editor NEWActive Networks Research Implementation
License: MIT License
Active Networks Research Implementation
License: MIT License
Should format it to atleast do ^ and not allow comparisions to remove any instance where it gets compared.
traceroute currently does not return anything. only output shows on first hop.
Traceroute needs to start a thread (using join) in main examples/traceroute code. Should print back to standard out.
[rip.py:95 - Thread-2 check_timeout] DEBUG CHECK_TIMEOUT (eth2)
[rip.py:95 - Thread-3 check_timeout] DEBUG CHECK_TIMEOUT (eth3)
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "../anhost/rip.py", line 169, in send_handler
send_update(sock, n_fi,port,dev,mgmt)
File "../anhost/rip.py", line 146, in send_update
rip_update = check_timeout(n_fi,rip_update,mgmt,dev)
File "../anhost/rip.py", line 107, in check_timeout
if (current_time-r.get_ttl() > datetime.timedelta(minutes=2)):
File "../anhost/anhost.py", line 62, in get_ttl
return datetime.datetime.strptime(self.update,"%Y%j%H%M%S%f")
AttributeError: _strptime
make the server attach to all local interfaces the same way as RIP.
[anhost.py:287 - Thread-2 modify_linux_tables] DEBUG MODIFY_LINUX_TABLES
[anhost.py:308 - Thread-2 modify_linux_tables] DEBUG Adding Linux Route: {'Use': '0', 'Iface': 'eth2', 'Metric': '0', 'Destination': '10.0.1.0', 'Genmask': '255.255.255.0', 'Flags': 'U', 'TTL': '2015196034058505028', 'Ref': '0', 'Gateway': '0.0.0.0'}
SIOCADDRT: Invalid argument
[anhost.py:311 - Thread-2 modify_linux_tables] INFO set route returned with exit status: 7
[anhost.py:308 - Thread-2 modify_linux_tables] DEBUG Adding Linux Route: {'Use': '0', 'Iface': 'eth2', 'Metric': '1', 'Destination': '10.0.2.0', 'Genmask': '255.255.255.0', 'Flags': 'U', 'TTL': '2015196034058505028', 'Ref': '0', 'Gateway': '10.0.1.3'}
SIOCADDRT: Network is unreachable
[anhost.py:311 - Thread-2 modify_linux_tables] INFO set route returned with exit status: 7
[anhost.py:308 - Thread-2 modify_linux_tables] DEBUG Adding Linux Route: {'Use': '0', 'Iface': 'eth1', 'Metric': '0', 'Destination': '10.0.0.0', 'Genmask': '255.255.255.0', 'Flags': 'U', 'TTL': '2015196034023437908', 'Ref': '0', 'Gateway': '0.0.0.0'}
SIOCADDRT: Invalid argument
[anhost.py:311 - Thread-2 modify_linux_tables] INFO set route returned with exit status: 7
MSG: [
{"Use": "0", "Iface": "eth1", "Metric": "1", "Destination": "10.0.0.0", "Genmask": "255.255.255.0", "Flags": "U", "TTL": "2015194112431241960", "Ref": "0", "Gateway": "10.0.1.2"},
{"Use": "0", "Iface": "eth2", "Metric": "1", "Destination": "10.0.1.0", "Genmask": "255.255.255.0", "Flags": "U", "TTL": "2015194112431241960", "Ref": "0", "Gateway": "10.0.1.2"},
{"Use": "0", "Iface": "eth3", "Metric": "1", "Destination": "10.0.2.0", "Genmask": "255.255.255.0", "Flags": "U", "TTL": "2015194112431241960", "Ref": "0", "Gateway": "10.0.1.2"}]
Eth3 does not exist on an2, seems to not get modified correctly when receiving from an3
traceroute needs more debugging code in examples/traceroute.py and anhost/anhost.py to track why why the server killed the request.
Make all gets for linux route tables return Route lists.
There may be a possibility that routes can fluctuate when a route advertisement stops. One of the neighbors may send out an update after the first route is terminates. This can cause the old route information to re-propagate through the networks.
need to clean up the linux route tables added by server when the server exits.
Need verification that traceroute will not cause server to crash or kill RIP threads.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.