×

Captive portal that modifies content retrieved from requested web page within walled garden to add link to login portal for unauthorized client devices

  • US 10,303,890 B2
  • Filed: 06/08/2017
  • Issued: 05/28/2019
  • Est. Priority Date: 03/21/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method of providing a captive portal between a local network and an external network, the method comprising:

  • receiving a first transmission control protocol (TCP) connection request from a web browser running on a client device on the local network, the first TCP connection request having a target address of a first web server on the external network;

    determining whether the client device is authorized to directly access the first web server according to an authorized device table;

    when the client device is determined to be authorized to directly access the first web server, passing the first TCP connection request to the first web server;

    when the client device is determined to not be authorized to directly access the first web server, accepting the first TCP connection request and establishing a connection with the client device by pretending to be the first web server;

    receiving from the client device via the connection a hypertext transfer protocol (HTTP) request for a requested web page on the first web server;

    determining whether the requested web page received from the client device via the connection is one of one or more walled garden web sites on the external network for which unauthorized client devices on the local network are allowed access;

    replying to the client device with an HTTP response including a link to a login portal via the connection such that an address bar of the web browser on the client device continues to indicate a uniform resource locator (URL) representing the requested web page on the first web server;

    when the requested web page is one of the walled garden web sites;

    retrieving an original content of the requested web page from the first web server;

    modifying the original content of the requested web page as retrieved to form a modified content having at least some of the original content of the requested web page preserved;

    wherein the modified content is formed at least by adding the link to the login portal that was not present in the original content; and

    replying to the client device via the connection with the HTTP response including the modified content;

    whereby the web browser on the client device displays the requested web page according to the modified content; and

    when the requested web page is not one of the walled garden web sites, replying to the client device via the connection with the HTTP response being a designated web page different than the requested web page and including the link to the login portal;

    wherein, in response to the client device successfully logging in at the login portal, the login portal updates the authorized device table to indicate the client device is now an authorized client device, and thereafter the client device is authorized to directly access the first web server when receiving from the client device a subsequent TCP connection request for the first web server.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×