[Users] where is the server side stuff for: /service/proxy ?

Barry de Graaff info at barrydegraaff.tk
Fri Oct 14 22:02:20 CEST 2016


Thanks Phil!

Happy to take a look inside the code to see what it can do.

Barry

----- Original Message -----
From: "Phil Pearl" <phil.pearl at synacor.com>
To: "Barry de Graaff" <info at barrydegraaff.tk>
Cc: "Tony Publiski" <tonster at tonster.com>, users at lists.zetalliance.org
Sent: Friday, October 14, 2016 9:39:04 PM
Subject: Re: [Users] where is the server side stuff  for: /service/proxy ?

Check out
  ZimbraServer/src/java/com/zimbra/cs/zimlet/ProxyServlet.java

And also look for "ProxyServlet" in the jetty xml config(s).

Phil

----- Original Message -----
From: "Barry de Graaff" <info at barrydegraaff.tk>
To: "Tony Publiski" <tonster at tonster.com>
Cc: users at lists.zetalliance.org
Sent: Friday, October 14, 2016 3:28:02 PM
Subject: Re: [Users] where is the server side stuff  for: /service/proxy ?

I have a hunch its 
https://www.eclipse.org/jetty/documentation/9.3.x/proxy-servlet.html

/opt/zimbra/jetty-distribution-9.3.5.v20151012/etc/jetty-proxy.xml
/opt/zimbra/jetty-distribution-9.3.5.v20151012/modules/proxy.mod
/opt/zimbra/jetty-distribution-9.3.5.v20151012/lib/jetty-proxy-9.3.5.v20151012.jar

 :-p And that is in binary form in zimbra-foss

So I still cannot see the code, but have a good idea now.

----- Original Message -----
From: "Barry de Graaff" <info at barrydegraaff.tk>
To: "Tony Publiski" <tonster at tonster.com>
Cc: users at lists.zetalliance.org
Sent: Friday, October 14, 2016 9:12:05 PM
Subject: Re: [Users] where is the server side stuff  for: /service/proxy ?

Yeah it seems at least some core Zimlets have service/proxy in em:

webapps/zimbra/js/Zimlet_all.js
webapps/zimbra/js/zimbraMail/mail/view/object/ZmAddressObjectHandler.js
webapps/zimbra/js/zimbraMail/share/model/ZmZimletBase.js

So I guess, disable is not a great idea, but I still would like to look in the code...

----- Original Message -----
From: "Tony Publiski" <tonster at tonster.com>
To: "Barry de Graaff" <info at barrydegraaff.tk>
Cc: users at lists.zetalliance.org
Sent: Friday, October 14, 2016 8:59:38 PM
Subject: Re: [Users] where is the server side stuff  for: /service/proxy ?

I know that it definitely does more than webex, but unfortunately I don't have a definitive list or know enough about it to guide further than that. :/

Tony

----- Original Message -----
From: "Barry de Graaff" <info at barrydegraaff.tk>
To: users at lists.zetalliance.org
Sent: Friday, October 14, 2016 2:47:31 PM
Subject: [Users] where is the server side stuff  for: /service/proxy ?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello All,

Does anyone know where the server side stuff is for:
https://myzimbra.com/service/proxy?target=
 - -------------------------^^^^^^

Some documentation
https://wiki.zimbra.com/wiki/Zimlet_Developers_Guide:Proxy_Servlet_Setup

I think by default it only does GET requests for webex.

Can I disable it entirely? Without using
zmprov mc {cos-name} +zimbraProxyAllowedDomains {missing-domain-name}

Thanks!

Kind regards,

Barry de Graaff
Zeta Alliance Founder
www.zetalliance.org

Skype: barrydegraaff.tk
Fingerprint: 97f4694a1d9aedad012533db725ddd156d36a2d0
-----BEGIN PGP SIGNATURE-----
Version: OpenPGP.js v2.3.3
Comment: http://openpgpjs.org

wkYEAREIABAFAlgBKEEJEHJd3RVtNqLQAAAACQCeP2ZKnLJhv8wEz5BJkEP7
VPfD9+QAn08JCtmwnZhBpV4JDi9evG4SKbkG
=o232
-----END PGP SIGNATURE-----
This message and any attachment may contain information that is confidential and/or proprietary. Any use, disclosure, copying, storing, or distribution of this e-mail or any attached file by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please notify the sender by reply email and delete the message and any attachments. Thank you.



More information about the Users mailing list