Feature suggestion: IPv6 support
I just tried to use simpleproxy with an IPv6 remote, but it didn't appear to like it very much. A quick glance at the source code suggests that IPv6 is not supported yet (e.g. parse_host_port doesn't check for IPv6 addresses I guess).
IPv6 is the future, so it'd be great if it was supported here.
This is correct, simpleproxy doesn't support IPv6 at the moment, unfortunately. I'll see if this can be implemented.
I find I have a need for this myself. I am using simple proxy 3.4 on FreeBSD 12. If this is still the primary location for this project, I can assist by adding that support. (I'm 90% sure)
Sorry for the delayed response. Yes, this is the primary repository. Contributions are always welcome. Please submit at PR and we will review it. Please keep code portable, so it will compile on Linux or other Unix-es as well. Thanks!
Okay. I'm working on this, for anyone's information. I thought it would take a few hours, but I had to dust off this knowledge in my head, and then found some peculiarities. I think there may be some FreeBSD issues that I'll have to consider separately on other Ones.
A question for you @vzaliva , what are your feelings on whether a "disable IPv6" should be a compile-time option, and do you require a -4 and/or -6 command-line option to prohibit address families? (The more of this I keep/add, the more complicated the code looks...)