HTTP redirect

DSM ISA filters allow for the specification of an HTTP Redirect action. Valid HTTP Request flows matching the entry are redirected using the specified URL. All other packets are dropped. The URL can be overridden by AAA authentication on a per UE basis, but this override applies to all redirect entries. The URL supports the $MAC, $IP, and $URL substitution variables.

The basic filter-based HTTP Redirect action can be combined with one-time redirect, where filter behavior has precedence. Traffic matching an entry with an http-redirect action is redirected using the specified URL. Traffic matching an entry with a forward action is redirected using the one-time URL and resets the one-time redirect override. One-time redirect is mutually exclusive to a dynamic URL override for filter-based redirection.

----------------------------------------------
isa-filter "redirect-example" type dsm create
    default-action forward
    entry 10 create
        match protocol tcp
            dst-port  eq  80
        exit
        action http-redirect www.example.org?mac=$MAC
    exit
    entry 20 create
        match protocol tcp
            dst-port  eq  8080
        exit
        action http-redirect www.example.org/alternate_port/?ip=$IP
    exit
exit
----------------------------------------------