Content Filtering
RouterOS Scripting and API

6 posts   •   Page 1 of 1
gaurakrsna
just joined
 
Posts: 24
Joined: Mon Feb 12, 2007 9:27 am

Content Filtering

by gaurakrsna » Wed Feb 18, 2009 7:59 am

hi, i wanted to know if it possible to filter the url's or websites based on content or keywords like XXX, porn etc with scripting
Thanks.

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

Re: Content Filtering

by sergejs » Wed Feb 18, 2009 1:26 pm

Yes, it is possible with proxy.
You can create rules /ip proxy access, regular expressions are supported too there,

Small hits in using regular expressions:

* \\ symbol sequence is used to enter \ character in console
* \. pattern means . only (in regular expressions single dot in pattern means any symbol)
* to show that no symbols are allowed before the given pattern, we use ^ symbol at the beginning of the pattern
* to specify that no symbols are allowed after the given pattern, we use $ symbol at the end of the pattern
* to enter [ or ] symbols, you should escape them with backslash \.

gaurakrsna
just joined
 
Posts: 24
Joined: Mon Feb 12, 2007 9:27 am

Re: Content Filtering

by gaurakrsna » Wed Feb 18, 2009 5:34 pm

i dont want to use the proxy. i wanted to filter using the firewall.

thanks

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

Re: Content Filtering

by sergejs » Fri Feb 20, 2009 12:14 pm

Firewall does not allow to filter by DNS names.

timteka
just joined
 
Posts: 3
Joined: Wed Dec 14, 2011 12:41 pm

Re: Content Filtering

by timteka » Mon Apr 07, 2014 9:50 am

sergejs wrote:Firewall does not allow to filter by DNS names.


Sergey, any plans on this topic?
I'd like to buy CCR1036-series device, but...all of a sudden it isn't capable of filtering by URL. IMHO hardware limitations couldn't be the obstacle to implement it. Or am I wrong? :-)

Tet
just joined
 
Posts: 18
Joined: Fri Jun 20, 2014 7:41 pm

Re: Content Filtering

by Tet » Fri Jun 27, 2014 12:05 pm

You may try L7 content filtering
http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/L7

If this feature really works (I don't try it), it was your solution for http (not for https)

6 posts   •   Page 1 of 1

Who is online

Users browsing this forum: firassadi and 9 guests

It is currently Fri Dec 19, 2014 9:11 pm