xenanetworks / open-automation-chimera-core

XOA Chimera Core
https://docs.xenanetworks.com/projects/xoa-chimera-core
Apache License 2.0
0 stars 0 forks source link

Protocol segments loading #4

Closed fpfeng closed 1 year ago

fpfeng commented 1 year ago

1673582791408

There is similar setting in extended filter mode, user can edit and save segments. Do I load those original segments from valkyrie json files just like xoa-converter? https://github.com/xenanetworks/open-automation-config-converter/tree/main/xoa_converter/converters/segment_refs

@leonardhyu @ArtemConstantinov

ArtemConstantinov commented 1 year ago

In my memory, most of the functionality of that area is the same, just without modifiers. I can not give a more detailed answer at the moment because the ValkyrieManager on my computer is freezing on Synchronizing chassis configuration.

leonardhyu commented 1 year ago

@fpfeng yes, this part is similar to the header builder in ValkyrieManager. But if you expand the field, you will see it uses masks on every field to construct the filter.

leonardhyu commented 1 year ago

For example, if I enable Extended mode on Flow 1 and I want the filter to give me all packets with the first two bytes of DST MAC being AA AA, this is what the xpc file looks like. Screenshot 2023-01-16 at 17 05 08