Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
remap.config claims to support tunnel:// URLs, but this seems to be totally broken. At least I can't get it to work.
If I start with a remap.config like this:
map tunnel://www.example.com/ tunnel://foo.com/
What happens is that inside remap_parse_config_bti it does a DNS resolution and seems to try to ass mappings for each resolved address. Although this seems like a bad idea, it doesn't work because getaddrinfo returns entries for IPPROTO_UDP and IPPROTO_TCP and the loading code fails when it tries to add duplicate mappings (it adds one for each address result and fails to check the protocol field).
Attachments
Issue Links
- duplicates
-
TS-2806 Map tunnel:// does not seem to work
- Open