Community discussions

MikroTik App
 
ibliz
newbie
Topic Author
Posts: 27
Joined: Mon May 29, 2006 2:30 pm

using wildcard for input parameter to the "find" c

Sun Apr 08, 2007 6:16 pm

Hi,

Is it possible to use wildcard character for the input parameter to the "find" command?

I have several ip blocks which have http access restriction in the web-proxy access list (such as 192.168.2.38/31, 192.168.2.112/30 etc). I would like to disable the restrictions on certain time of days. To make things easier I would like to employ a single script such as these :

/ip web-proxy access disable [/ip web-proxy access find src-address=192.168.5.*]

assuming the asterisk is the wildcard character.
I know this can be done by tagging the items in access lists with the same comment, but Iam using the comment field for something else.

Please help
 
gacopl
Frequent Visitor
Frequent Visitor
Posts: 63
Joined: Sun Jul 29, 2007 5:11 pm
Location: Poland

Re: using wildcard for input parameter to the "find" c

Tue Apr 01, 2008 12:29 am

maybe this is somehow possible in v3?
anyone knows?

cheers michal
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7187
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: using wildcard for input parameter to the "find" c

Tue Apr 01, 2008 9:55 am

Currently it is not possible even in v3.x
 
User avatar
airstream
Member Candidate
Member Candidate
Posts: 188
Joined: Fri Feb 03, 2006 6:33 am
Location: New Zealand

Re: using wildcard for input parameter to the "find" c

Tue Apr 01, 2008 10:30 am

How about
/ip web-proxy access disable [/ip web-proxy access find src-address=192.168.5.0/24] 
as in specify the IP Block "192.168.5.0/24"

Who is online

Users browsing this forum: ohilton576 and 3 guests