Discussion Forum: Thread 331378

 Author: Needlegoplz View Messages Posted By Needlegoplz
 Posted: Dec 9, 2022 13:14
 Subject: IPv6 to get API
 Viewed: 65 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Needlegoplz (31)

Location:  Serbia, Južno-banatski okrug
Member Since Contact Type Status
Oct 20, 2022 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: NeedLePlz
Hi all!
Does anybody know: is static IPv6 address ok to get api?
 Author: SylvainLS View Messages Posted By SylvainLS
 Posted: Dec 9, 2022 13:27
 Subject: Re: IPv6 to get API
 Viewed: 23 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (46)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
(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 View Messages Posted By 1001bricks
 Posted: Dec 9, 2022 13:29
 Subject: (Cancelled)
 Viewed: 17 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (52303)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
(Cancelled)
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Dec 9, 2022 13:35
 Subject: Re: IPv6 to get API
 Viewed: 17 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (52303)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
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 View Messages Posted By SylvainLS
 Posted: Dec 9, 2022 13:41
 Subject: Re: IPv6 to get API
 Viewed: 20 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (46)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
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.


  You should test this.

Nothing to lose but time….
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Dec 9, 2022 13:56
 Subject: Re: IPv6 to get API
 Viewed: 17 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (52303)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
  
  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.


  
  You should test this.

Nothing to lose but time….

Yes, but that's worth nothing
 Author: SylvainLS View Messages Posted By SylvainLS
 Posted: Dec 9, 2022 14:18
 Subject: Re: IPv6 to get API
 Viewed: 25 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (46)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
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 View Messages Posted By peregrinator
 Posted: Dec 9, 2022 15:25
 Subject: Re: IPv6 to get API
 Viewed: 28 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

peregrinator (771)

Location:  USA, New Jersey
Member Since Contact Type Status
Jan 21, 2003 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Faber Family Bricks
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 View Messages Posted By SylvainLS
 Posted: Dec 9, 2022 16:03
 Subject: Re: IPv6 to get API
 Viewed: 21 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (46)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
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 View Messages Posted By 1001bricks
 Posted: Dec 9, 2022 17:49
 Subject: Re: IPv6 to get API
 Viewed: 23 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (52303)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
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