There are two solutions.

1)      DNS level: Set your own DNS server, and hijiak all DNS and point to 
your server.

2)      IP and http: When gateway gets request from client to google.com, and 
you can simulate “man in the middle” to syn/ack to client, and talk with client 
to provide 302 redirect to client. You can either use VPP host stack to get the 
http request.

From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of carlito 
nueno
Sent: Friday, December 28, 2018 8:59 AM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Question regarding captive portal

Hi all,

After more research, I found that most devices test connectivity by issuing an 
HTTP GET request, e.g. to captive.apple.com or 
connectivitycheck.gstatic.com/generate_204.
How do I catch this http request and respond with 302 redirect that redirects 
user to lan ip address: 192.168.1.2:80/index.html.

thanks!
Happy holidays :)
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11781): https://lists.fd.io/g/vpp-dev/message/11781
Mute This Topic: https://lists.fd.io/mt/28506160/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-
  • [... carlito nueno
    • ... carlito nueno
      • ... Yu, Ping
        • ... carlito nueno
          • ... carlito nueno
            • ... Yu, Ping
              • ... carlito nueno
                • ... carlito nueno
                • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
                • ... carlito nueno
                • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io

Reply via email to