Last active
July 13, 2022 23:36
-
-
Save JKRhb/b1298a580f895c01f5995eb45e14c867 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ietf-mud:mud": { | |
"mud-version": 1, | |
"mud-url": "https://gist.githubusercontent.com/JKRhb/d76aab0e40056648a921bbadc0bbe2e5/raw/05e6d2d8b87d07641c58dae88a29a4b27284c1fc/demonstrator.mud.json", | |
"last-update": "2022-07-13T19:39:55+00:00", | |
"cache-validity": 48, | |
"is-supported": true, | |
"systeminfo": "A node for the student project NAMIB at the University of Bremen, Germany.", | |
"mfg-name": "NAMIB", | |
"documentation": "https://github.com/namib-project/wot-nodes", | |
"model-name": "demonstrator-node", | |
"from-device-policy": { | |
"access-lists": { | |
"access-list": [ | |
{ | |
"name": "mud-13394-v4fr" | |
}, | |
{ | |
"name": "mud-13394-v6fr" | |
} | |
] | |
} | |
}, | |
"to-device-policy": { | |
"access-lists": { | |
"access-list": [ | |
{ | |
"name": "mud-13394-v4to" | |
}, | |
{ | |
"name": "mud-13394-v6to" | |
} | |
] | |
} | |
} | |
}, | |
"ietf-access-control-list:acls": { | |
"acl": [ | |
{ | |
"name": "mud-13394-v4to", | |
"type": "ipv4-acl-type", | |
"aces": { | |
"ace": [ | |
{ | |
"name": "coap", | |
"matches": { | |
"ietf-mud:mud": { | |
"local-networks": [ | |
null | |
] | |
}, | |
"ipv4": { | |
"protocol": 17 | |
}, | |
"udp": { | |
"source-port": { | |
"operator": "eq", | |
"port": 5683 | |
}, | |
"destination-port": { | |
"operator": "eq", | |
"port": 5683 | |
} | |
} | |
}, | |
"actions": { | |
"forwarding": "accept" | |
} | |
}, | |
{ | |
"name": "coaps", | |
"matches": { | |
"ietf-mud:mud": { | |
"local-networks": [ | |
null | |
] | |
}, | |
"ipv4": { | |
"protocol": 17 | |
}, | |
"udp": { | |
"source-port": { | |
"operator": "eq", | |
"port": 5684 | |
}, | |
"destination-port": { | |
"operator": "eq", | |
"port": 5684 | |
} | |
} | |
}, | |
"actions": { | |
"forwarding": "accept" | |
} | |
}, | |
{ | |
"name": "myman0-todev", | |
"matches": { | |
"ietf-mud:mud": { | |
"same-manufacturer": [ | |
null | |
] | |
} | |
}, | |
"actions": { | |
"forwarding": "accept" | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"name": "mud-13394-v4fr", | |
"type": "ipv4-acl-type", | |
"aces": { | |
"ace": [ | |
{ | |
"name": "coap", | |
"matches": { | |
"ietf-mud:mud": { | |
"local-networks": [ | |
null | |
] | |
}, | |
"ipv4": { | |
"protocol": 17 | |
}, | |
"udp": { | |
"source-port": { | |
"operator": "eq", | |
"port": 5683 | |
}, | |
"destination-port": { | |
"operator": "eq", | |
"port": 5683 | |
} | |
} | |
}, | |
"actions": { | |
"forwarding": "accept" | |
} | |
}, | |
{ | |
"name": "coaps", | |
"matches": { | |
"ietf-mud:mud": { | |
"local-networks": [ | |
null | |
] | |
}, | |
"ipv4": { | |
"protocol": 17 | |
}, | |
"udp": { | |
"source-port": { | |
"operator": "eq", | |
"port": 5684 | |
}, | |
"destination-port": { | |
"operator": "eq", | |
"port": 5684 | |
} | |
} | |
}, | |
"actions": { | |
"forwarding": "accept" | |
} | |
}, | |
{ | |
"name": "myman0-todev", | |
"matches": { | |
"ietf-mud:mud": { | |
"same-manufacturer": [ | |
null | |
] | |
} | |
}, | |
"actions": { | |
"forwarding": "accept" | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"name": "mud-13394-v6fr", | |
"type": "ipv6-acl-type", | |
"aces": { | |
"ace": [ | |
{ | |
"name": "loc0-frdev", | |
"matches": { | |
"ietf-mud:mud": { | |
"local-networks": [ | |
null | |
] | |
}, | |
"ipv6": { | |
"protocol": 17 | |
}, | |
"udp": { | |
"destination-port": { | |
"operator": "eq", | |
"port": 5683 | |
}, | |
"source-port": { | |
"operator": "eq", | |
"port": 5683 | |
} | |
} | |
}, | |
"actions": { | |
"forwarding": "accept" | |
} | |
}, | |
{ | |
"name": "loc0-frdev", | |
"matches": { | |
"ietf-mud:mud": { | |
"local-networks": [ | |
null | |
] | |
}, | |
"ipv6": { | |
"protocol": 17 | |
}, | |
"udp": { | |
"destination-port": { | |
"operator": "eq", | |
"port": 5684 | |
}, | |
"source-port": { | |
"operator": "eq", | |
"port": 5684 | |
} | |
} | |
}, | |
"actions": { | |
"forwarding": "accept" | |
} | |
}, | |
{ | |
"name": "myman0-frdev", | |
"matches": { | |
"ietf-mud:mud": { | |
"same-manufacturer": [ | |
null | |
] | |
} | |
}, | |
"actions": { | |
"forwarding": "accept" | |
} | |
} | |
] | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment