network configuration Returns: JSON/Dict network configuration
()
| 54 | |
| 55 | |
| 56 | def network_configuration(): |
| 57 | """ |
| 58 | network configuration |
| 59 | |
| 60 | Returns: |
| 61 | JSON/Dict network configuration |
| 62 | """ |
| 63 | return { |
| 64 | "store_network_captured_files": False, |
| 65 | "real_machine_ip_address": real_machine_ip_address, |
| 66 | "ignore_real_machine_ip_address": True, # or if you want to simulate from local network, save as False |
| 67 | "ignore_virtual_machine_ip_addresses": True, # or if you want simulate from local network, save as False |
| 68 | "real_machine_identifier_name": "stockholm_server_1", # can be anything e.g. real_machine_ip_address, name, etc |
| 69 | "ignore_real_machine_ip_addresses": list( |
| 70 | { |
| 71 | real_machine_ip_address, |
| 72 | "127.0.0.1" |
| 73 | } |
| 74 | ), |
| 75 | # e.g. ["10.0.0.1", "192.168.1.1"] |
| 76 | "ignore_real_machine_ports": [], # e.g. [22, 80, 5000] |
| 77 | "split_pcap_file_timeout": 3600 # Default value |
| 78 | } |
| 79 | |
| 80 | |
| 81 | def docker_configuration(): |
no outgoing calls
no test coverage detected