In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)05/31 Report--
How to carry out URL filtering, in view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
Url filtering
1 create a class-map (class map) to identify the transport traffic.
The network segment of the first intranet
Second, define regular expressions that determine the (domain name) keywords contained in url
Third, check whether the header of the IP message is http traffic.
2 create policy-map (policy map) and associate class-map
Or allow this link
Or discard this link
Policies are usually applied to inside (inbound) interfaces
Only one policy map can be applied to an interface
3 apply class-map to the interface.
-
/ / define ACL access control list aclfile//
Access-list aclfile extended permit tcp 192.168.100.0 255.255.255.0 any eq www
Establish a class map aclclass
Class-map aclclass
Match access-list aclfile / / match access control list / /
/ / define a regular expression that specifies that you need to filter websites that are not allowed to visit / /
Regex url "\ .accp\ .com" / / * be careful not to write the slash backwards * / /
Establish a class map urlclass
Class-map type regex match-any urlclass
Match regex url / / call matching regular expression / /
Httpclass / / establish a class map for checking traffic / /
Class-map type inspect http httpclass
Match request header host regex class urlclass / / calls the previously configured urlclass1//
-
Policy-map type inspect http httppolicy / / establish policy mapping / /
Class httpclass / / call to check the class mapping of the http header / /
Drop-connection log / / discard and log / /
Policy-map insidepolicy / / A pair of access control lists are operated to define the corresponding policies / /
Class aclclass / / call the class mapping of the access control list / /
Inspect http httppolicy / / check the defined policy map / /
Service-policy insidepolicy interface inside / / apply on the port / /
This is the end of the answer to the question on how to filter URL. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.