pcp
[Top] [All Lists]

PCP Updates: pmcd access global wildcard for IPv6

To: PCP <pcp@xxxxxxxxxxx>
Subject: PCP Updates: pmcd access global wildcard for IPv6
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Thu, 18 Apr 2013 10:38:50 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4
Note that the changes required for __pmSockAddrIsLoopBack() could be a lot cleaner if I could add an argument to __pmLoopBackAddress() specifying which family to provide the address for. Given that these are very recent additions to the api, how much flexibility do we have to do that?

-------------------------------------------------------------

Committed to git://sourceware.org/git/pcpfans.git brolley/dev:

commit 990b0597c9341cafa5c186b3b0f349fac7f47fed
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Thu Apr 18 10:19:17 2013 -0400

    pmcd access control: global wildcard for IPv6.

- Extend the existing global wildcard, "*", to also refer to IPv6 addresses. - Add support for ".*" global wildcard which refers only to inet (IPv4) addresses. - Add support for ":*" global wildcard which refers only to IPv6 addresses.

With these changes, the global wild card, "*", now has the intended effect of referring to all hosts. The user may separately restrict access for IPv6 and inet hosts as a whole by using the new ".:" and ".*" wildcards respectively.

    Also included are the necessary updates to the expected qa test output.

commit 2c044ef8899e42f3837ab0adbda2c75764043e65
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Thu Apr 18 10:18:17 2013 -0400

    __pmSockAddrIsLoopBack(): Handle IPv6 loopback address.

<Prev in Thread] Current Thread [Next in Thread>
  • PCP Updates: pmcd access global wildcard for IPv6, Dave Brolley <=