Community discussions

 
sula
just joined
Topic Author
Posts: 7
Joined: Wed Nov 27, 2013 6:23 pm

Webproxy log with users MAC address?

Sun Dec 08, 2013 12:12 pm

It is possible to log user web access by MAC address instead log by IP address from hotspot DHCP?

My webproxy log currently look like this:
06-12-2013 22:38:05 daemon.info MikroTik WEB_PROXY->: 10.10.63.111 cached 28959 http://platform.twitter.com/widgets/fol ... 94725.html
06-12-2013 22:38:05 daemon.info MikroTik WEB_PROXY->: 10.10.63.111 cached 261680 http://upw-prod-images.global.ssl.fastl ... hire-b.png
06-12-2013 22:38:06 daemon.info MikroTik WEB_PROXY->: 10.10.63.111 cached 252968 http://upw-prod-images.global.ssl.fastl ... do.png.png

Thanks for possible suggestions!
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6615
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Webproxy log with users MAC address?

Mon Dec 09, 2013 4:44 pm

No, proxy accounts IP addresses.
You may copy /ip arp table and get mac address for the appropriate IP address.
 
sula
just joined
Topic Author
Posts: 7
Joined: Wed Nov 27, 2013 6:23 pm

Re: Webproxy log with users MAC address?

Mon Dec 09, 2013 8:27 pm

Hm, ok but is there some way to do that automatically on daily basis? Export those MAC addresses.

Why I'm asking this? Here in Croatia there is some kind of law which says that if you provide public hotspot internet access (either free or billing) you are obliged to keep hotspot users records (MAC address, date/time and DNS name or IP address of website which was accessed). All that in case if someone commit some 'Internet crime' during session on hotspot. Frankly, I don't know what police can do with someones MAC address (especially in case of spoofed MAC address) but hey, they are the law.

Is there any way to achieve this?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6615
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Webproxy log with users MAC address?

Tue Dec 10, 2013 3:40 pm

There is no option how to get mac-address visited page from RouterOS, but RouterOS can send
- a, log with IP address and visited page;
- b, arp table with all IP to MAC bindings.
You need to make few scripts on syslog server that translates IP to MAC, and then view/represent logs with MAC/visited page.
 
kraker
Frequent Visitor
Frequent Visitor
Posts: 88
Joined: Thu Aug 02, 2012 9:34 am

Re: Webproxy log with users MAC address?

Tue Dec 31, 2013 11:59 am

I should possible with firewall rule like ---- time---mac address--local ip---destination ip..
 
Etza
newbie
Posts: 49
Joined: Tue May 31, 2011 10:33 pm

Re: Webproxy log with users MAC address?

Tue Feb 02, 2016 9:48 pm

Hm, ok but is there some way to do that automatically on daily basis? Export those MAC addresses.

Why I'm asking this? Here in Croatia there is some kind of law which says that if you provide public hotspot internet access (either free or billing) you are obliged to keep hotspot users records (MAC address, date/time and DNS name or IP address of website which was accessed). All that in case if someone commit some 'Internet crime' during session on hotspot. Frankly, I don't know what police can do with someones MAC address (especially in case of spoofed MAC address) but hey, they are the law.

Is there any way to achieve this?

hi,
do you find any solution ???

Who is online

Users browsing this forum: No registered users and 21 guests