PageViews: 84,623 hits / 564 nets
home updates download manual documents search
DeleGateIcon

Reference Manual of DeleGate

SIMPLE PLAIN
DeleGate reference manual version 9.9 / cookie encryption and filtering
[CTX] [ALL] cookie encryption and filtering

cryptCookie:listOfCookies:cryptKey
listOfCookies == attributes[@domains]
attributes == attribute | {attribute,attribute,...}
domains == domain | {domain,domain,...}
domain == [.]domainName
cryptKey == string | %a | %P

encrypt specified attributes in a Set-Cookie response to be stored in a client, then decrypt and forward the Cookie request only to the originator of the Cookie. An attribute in a Cookie is specified as "attribute@host" or "attribute@.domain". In the former case, a cookie generated by a host is encrypted and echoed to host only. In the latter case, a cookie generated by hosts in the domain can be echoed to hosts in the domain. The special string "%a" in cryptKey is substituted by the IP-address of the client. This makes the crypted Cookie be usable only by clients on the host of the IP-address.

Example:

    HTTPCONF="cryptCookie:SessionID@host1.dom1,UserID@.dom2:nanjamonja"
    HTTPCONF="cryptCookie:UserID@.dom:nanjamonja"
    HTTPCONF="cryptCookie:UserID@{host1.dom,host2.dom}:nanjamonja"