Cookies can be used for authentication in the Hotspot service
Property Description
domain ( read-only: text ) - domain name (if split from username)
expires-in ( read-only: time ) - how long the cookie is valid
mac-address ( read-only: MAC address ) - user's MAC address
user ( read-only: name ) - username
Notes
There can be multiple cookies with the same MAC address. For example, there will be a separate
cookie for each web browser on the same computer.
Cookies can expire - that's the way how it is supposed to be. Default validity time for cookies is 3
days (72 hours), but it can be changed for each individual HotSpot server profile, for example :
/ip hotspot profile set default http-cookie-lifetime=1d
Example
To get the list of valid cookies:
[admin@MikroTik] ip hotspot cookie> print
# USER
DOMAIN
MAC-ADDRESS
EXPIRES-IN
0 ex
01:23:45:67:89:AB 23h54m16s
[admin@MikroTik] ip hotspot cookie>
HTTP-level Walled Garden
Home menu level: /ip hotspot walled-garden
Description
Walled garden is a system which allows unauthorized use of some resources, but requires
authorization to access other resources. This is useful, for example, to give access to some general
information about HotSpot service provider or billing options.
This menu only manages Walled Garden for HTTP and HTTPS protocols. Other protocols can also
be included in Walled Garden, but that is configured elsewhere (in /ip hotspot walled-garden ip;
see the next section of this manual for details)
Property Description
action ( allow | deny ; default: allow ) - action to undertake if a packet matches the rule:
• allow - allow the access to the page without prior authorization
• deny - the authorization is required to access this page
dst-address ( IP address ) - IP address of the destination web server
Page 513 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.