41 points · by abdrzj · 2y ago · 54 comments
> Note: Companies interested in purchasing a license to use the source code commercially can contact this number
and then
> This project is licensed under the MIT License.
I guess they didn't understand the MIT license and what rights it confers.
Best regards
This project is licensed under the MIT License.
I hope everyone benefits from this open-source project for the development of IPv6.From the readme:
>Note: Companies interested in purchasing a license to use the source code commercially can contact this number on WhatsApp
Best regards
I have now removed the mit license and modified the license to accommodate commercial use of the source code.
Best regards
Something like a DHCP option or NDP option ends up being a lot more natural: "Hey, here's your IP along with the information needed to access the network" is already a function of that layer. Some devices (e.g. macOS/iOS/iPadOS, Windows, Android) take a similar approach in the reverse by probing for a specific test url. That's also a bit hacky and unreliable (e.g. it can falsely trigger) but some minor standardization of it to e.g. a well known DNS name could be another good option.
My assumption is this wasn't adopted because operators want the option of placing the captive portal upstream of the local network DHCP server. DNS spoofing works great over multiple network hops, but DHCP doesn't. (I'm not sure if that's a valid argument, but I'm sure somebody insisted on it)
It's really a business problem. IMO you shouldn't have to solve this just because you've gone indoors – you already pay a carrier for connectivity – but many carriers don't want to own that responsibility.
Or do not offer internet access at all. People carry their own already-connected devices anyway.
So not everyone. Actually a decent number of people that don't.
>Or do not offer internet access at all. People carry their own already-connected devices anyway.
Travelers don't typically have gigabytes of bandwidth to spare. I for one like having unmetered internet access even when there's theoretically internet access available through roaming (absurdly expensive) or esims (expensive)
Damn, you've done significant work on this. Will have to check this out more in depth.
Best regards
Best regards
I’ve never run a captive portal but I always assumed that the router just redirects all port 80 packets to the portal (and rejects everything else), and then upon authenticating, the gateway puts your IP in the “allow” bucket and you get access.
But if you’re generating random addresses every few minutes, you’d need to continually reauthenticate, unless the system has some way of associating the temporary addresses with the original connection. Maybe it listens to ndp and uses MAC addresses to associate? That would be more advanced than most captive portals I’ve seen which seem to only care about ip addresses. Maybe just none of them use IPv6, or simply break with temporary addresses?
Once the agreement is accepted the MAC is added to the allow list.
Not sure how MAC address randomization works in these schemes, but it does. There must be some standard algorithm that everyone follows.
The randomization I refer to is of the outgoing IPv6 address, not the MAC address… nothing that I’m aware of randomly cycles MAC addresses (Apple’s OSes can be configured to randomly generate a MAC every time you connect to a network, but it won’t regenerate them continuously in a session. IPv6 addresses however are continuously generated, as per the RFC4941 spec.) If the system is using MAC addresses to identify users, then temporary/cycled IPv6 addresses should be no problem.