Community discussions

MikroTik App
 
MrIC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Tue Jan 13, 2009 11:34 pm

how to make max-object-size on web-proxy mikrotik ver3.xx ?

Wed Apr 08, 2009 3:35 pm

hello there ..
i want to To disallow download of .EXE and .MSI ..etc
and also i want to make max-object-size .

i can do it in old mikrotik ver 2.xx
but i didn't find how to do it in mikrotik ver 3.xx

so can someone tell me how to do it on ver 3.xx ?

thanks .
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26940
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: how to make max-object-size on web-proxy mikrotik ver3.xx ?

Wed Apr 08, 2009 3:40 pm

 
MrIC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Tue Jan 13, 2009 11:34 pm

Re: how to make max-object-size on web-proxy mikrotik ver3.xx ?

Thu Apr 09, 2009 1:00 am

i'm talking about not caching . this way will stop download files .exe , .msi ..etc

i need the way to stop this files from caching . and how to make max size of cached files .
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26940
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: how to make max-object-size on web-proxy mikrotik ver3.xx ?

Thu Apr 09, 2009 9:40 am

you want to disallow caching of specific file types? it's done in the "/ip proxy cache" menu:
Cache Management
Submenu level: /ip proxy cache
Description

Cache access list specifies, which requests (domains, servers, pages) have to be cached locally by web proxy, and which not. This list is implemented exactly the same way as web proxy access list. Default action is to cache object (if no matching rule is found).
Property Description
action (allow | deny; default: allow) - specifies the action to perform on matched packets
allow - cache objects from matched request
deny - do not cache objects from matched request

dst-address (IP address/netmask) - destination address of the IP packet

dst-port (port{1,10}) - a list or range of ports the packet is destined to

local-port (port) - specifies the port of the web proxy via which the packet was received. This value should match one of the ports web proxy is listening on.

method (any | connect | delete | get | head | options | post | put | trace) - HTTP method used in the request (see HTTP Methods section in the end of this document)

path (wildcard) - name of the requested page within the target server (i.e. the name of a particular web page or document without the name of the server it resides on)

path (wildcard) - name of the requested page within the target server (i.e. the name of a particular web page or document without the name of the server it resides on)

src-address (IP address/netmask) - source address of the IP packet

 
tiuman
just joined
Posts: 11
Joined: Sat Sep 19, 2009 10:50 am

Re: how to make max-object-size on web-proxy mikrotik ver3.x

Wed Jul 06, 2011 8:55 pm

you want to disallow caching of specific file types? it's done in the "/ip proxy cache" menu:
Cache Management
Submenu level: /ip proxy cache
Description

Cache access list specifies, which requests (domains, servers, pages) have to be cached locally by web proxy, and which not. This list is implemented exactly the same way as web proxy access list. Default action is to cache object (if no matching rule is found).
Property Description
action (allow | deny; default: allow) - specifies the action to perform on matched packets
allow - cache objects from matched request
deny - do not cache objects from matched request

dst-address (IP address/netmask) - destination address of the IP packet

dst-port (port{1,10}) - a list or range of ports the packet is destined to

local-port (port) - specifies the port of the web proxy via which the packet was received. This value should match one of the ports web proxy is listening on.

method (any | connect | delete | get | head | options | post | put | trace) - HTTP method used in the request (see HTTP Methods section in the end of this document)

path (wildcard) - name of the requested page within the target server (i.e. the name of a particular web page or document without the name of the server it resides on)

path (wildcard) - name of the requested page within the target server (i.e. the name of a particular web page or document without the name of the server it resides on)

src-address (IP address/netmask) - source address of the IP packet

but there is nothing about max-object-size!
how to explain why there is this option?