Christian: Thank you for catching the privacy issues. I've got a few questions to help the authors scope this change: 1) Since this is common to all L2 Topologies, can you or the security directorate recommend some text that might be appropriate? If you have recommended text, has this text been reviewed by OPS-DIR and Yang doctors? 2) Will it be a problem If we write privacy considerations on IEEE specifications? 3) Do we need to consider the range of deployments of L2 (home, enterprise, public PBB service, national PBB service, Data centers) Thank you, Sue -----Original Message----- From: Christian Huitema via Datatracker [mailto:noreply@xxxxxxxx] Sent: Thursday, June 25, 2020 1:01 AM To: secdir@xxxxxxxx Cc: draft-ietf-i2rs-yang-l2-network-topology.all@xxxxxxxx; i2rs@xxxxxxxx; last-call@xxxxxxxx Subject: Secdir last call review of draft-ietf-i2rs-yang-l2-network-topology-13 Reviewer: Christian Huitema Review result: Has Issues I have reviewed this document as part of the security directorate's ongoing effort to review all IETF documents being processed by the IESG. These comments were written with the intent of improving security requirements and considerations in IETF drafts. Comments not addressed in last call may be included in AD reviews during the IESG review. Document editors and WG chairs should treat these comments just like any other last call comments. This document describes a Yang model for representing Link Layer topologies. Representing such topologies is obviously useful for managing network. The security section is focused on securing the usage of this information for network management, but does not address potential privacy issues. The security considerations explain correctly how altering the link layer information could enable attacks against the network. The proposed remedy is access control, implemented using either SSH or TLS. This is fine, although the discussion of TLS authorisation is a bit short. By default, TLS verifies the identity of the server but not that of the client. RFC8040 section 2.5 specifies that "a RESTCONF server SHOULD require authentication based on TLS client certificates. I assume that's the intent, but it might be useful to say so. On the other hand, the security considerations do not describe privacy issues, and I find that problematic. The proposed information model lists a number of sensitive data, such as for example the MAC addresses of devices. This information can be misused. For example, applications could assess device location fetching the MAC addresses of local gateways. Third parties could access link local information to gather identities of devices accessing a particular network. Such information is often protected by privacy API in the Operating System, but accessing the Yang module over the network might allow applications to bypass these controls. Client authentication alone does not necessarily protect against these privacy leaks. A classic configuration error would limit write access to authorized users, but to allow read-only access to most users. This kind of error would allow privacy leaks. Given the sensitive nature of MAC addresses and other identifiers, it is useful to warn against such errors. -- last-call mailing list last-call@xxxxxxxx https://www.ietf.org/mailman/listinfo/last-call