Idea tracking customers without web-proxy

I made this script to capture the access of client:

/ip service enable ftp

/ip accounting set enabled=yes
/ip accounting set account-local-traffic=yes
/ip accounting set threshold=200000

/system script
add name=“snapshot” source=“/ip accounting snapshot take; /ip accounting
snapshot print without-paging detail file=([/system identity get name]
. "-" . [:pick [/system clock get date] 4 6] . "-" . [:pick
[/system clock get date] 0 3] . "-" . [:pick [/system clock get
date] 7 11] . "-" . [:pick [/system clock get time] 0 8] .
"-
");
\n
\n
\n
\n
\n
\n
\n”
policy=ftp,reboot,read,write,policy,test,winbox,password

/system scheduler
add name=“snap” on-event=snapshot start-date=jan/01/1970 start-time=14:26:00 interval=1m comment=“” disabled=no

Perhaps it is better to use Traffic-flow, which provides you with detailed information about visited pages by your client.

unfortunately, Traffic Flow does not provide information about visited pages =)

Generally traffic flow provides all the information about the traffic, which gone through the router.
Yes, maybe it does not show that www.google.lv was visited 56 times, but it displays information that google address was visited.
At least Traffic-flow is much more advanced than ip-accounting.

To get only pure statistic about visited HTTPs sites, the best solution is Web-proxy.

actually, it’s the only solution for virtual hosting, when many websites have the same IP address =)

The best solution is the web-proxy however not the one in RouterOS,unfortunately, for three reasons:

  1. MT proxy does not cache dynamic contect very well
  2. MT proxy hides real IP of the client
  3. web proxy access lists use a lot of resources on a routerboard

What 1) and 3) have to do with the problem, when only web-page logging is needed?

I stand corrected - In this particular problem only :slight_smile: proxy hiding client’s real IP is an issue.

yesss… you should use Squid with TProxy =)