-
Notifications
You must be signed in to change notification settings - Fork 3
/
examples.html
136 lines (136 loc) · 4.59 KB
/
examples.html
1
2
<!DOCTYPE html><!-- Prism by TEMPLATED templated.co @templatedco Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)--><html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Examples of MUD files</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]--> <link rel="stylesheet" href="assets/css/main.css"> <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]--> </head> <body> <!-- Banner --> <section id="banner"> <div class="inner split"> <section> <h2>Example MUD files</h2> </section> <section> <p>A tool to build your own MUD files</p> <ul class="actions"> <li><a href="mudmaker.html" class="button special">Go Right to MUD Maker</a></li> </ul> </section> </div> </section> <!-- Two --> <section id="two" class="wrapper style2 alt"> <div class="inner"> <div class="spotlight"> <div class="image"> <pre class="data" style="line-height: 1;"> <strong>{ "name": "cl0-frdev", "matches": { "ipv4": { "ietf-acldns:dst-dnsname": <br> "cloud-service.example.com" } }, "actions": { "forwarding": "accept" }</strong> </pre> </div> <div class="content"> <h3>Using cloud connectors</h3> <p>To the left you will find an excerpt of an access control entry (ACE) that permits access to a specific host <strong>cloud-service.example.com</strong>. The entire example is found <a href="cloud-service.json">here</a>.</p> </div> </div> </div> <div class="inner"> <div class="spotlight"> <div class="image"> <pre class="data" style="line-height: 1;"> <strong>"ace": [ { "name": "myctl0-todev", "matches": { "ietf-mud:mud": { "my-controller": [ null ] } }, "actions": { "forwarding": "accept" } } ]</strong> </pre> </div> <div class="content"> <h3>Using my-controller</h3> <p>This example permits access to <strong>my-controller</strong>, which is specific to this particular class of device, as defined by its MUD URL. </p> <p>Use my-controller when you manufacturer very few models of devices, as for each separate MUD URL, the administrator will be asked to fill in who <strong>my-controller</strong> is for this device. A complete example can be found <a href="my-controller.json">here</a>.</p> </div> </div> </div> <div class="inner"> <div class="spotlight"> <div class="image"> <pre class="data" style="line-height: 1;"> <strong>"ace": [ { "name": "myman0-todev", "matches": { "ietf-mud:mud": { "same-manufacturer": [ null ] } }, "actions": { "forwarding": "accept" } } ]</strong> </pre> </div> <div class="content"> <h3>Using same-manufacturer</h3> <p>This example permits access to <strong>same-manufacturer</strong>, when the authority section of a MUD URL of another device matches the authority section of the MUD URL for this device. For example, if device A has a MUD URL of https://example.com/devA and device B has a MUD URL of https://example.com/devB, <strong>same-manufacturer
</strong>will match in either's MUD file because they both contain "example.com". A complete example can be found <a href="same-manufacturer.json">here</a>. </p> </div> </div> </div> </section> <!-- Footer --> <footer id="footer"> <div class="copyright"> © Untitled. All rights reserved. Images: <a href="http://unsplash.com">Unsplash</a>. Design: <a href="http://templated.co">TEMPLATED</a>. </div> </footer> <!-- Scripts --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/skel.min.js"></script> <script src="assets/js/util.js"></script> <!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]--> <script src="assets/js/main.js"></script> </body></html>