Skip to content
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

Bad IPv6 adress to listen on #54

Closed
benjaminaarsen opened this issue Aug 8, 2021 · 11 comments
Closed

Bad IPv6 adress to listen on #54

benjaminaarsen opened this issue Aug 8, 2021 · 11 comments

Comments

@benjaminaarsen
Copy link

benjaminaarsen commented Aug 8, 2021

iodined: Bad IPv6 address to listen on: '(null)'

I got this issue when trying to run: iodined -f . It returned the error Bad Ipv6 adress to listen on. While trying to find out why i got this issue, i commented out the if statement that is responsible for returning this error. I got the following error: socket: Address family not supported by protocol.

I' m afraid it might have something to do with the configuration of my VPS, but I have no idea what would cause it. If anyone can help with this, that would be great :)

@benjaminaarsen
Copy link
Author

benjaminaarsen commented Aug 8, 2021

When running the test, it fails two things (i think both have something to do with the above error):

common.c:162:F:Common:test_parse_format_ipv6:0: Assertion 'addr_len == sizeof(struct sockaddr_in6)' failed

common.c:187:F:Common:test_parse_format_ipv4_mapped_ipv6:0: Assertion 'addr_len == sizeof(struct sockaddr_in6)' failed

@yarrick
Copy link
Owner

yarrick commented Aug 9, 2021

Running it with only -f as argument doesnt make sense. Are you adding any other parameters?

It seems the machine has no IPv6 support compiled in. Add -4 to iodined flags.

@yarrick
Copy link
Owner

yarrick commented Aug 9, 2021

I tried working around this, can you try again with 559dafb? Using -4 shouldn't be needed.

@benjaminaarsen
Copy link
Author

Running it with only -f as argument doesnt make sense. Are you adding any other parameters?

It seems the machine has no IPv6 support compiled in. Add -4 to iodined flags.

Yes of course i run it together with the internal ip and domain afterwards

@benjaminaarsen
Copy link
Author

Ill try to use the new build, thanks

@benjaminaarsen
Copy link
Author

Using it with -4 works! When running it without the paramter is returns :

iodined: Failed to get IPv6 address to listen on: '(null)': Success

After that it just prints the usage, but the program doesn't resume

@yarrick
Copy link
Owner

yarrick commented Aug 9, 2021

I updated the logging. What does it print now (without -4)?

@benjaminaarsen
Copy link
Author

iodined: Failed to get IPv6 address to listen on: '(null)': Name or service not known

following the usage page

@benjaminaarsen
Copy link
Author

I just ran into another problem, on my client machine it says that no tap adapter was found. When i look at the driver version in device manager it clearly says its tap0901. So i don't see what the problem is

@yarrick
Copy link
Owner

yarrick commented Aug 11, 2021

It (the IPv6 issue) should work now after ee623a2 without adding -4.

Your other problem might be the same as #46

@yarrick
Copy link
Owner

yarrick commented Aug 16, 2021

The listen address issue should be fixed now, reopen otherwise.

@yarrick yarrick closed this as completed Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants