System and method for providing redirections
A redirection of a URL page request may be performed by monitoring an upstream path from a subscriber to the internet through an ISP. When a URL page request is detected from a subscriber for whom a redirection is required, a redirection device generates a single TCP packet response that mimics a response from the intended destination server. The single TCP packet includes a set FIN bit that closes any active session with the destination server to prevent the subscriber from accepting packets from the destination server.
1 . A method, comprising:
determining, by a redirection device, that a bulletin service is pending for a subscriber based on a mirrored URL page request;
generating, by the redirection device, a redirection response comprising a TCP packet that mimics a response from a destination server by identifying the destination server in a source port field of a TCP header of the TCP packet; and
transmitting, by the redirection device, the TCP packet to the subscriber to redirect the subscriber from the destination server to the pending bulletin service and close an active session between the subscriber and the destination server, wherein the pending bulletin service comprises a frame with a notification message combined with content of a web page originally requested via the mirrored URL page request.
2 . The method of claim 1 , comprising:
monitoring, by a routing device, upstream traffic from the subscriber.
3 . The method of claim 1 , wherein the mirrored URL page request is associated with a “GET” request.
4 . The method of claim 1 , wherein the TCP packet identifies a bulletin server as a redirection destination for the subscriber, wherein the bulletin server comprises an alternative web page server of an Internet Service Provider.
5 . The method of claim 1 , further comprising:
processing the mirrored URL page request to determine a subscriber identity; and
determining whether the notification message is pending for the subscriber identity.
6 . The method of claim 1 , wherein the method further comprises:
closing the active session to ensure that any packets from the destination server are rejected by the subscriber.
7 . The method of claim 1 , wherein the TCP packet comprises:
a FIN bit that prevents the subscriber from accepting other packets from the destination server by closing the active session.
8 . The method of claim 1 , further comprising:
allowing the mirrored URL page request to pass to the destination server.
9 . The method of claim 1 , wherein the TCP packet closes the active session between the subscriber and the destination server.
10 . The method of claim 1 , further comprising:
providing the bulletin service to the subscriber.
11 . A system, comprising:
a redirection device comprising a processor, wherein the redirection device is operatively associated with a memory and has access to at least one database,
wherein the redirection device is further configured to:
determine that a bulletin service is pending for a subscriber based on a mirrored web request,
generate a redirection response comprising a TCP packet that mimics a response from a destination server by identifying the destination server in a source port field of a TCP header of the TCP packet; and
transmit a TCP packet to the subscriber to redirect the subscriber from the destination server to the pending bulletin service and close an active session between the subscriber and the destination server, wherein the pending bulletin service comprises a frame with a notification message which is combined with content of a web page originally requested via the mirrored web request.
12 . The system of claim 11 , comprising:
a router to monitor upstream traffic from the subscriber.
13 . The system of claim 11 , wherein the mirrored web request is associated with a “GET” request.
14 . The system of claim 11 , wherein the TCP packet comprises:
an identification of the subscriber in a destination field of the TCP packet.
15 . The system of claim 11 , wherein the TCP packet comprises:
a FIN bit that closes the active session.
16 . The system of claim 11 , comprising:
a router that allows selected packets to pass through an Internet Service Provider to the destination server.
17 . The system of claim 11 , comprising:
close the active session to ensure that any packets from the destination server are rejected by the subscriber.
18 . The system of claim 11 , comprising:
allow the mirrored URL page request to pass to the destination server.
19 . The system of claim 11 , wherein the TCP packet closes the active session between the subscriber and the destination server.
20 . The system of claim 11 , comprising:
provide the bulletin service to the subscriber.