[p4] Restricting access from a proxy.

briand <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'briand'.

I'm trying to restrict access to certain depots when the Perforce server is
accessed from a specific proxy.

I have dm.proxy.protects set to 1:

> p4 configure show dm.proxy.protects dm.proxy.protects:1 (default)   
The protection rules are currently setup like this (user briand is a member of
group trunk-eng):

> p4 protects -u briand //trunk/Makefile list group * * -//... write group
trunk-eng * //trunk/... list user * proxy-10.19.13.77 -//...   
Unfortunately, when I access through the restricted proxy, I'm still getting
my normal permissions. For example:

> p4 changes -m1 //trunk/Makefile Change 54321 on 2017/08/08 by
briand@briand-trunk 'Update Makefile'   
Here is the corresponding log entry from the server:

2017/09/25 17:20:02 pid 5899 briand@briand-trunk 10.19.13.77/10.19.11.6
[p4/2017.1/LINUX26X86_64/1534792] 'user-changes -m1
//trunk/Makefile'   
I see from the log line that the server is being accessed from the restricted
proxy (10.19.13.77) and the line that I'm expecting to restrict the access
is at the end of the p4 protects output. Can anyone see what I'm missing?

Thanks.



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5492-restricting-access-from-a-proxy
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.