Discussion Forum: Thread 331378 |
|
|
| | Author: | Needlegoplz | Posted: | Dec 9, 2022 13:14 | Subject: | IPv6 to get API | Viewed: | 65 times | Topic: | Help | |
|
| Hi all!
Does anybody know: is static IPv6 address ok to get api?
|
|
| | | | | |
| | | | Author: | SylvainLS | Posted: | Dec 9, 2022 13:27 | Subject: | Re: IPv6 to get API | Viewed: | 23 times | Topic: | Help | |
|
| (Moved to ‘Help.’ ‘Suggestions’ is for polls about new features for the website.)
In Help, Needlegoplz writes:
| Hi all!
Does anybody know: is static IPv6 address ok to get api?
|
I don’t know the answer to that question but, AFAICT, BrickLink servers are IPv4
only¹, so I would say no.
(¹ I only see IPv4 addresses for api.bricklink.com.)
|
|
| | | | | |
| | | | Author: | 1001bricks | Posted: | Dec 9, 2022 13:29 | Subject: | (Cancelled) | Viewed: | 17 times | Topic: | Help | |
|
| (Cancelled) |
|
| | | | | |
| | | | Author: | 1001bricks | Posted: | Dec 9, 2022 13:35 | Subject: | Re: IPv6 to get API | Viewed: | 17 times | Topic: | Help | |
|
| In Help, Needlegoplz writes:
| Hi all!
Does anybody know: is static IPv6 address ok to get api?
|
I'm not sure...
API requires IPv4 registration (see picture), BUT AFAIK you can set 0.0.0.0 for
"any IP" - then maybe it works in APv6?
You should test this.
|
|
|
| | | | | | | | | |
| | | | | | Author: | SylvainLS | Posted: | Dec 9, 2022 13:41 | Subject: | Re: IPv6 to get API | Viewed: | 20 times | Topic: | Help | |
|
| In Help, 1001bricks writes:
| In Help, Needlegoplz writes:
| Hi all!
Does anybody know: is static IPv6 address ok to get api?
|
I'm not sure...
API requires IPv4 registration (see picture), BUT AFAIK you can set 0.0.0.0 for
"any IP" - then maybe it works in APv6?
|
I don’t think so. 0.0.0.0 means “any IPv4.” For “any IPv6,” it’s ::/128.
Nothing to lose but time….
|
|
| | | | | | | | | | | | | |
| | | | | | | | Author: | 1001bricks | Posted: | Dec 9, 2022 13:56 | Subject: | Re: IPv6 to get API | Viewed: | 17 times | Topic: | Help | |
|
| | | API requires IPv4 registration (see picture), BUT AFAIK you can set 0.0.0.0 for
"any IP" - then maybe it works in APv6?
|
I don’t think so. 0.0.0.0 means “any IPv4.” For “any IPv6,” it’s ::/128.
|
Incredible! But I know.
But maybe in this case it simply doesn't check/care which IP it is, either
v4 or v6, what I meant.
|
Nothing to lose but time….
|
Yes, but that's worth nothing
|
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | Author: | SylvainLS | Posted: | Dec 9, 2022 14:18 | Subject: | Re: IPv6 to get API | Viewed: | 25 times | Topic: | Help | |
|
| In Help, 1001bricks writes:
| […]
But maybe in this case it simply doesn't check/care which IP it is, either
v4 or v6, what I meant.
|
Either you’re connected on IPv4 and it checks your IPv4 address in IPv4 data,
or you’re connected on IPv6 and it checks your IPv6 address in IPv6 data.¹
There’s no way to have a “4 or 6, I don’t care” test/match.
(¹ Well, you could have a router that translates/encapsulates your IPv4 into
an IPv6 to talk to IPv6-only servers but, for the server, you would be connected
on IPv6 with an IPv6 address. The other way is not possible.)
Anyway, you can’t connect to api.bricklink.com on IPv6. So there’s no way you
can say “let me connect with any IPv6 address” because you need an IPv4 address
& connection… and you can then use 0.0.0.0 to say “my IPv4 address may change
so let me connect with any one.”
|
|
|
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | Author: | peregrinator | Posted: | Dec 9, 2022 15:25 | Subject: | Re: IPv6 to get API | Viewed: | 28 times | Topic: | Help | |
|
| In Help, SylvainLS writes:
| (¹ Well, you could have a router that translates/encapsulates your IPv4 into
an IPv6 to talk to IPv6-only servers but, for the server, you would be connected
on IPv6 with an IPv6 address. The other way is not possible.)
|
I beg to differ. There are rules for going from IPv6 to IPv4. Of course it won't
be a 1-1 correspondence since there are many more IPv6 addresses than IPv4
|
|
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | Author: | SylvainLS | Posted: | Dec 9, 2022 16:03 | Subject: | Re: IPv6 to get API | Viewed: | 21 times | Topic: | Help | |
|
| In Help, peregrinator writes:
| In Help, SylvainLS writes:
| (¹ Well, you could have a router that translates/encapsulates your IPv4 into
an IPv6 to talk to IPv6-only servers but, for the server, you would be connected
on IPv6 with an IPv6 address. The other way is not possible.)
|
I beg to differ. There are rules for going from IPv6 to IPv4. Of course it won't
be a 1-1 correspondence since there are many more IPv6 addresses than IPv4
|
Yes, indeed, NAT64 is possible in this way too. I don’t know why said it wasn’t.
Maybe because “6to4 in crap, 6to4 is dead”
That doesn’t change the problem though: you need to find someone to do it for
you… or, if you do it yourself, then you’re not on a IPv6-only network.
|
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | Author: | 1001bricks | Posted: | Dec 9, 2022 17:49 | Subject: | Re: IPv6 to get API | Viewed: | 23 times | Topic: | Help | |
|
| In Help, SylvainLS writes:
| In Help, peregrinator writes:
| In Help, SylvainLS writes:
| (¹ Well, you could have a router that translates/encapsulates your IPv4 into
an IPv6 to talk to IPv6-only servers but, for the server, you would be connected
on IPv6 with an IPv6 address. The other way is not possible.)
|
I beg to differ. There are rules for going from IPv6 to IPv4. Of course it won't
be a 1-1 correspondence since there are many more IPv6 addresses than IPv4
|
Yes, indeed, NAT64 is possible in this way too. I don’t know why said it wasn’t.
Maybe because “6to4 in crap, 6to4 is dead”
That doesn’t change the problem though: you need to find someone to do it for
you… or, if you do it yourself, then you’re not on a IPv6-only network.
|
In short, I vote my reply to OP being the best: we don't know, just try it
|
|
|
|
|
|
|