juks / iso-8583-socket-queue

ISO 8583 gateway
MIT License
194 stars 111 forks source link

New Feature Request: Add Agent Proxy #58

Closed ronaldotantra closed 4 years ago

ronaldotantra commented 4 years ago

Hi, It would be nice to add proxy agent option on connection to upstreamhost. Is it possible ?

juks commented 4 years ago

Hi!

Could you, please, describe in more details?

ronaldotantra commented 4 years ago

I want to connect to upstream host through proxy. I see you use net module to build this socket queue. Based on what I read net have no proxy support. Is it possible to configure or change the net in this socket queue to connect upstream host through proxy?

juks commented 4 years ago

But why not just using a port forwarding? Proxy means many hosts behind one host. HTTP proxy understands what host to connect by a 'host' header. In case of ISO8583 there is no host identifier in a single message.