Open fhunleth opened 4 years ago
RFC 7710 provides a DHCP option for supporting captive portals. I don't know if OSX, Windows, and Linux support this yet, but it seems like a much nicer way of supporting captive portals for devices that do.
It seems like adding the DHCP option can't hurt anything. DHCP options can be specified using their integer numbers so it's possible to try it out. See https://github.com/nerves-networking/vintage_net/blob/master/lib/vintage_net/ip/dhcpd_config.ex#L17.
@jmerriweather - Have you seen RFC 7710 and do you think that it's worth implementing?
I haven't seen RFC 7710, but sounds pretty easy to implement. I can't think of a good reason not to implement it 👍
RFC 7710 provides a DHCP option for supporting captive portals. I don't know if OSX, Windows, and Linux support this yet, but it seems like a much nicer way of supporting captive portals for devices that do.
It seems like adding the DHCP option can't hurt anything. DHCP options can be specified using their integer numbers so it's possible to try it out. See https://github.com/nerves-networking/vintage_net/blob/master/lib/vintage_net/ip/dhcpd_config.ex#L17.