zonal-filter

所属分类:网络截获/分析
开发工具:Others
文件大小:0KB
下载次数:0
上传日期:2023-09-05 17:15:04
上 传 者sh-1993
说明:  汽车以太网区域网性能认证和数据包过滤研究的评估和开发库...,
(Evaluation and development repository for research into performant authentication and packet filtering in Automotive Ethernet zonal networks.)

文件列表:
CMakeLists.txt (955, 2023-10-17)
examples/ (0, 2023-10-17)
examples/CMakeLists.txt (475, 2023-10-17)
examples/inter-zone-single-stream.cc (5536, 2023-10-17)
examples/intra-zone-single-stream.cc (5546, 2023-10-17)
helper/ (0, 2023-10-17)
helper/packet-id-tag.cc (1071, 2023-10-17)
helper/packet-id-tag.h (1141, 2023-10-17)
helper/processing-bridge-helper.cc (1462, 2023-10-17)
helper/processing-bridge-helper.h (2201, 2023-10-17)
helper/stream-trace-helper.cc (3756, 2023-10-17)
helper/stream-trace-helper.h (3878, 2023-10-17)
helper/zonal-layout-helper.cc (13253, 2023-10-17)
helper/zonal-layout-helper.h (10844, 2023-10-17)
model/ (0, 2023-10-17)
model/processing-bridge-net-device.cc (6225, 2023-10-17)
model/processing-bridge-net-device.h (8012, 2023-10-17)
notes.md (2038, 2023-10-17)
requirements.txt (179, 2023-10-17)
results/ (0, 2023-10-17)
results/inter-zone-single-stream/ (0, 2023-10-17)
results/inter-zone-single-stream/packet-size/ (0, 2023-10-17)
results/inter-zone-single-stream/packet-size/drop_rate.png (26920, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/ (0, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-100/ (0, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-100/inter-zone-single-stream.ips (1150, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-100/inter-zone-single-stream.routes (21651, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-100/stream.csv (120912, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-100/stream.json (19, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-1000/ (0, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-1000/inter-zone-single-stream.ips (1150, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-1000/inter-zone-single-stream.routes (21651, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-1000/stream.csv (12139, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-1000/stream.json (19, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-1050/ (0, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-1050/inter-zone-single-stream.ips (1150, 2023-10-17)
results/inter-zone-single-stream/packet-size/insecure/size-1050/inter-zone-single-stream.routes (21651, 2023-10-17)
... ...

# zonal-filter Evaluation and development repository for research into performant authentication and packet filtering in Automotive Ethernet zonal networks. ## Quick Tour This repository is a single module designed for use within the [ns-3](https://www.nsnam.org/) network simulator. Experiments can each be found in the [`scripts/`](scripts/) directory. Each experiment relies on a `.cc` runner file in [`examples/`](examples/) directory with supporting code in the [`helper/`](helper/) and [`model/`](model/) directories. Processed results can be found in the `scripts//analyze.ipynb` notebooks. Raw results can be found in the [`results/`](results/) directory for each experiment. For example, you can view the results of the first Zonal Latency Measurement experiment by viewing [here](scripts/inter-zone-single-stream-vary-packet-size/analyze.ipynb). ## Current Experiments | Experiment Name | Main Result File | Description | |-----------------|------------------|-------------| |`inter-zone-single-stream-vary-packet-size`|[`View Results!`](scripts/inter-zone-single-stream-vary-packet-size/analyze.ipynb)|Measures flow characteristics of a single UDP stream of packets from one node in one zone to another node in _another_ zone as the _packet size_ changes.| |`intra-zone-single-stream-vary-packet-size`|[`View Results!`](scripts/intra-zone-single-stream-vary-packet-size/analyze.ipynb)|Measures flow characteristics of a single UDP stream of packets from one node in one zone to another node in _the same_ zone as the _packet size_ changes.| |`inter-zone-single-stream-vary-throughput`|[`View Results!`](scripts/inter-zone-single-stream-vary-throughput/analyze.ipynb)|Measures flow characteristics of a single UDP stream of packets from one node in one zone to another node in _another_ zone as _throughput_ (i.e., sending datarate) changes.| |`intra-zone-single-stream-vary-throughput`|[`View Results!`](scripts/intra-zone-single-stream-vary-throughput/analyze.ipynb)|Measures flow characteristics of a single UDP stream of packets from one node in one zone to another node in _the same_ zone as _throughput_ (i.e., sending datarate) changes.|

_An example result from `inter-zone-single-stream-latency-vary-packet-size`. This shows how the latency of a UDP packet travelling across zones varies as a function of its packet size (specifically, the size of its IP payload)._ ## Basic Zonal Topology **Network topology:** One or more zones with one or more endpoints each connected to a zonal gateway in a tree-like structure. For example, a zonal network with `topology = {2, 3}` (two zones, one with 2 endpoints and one with 3) would look like this: ``` ZONE ONE | ZONE TWO | n1.1 ----| | |---- n2.1 | | n1.0 == n1.M ===== n1.N == nGW == n2.N ===== n2.M -- n2.0 -- n2.2 | | n1.2 ----| | |---- n2.3 ``` where nodes are represented as: * `nGW` - is the gateway * `n1.*` - is the zone-one nodes (n1.1) * `n2.*` - is the zone-two nodes (n2.1) * `n*.M` - is the MACsec transceiver for a zonal controller (n1.M) * `n*.N` - is the MACsec transceiver for the gateway on a given zone (n1.N) (NOTE * ) * `n*.0` - is the zonal controller for a zone (n1.0) and where connections are respresented as: * `---` - "Endpoint" Automotive Ethernet (e.g., 100Mbps) * `===` - "Backbone" Automotive Ethernet (e.g., 1000Mbps) Depending on the topology specified in the header file, the simulation could have more zones with different numbers of endpoints, etc. > NOTE * : > Currently, we simulate our network with a MACsec transceiver on each side of each backbone connection (i.e., an inter-zonal message gets encrypted when leaving a zonal controller, decrypted when entering the gateway, encrypted when leaving the gateway, and then decrypted again when entering a zonal controller). > > It is possible that we could implement the MACsec transceivers so that we only have one per zone (such as one on each ZC, and allow the messsages to go through the GW encrypted). > > This should be the topic of a future simulation, potentially implemented with a switch in the configuration. ## Installation To install this repository, please install the [ns-3](https://www.nsnam.org/) network simulator from our [Gitlab fork*](https://gitlab.com/evallen1/ns-3-dev.git) first, and then clone this repository in the `contrib/` directory of `ns-3` to install it as a module: ```bash git clone https://gitlab.com/evallen1/ns-3-dev.git ns-3 git clone https://github.com/evallen/zonal-filter ns-3/contrib/zonal-research ``` From the top level `ns-3` directory, configure `ns-3`: ```bash ./ns3 configure ``` Create a directory you wish your results to go into, such as ```bash mkdir contrib/zonal-research/results/my-test ``` Then build and run the experiments in this directory, such as ```bash ./ns3 run 'contrib/zonal-research/examples/zonal-latency-measurement.cc --verbose' \ --cwd contrib/zonal-research/results/my-test/ ``` **We use our own fork of `ns-3` because we need to make certain functions `virtual` so that we can override them in our implementation of the zonal network. This is not possible without modifying `ns-3`.*

近期下载者

相关文件


收藏者