Community discussions

MikroTik App
 
onowojemma
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Sun Sep 11, 2005 5:27 pm
Location: Nigeria

LOG

Mon Oct 23, 2006 1:34 am

Please sir can some thing be done about log to view the log in version 2.9xx to make it look like 2.8xx becurse some times you may need to veiw the sit your client is connecting to, on 2.8xx it will tell you the Ip address and the name of the websit it connecting to, but on 2.9.xx nothing is there on thelog it just report of login and Dhcp-server
thanks
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Mon Oct 23, 2006 12:34 pm

try
/system logging
to set logging options you need., and where to log. :roll: set up what topics to log.

hope that was helpful
 
onowojemma
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Sun Sep 11, 2005 5:27 pm
Location: Nigeria

Mon Oct 23, 2006 5:57 pm

please can u tro in some light i want to see what site each IP address are visting what they are relay doing with my network
Thanks for the reply
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Tue Oct 24, 2006 8:27 am

To log packets destined to the router add firewall log rule to the chain=input,
'ip firewall filter add chain=input action=log'

The same rule in chain=forward will log packets for client network. But you have to be ready, that there will be a lot of connection. Add additional matcehrs to the the firewall rules to log something specific.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Tue Oct 24, 2006 9:15 am

he wants to see what webpages his users are visiting. i think you have to use webproxy, and enable webproxy logs.
 
cybergold
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Thu May 25, 2006 3:36 am

Tue Oct 24, 2006 11:54 am

he wants to see what webpages his users are visiting. i think you have to use webproxy, and enable webproxy logs.
This log is really interesting, bu the major setback is that the log files really get so full and the capturing what web sites the clients are visiting can really be tedious. This may slow down the performance of the router.. What do you think?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Tue Oct 24, 2006 12:43 pm

set the logging destination from `disk` to `remote` and use a syslog program to capture and sort the logs.
 
cybergold
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Thu May 25, 2006 3:36 am

Tue Oct 24, 2006 3:42 pm

set the logging destination from `disk` to `remote` and use a syslog program to capture and sort the logs.
What syslog program do you recommend? and i observed that when ever i try to log webproxy events, my hotspot login page does not show again?
any clue as to what is wrong
 
cybergold
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Thu May 25, 2006 3:36 am

Tue Oct 24, 2006 4:48 pm

i have installed MT syslog and the performnance is wonderful, but my hotspot login page will still not appear.. but is i disable logging for web-proxy, the page appears
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Wed Oct 25, 2006 9:04 am

this could not be in any relation
 
Gerlach76
Member Candidate
Member Candidate
Posts: 111
Joined: Fri Nov 03, 2006 3:24 pm

how can i enable webproxy logs?

Wed Apr 04, 2007 2:24 pm

I must protocoll all my customer trafffic.

Please help me... :!:
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Apr 04, 2007 2:28 pm

What do you mean by 'protocoll all my customer trafffic' ?
 
Gerlach76
Member Candidate
Member Candidate
Posts: 111
Joined: Fri Nov 03, 2006 3:24 pm

Wed Apr 04, 2007 2:35 pm

how can i enable web-proxy logs
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Apr 04, 2007 2:37 pm

'system logging add action=memory topics=web-proxy', then logs will be written to memory.
 
Gerlach76
Member Candidate
Member Candidate
Posts: 111
Joined: Fri Nov 03, 2006 3:24 pm

Wed Apr 04, 2007 2:38 pm

THX :D
 
Gerlach76
Member Candidate
Member Candidate
Posts: 111
Joined: Fri Nov 03, 2006 3:24 pm

Wed Apr 04, 2007 2:49 pm

but i can`t to see what webpages the users are visiting.

Why?

src-address: 0.0.0.0
port: 8000
hostname: "proxy"
transparent-proxy: no
parent-proxy: 0.0.0.0:0
cache-administrator: "webmaster"
max-object-size: 4096KiB
cache-drive: system
max-cache-size: 1048576KiB
max-ram-cache-size: unlimited
status: running
reserved-for-cache: 8192KiB
reserved-for-ram-cache: 29696KiB

Web-proxy is running?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Apr 04, 2007 2:51 pm

'log print' should contain information about pages users are visiting.
You can use syslog porgram to maintain RouterOS logs.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Wed Apr 04, 2007 2:53 pm

do your users have entered the proxy address in their browsers?
 
Gerlach76
Member Candidate
Member Candidate
Posts: 111
Joined: Fri Nov 03, 2006 3:24 pm

Wed Apr 04, 2007 3:00 pm

no
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Apr 04, 2007 3:17 pm

Then you have to use 'transparent-proxy' method, that redirects all HTTP requests from users to RotuerOS proxy, either proxy is not used by them.
Transparent proxy configuration example is described in the 'web-proxy' documentation.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Thu Apr 05, 2007 8:17 am

no
how do you expect to see user logs then? webproxy logs are shown only when your users USE THE WEBPROXY!
 
tiziano
just joined
Posts: 8
Joined: Thu Jun 08, 2006 8:01 pm

Wed Apr 11, 2007 10:29 am

but when in the browser I insert the address of the web proxy all is only worked. why? I must insert to all the users the web broxy in the browser?

Who is online

Users browsing this forum: nichky and 22 guests