Hi,

  If you think that this should be an issue in the issue tracker, I'll sign up 
there then and open a ticket.

  The proxy in our environment allows CONNECT commands based on hostnames only, 
not IPs. This is logical if you consider shared hosting in an IT security 
context. If a given hostname resolves to an IP address, MINA uses the IP 
address in the CONNECT command instead of the hostname.

  I'd propose a solution, via a system property, so applications that use MINA 
and do not provide a flag for this can be reconfigured this way. I verified 
this solution by patching the 
org.apache.mina.proxy.handlers.http.HttpProxyRequest's constructor and removing 
the conditionality of using the hostname only when it can't be resolved. I'd 
propose the system property org.apache.mina.proxy.http.proxyUseHostName for 
this.

  What are your thoughts and suggestions?

  Thanks,

  Morc

________________________________

Az OTP Bank Nyrt adatkezelési tájékoztatójáért kérjük keresse fel honlapunkat:
https://www.otpbank.hu/portal/hu/adatvedelem
Ez az üzenet, s bármely melléklete bizalmas információkat tartalmazhat és 
kizárólag a címzettnek szól.
Amennyiben nem Ön ennek az üzenetnek a címzettje, kérjük azonnal értesítse a 
feladót, s az üzenetet törölje a rendszeréből.

For information on our data protection please see the privacy policy of OTP 
Bank Plc:
https://www.otpbank.hu/portal/en/Privacy
This message and any attachment may be confidential and intended exclusively 
for the addressee.
If you are not the intended addressee please notify the sender immediately and 
delete this message and any attachment from your system.

OTP Bank Nyrt.
1051 Budapest, Nádor utca 16.
Cégjegyzékszám: Cg.: 01-10-041585; Fővárosi Törvényszék Cégbírósága

Reply via email to