Closed nonbutAworker closed 4 months ago
Can you show us the request using curl -v
(its input and output) that has an error? That will make it possible for us to help debug it with you.
I tried using curl to requesting, but it didn't work. I think because of it's not normal http method like GET
, POST
.
and also this request need to authenticate with NTLM Authentication
, which request several requests in the same seesion to negotiate, single curl commod may couldn't do that
$curl --location --request RPC_IN_DATA 'https://bricking.com.cn/rpc/rpcproxy.dll?94d75396-dd09-4243-b6ef-bb0eb8fbf082%40sealsuit.com%3A6001=null'
curl: (43) Failed sending HTTP request
But I reproduction the request in Postman
Request directly to exchange server ( I have set DNS, maybe you can directly request this domain):
Request URL
: https://bricking.com.cn/rpc/rpcproxy.dll?94d75396-dd09-4243-b6ef-bb0eb8fbf082@sealsuit.com:6001
Request Method
: RPC_IN_DATA (need to manually input)
Authentication Type
: NTLM
Username
: zhangzhe@sealsuit.com
Password
: Test@123
And keep everything else the same, just change domain to mail.chouyulanxia.com
(I also set DNS, maybe you can directly request this domain). This domain is caddy server, and you can see the reponse came with error
I think you need this plugin then, if this involves NTLM https://github.com/caddyserver/ntlm-transport
Yeah. NTLM is not HTTP. You can see if that plugin helps.
Thanks ,It works! turns out it failed because can not proxy ntlm
authentication, instead of can not proxy RPC_IN_DATA
request method
Hi Team:
I want to proxy my on-premise exchange server, most of the mail protocol works fine, like owa,ews,activeSync etc. But when I try to proxy
Fox mail(windows version)
as client, who userpc over http
protocol communicate with exchange server, it didn't workmy caddy version
my caddy file
error log
any help would be appreciated !