-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use multiple interfaces for outbound connections #261
Comments
Hey, thanks for this. Do you have examples of URLs that do not work for you that way? The more the better... |
The URLs I use are basically pointing back to my system, from one jail to another where some firewall rules are not configured. So basically not off the top my head, but you can gather some with some searching around. If I manage to find external ones, I'll report them here. |
IPv6 only: Like I said, you can find many sites with a bit of searching, that's not the problematic part. The more problematic part, in order to reproduce the problem, you'll have to set up a docker container (if possible) or a FreeBSD jail that has said two interfaces with one type of IP address each. I think that's where the problem lies. |
Thanks again for reporting. The We'll be wrapping it into a release soon. |
Hey,
I run the latest iframely (checked out from the repo) in a FreeBSD jail that has multiple outbound interfaces; one for IPv4, one for IPv6. Some hosts are unreachable with IPv4 while they are with IPv6, and vice versa. Yet iframely only tries to reach them on one, and doesn't try the other. I get failures for hosts that are online because of this.
For clarity, here's the output of ifconfig:
As you can see,
em0
has no IP address, whereaslo0
has an IPv4 (NAT-ed), andbridge0
has an IPv6 (public). It seems to me that iframely will only use IPv4 in this case.Using the normal telnet command to reach a certain host outside with a TCP connection will probe IPv6 first and then IPv4. This is not the case with iframely.
Can you please fix this?
The text was updated successfully, but these errors were encountered: