diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2018-03-26 12:11:32 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-03-27 15:24:50 +0200 |
commit | d8747a7b810421d4a1c5aa88e85012558890e577 (patch) | |
tree | d99f6bcdfabeff005ceb7b1f28ca095f3dcae5ab /rumba/model.py | |
parent | 9e499fec0ca6e2940717bce45388c59960f9bdc3 (diff) | |
download | rumba-d8747a7b810421d4a1c5aa88e85012558890e577.tar.gz rumba-d8747a7b810421d4a1c5aa88e85012558890e577.zip |
storyboard: Add capturing of traffic
This adds the functionality to capture traffic on certain interfaces
so that it can be inspected with tools like wireshark. A user needs to
pass a start and end time and a node and DIF. Rumba will then
determine the correct interface to capture on.
Implements #41
Diffstat (limited to 'rumba/model.py')
-rw-r--r-- | rumba/model.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rumba/model.py b/rumba/model.py index e12bddd..0ec301a 100644 --- a/rumba/model.py +++ b/rumba/model.py @@ -243,6 +243,7 @@ class Node(object): self.ssh_config = SSHConfig(name) self.ipcps = [] self.policies = dict() + self.has_tcpdump = False if policies is None: policies = dict() for dif in self.difs: @@ -898,4 +899,4 @@ class Executor: def fetch_files(self, node, paths, destination, sudo=False): for path in paths: - self.fetch_file(node, path, destination, sudo)
\ No newline at end of file + self.fetch_file(node, path, destination, sudo) |