!There are a lot of application such as application/pdf blah blah blah.the * is a wildcard that matches all.Īctually you do not need to create a class-map for this, but using nested class-maps make your configuration more scalable (I say nested because this class-map will be used again within another class-map), next time if you need to add more extensions simply create another regex and match it within block-ext class-maps and your changes would take effect immediately with your new sets of extensions.Ĭlass-map type inspect http match-all app-header-class Regex ext-type1 ".*\.(|||)"Ĭreate regex that matches http headers with content-type application/(everything) I use regular expression to group the file type exe, zip, tar, pdf, as long as in the url it contains this extension no matter which website the connection will be reset.Ĭreate regex by searching for extension that ends with the ones stated above Anyway.here's my configuration which is not perfect but should work.įirst if you have no idea how to start read my blog: to get your internet running first. No one is an expert in using a product the first time, instead of asking for answers research it yourself first then post a question when you encounter problem in this way you will learn faster and remember quicker. This is my first time doing this (url filtering and attempt to block user from downloading) for learning sake and for my future work with firewalls.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |