mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Docs update
This commit is contained in:
parent
4aeb252016
commit
fd029c1b12
2 changed files with 16 additions and 1 deletions
|
|
@ -55,6 +55,11 @@ Note: Applications that use libbbf_ubus to expose datamodel, not required to use
|
|||
|
||||
- `dm...(.c and .h)` files which contains the `bbfdm` engine (operate, diagnostics) functions
|
||||
|
||||
More details available in below documents:
|
||||
- [activate_firmware.md](./docs/activate_firmware.md)
|
||||
- [firewall.md](./docs/firewall.md)
|
||||
- [json_plugin_v1.md](./docs/json_plugin_v1.md)
|
||||
|
||||
## How to add support for a new Object/Parameter
|
||||
|
||||
As mentioned above, all Data Models are stored in the **'dmtree'** folder. In order to implement a new object/parameter, you need to expand its get/set/add/delete functions and then save them in the rigth folder.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,13 @@
|
|||
# Firewall
|
||||
To configure firewall rules for all interfaces, add Device.Firewall.Chain.{i}.Rule.{i}. objects to the existing Device.Firewall.Chain.{i}. in the order in which they should be applied.
|
||||
|
||||
# Limitations
|
||||
- Multiple Device.Firewall.Level.{i}. objects are not supported
|
||||
- Multiple Device.Firewall.Chain.{i}. objects are not supported
|
||||
- Device.Firewall.Chain.{i}.Rule.{i}.TargetChain not supported
|
||||
- Device.Firewall.Chain.{i}.Rule.{i}.Order not supported, firewall rule applied in the order in which they are created, lower index rule has higher priority.
|
||||
- Device.Firewall.Config only supports 'Advanced' mode
|
||||
|
||||
# How Device.Firewall.Chain.{i}.Rule.{i}. Object handles the Protocol parameter:
|
||||
|
||||
For Firewall rule sections, if the protocol(proto option) is not defined or if there are multiple protocols defined in the rule like proto='tcp udp' then in those cases the 'Device.Firewall.Chain.{i}.Rule.{i}.Protocol' parameter will have as value '255' which is reserved in the protocol specification.
|
||||
For Firewall rule sections, if the protocol(proto option) is not defined or if there are multiple protocols defined in the rule like proto='tcp udp' then in those cases the 'Device.Firewall.Chain.{i}.Rule.{i}.Protocol' parameter will have as value '255' which is reserved in the protocol specification.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue