<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Blocking .torrent files with Regex in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/blocking-torrent-files-with-regex/m-p/1317033#M68259</link>
    <description>&lt;P&gt;I am trying to block users from downloading .torrent files as another way of limiting the amount of BT traffic I am seeing on the network. I can't seem to get it to stop the files from being downloaded though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the current configs I am using.&lt;/P&gt;&lt;P&gt;**************&lt;/P&gt;&lt;P&gt;show run policy&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;policy-map type inspect http http_inspection_policy&lt;/P&gt;&lt;P&gt; parameters&lt;/P&gt;&lt;P&gt; class BlockDomainsClass&lt;/P&gt;&lt;P&gt;  reset log&lt;/P&gt;&lt;P&gt; match request uri regex class URLBlockList&lt;/P&gt;&lt;P&gt;  reset log&lt;/P&gt;&lt;P&gt;policy-map global_policy&lt;/P&gt;&lt;P&gt;policy-map inside-policy&lt;/P&gt;&lt;P&gt; class httptraffic&lt;/P&gt;&lt;P&gt;  inspect http http_inspection_policy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sho run class-map&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;class-map type regex match-any URLBlockList&lt;/P&gt;&lt;P&gt; match regex urllist1&lt;/P&gt;&lt;P&gt;class-map type regex match-any DomainBlockList&lt;/P&gt;&lt;P&gt; match regex domainlist1&lt;/P&gt;&lt;P&gt; match regex domainlist2&lt;/P&gt;&lt;P&gt; match regex domainlist3&lt;/P&gt;&lt;P&gt; match regex torrent&lt;/P&gt;&lt;P&gt;class-map type inspect http match-all BlockDomainsClass&lt;/P&gt;&lt;P&gt; match request header host regex class DomainBlockList&lt;/P&gt;&lt;P&gt;class-map httptraffic&lt;/P&gt;&lt;P&gt; match access-list inside_mpc&lt;/P&gt;&lt;P&gt;class-map type inspect http match-all BlockURLsClass&lt;/P&gt;&lt;P&gt; match request uri regex class URLBlockList&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sho run regex&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;regex urllist1 ".*\.([Tt][Oo][Rr][Rr][Ee][Nn][Tt]) HTTP/1.[01]"&lt;/P&gt;&lt;P&gt;regex domainlist1 "(h33t|btbot|meganova|fulldls|bitsoup|fenopy|isohunt|mininova|gpirate|monova)\.(org|com|net)"&lt;/P&gt;&lt;P&gt;regex domainlist2 "(zoozle|vertor|thunderbytes|demonoid|thepiratebay|flixflux|entertane)\.(org|com|net)"&lt;/P&gt;&lt;P&gt;regex domainlist3 "(btjunkie|piratic|piratenova|empornium|filemp3|topmango)\.(us|org|com|net)"&lt;/P&gt;&lt;P&gt;regex torrent "torrent"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sho run service-policy&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;service-policy global_policy global&lt;/P&gt;&lt;P&gt;service-policy inside-policy interface PRIVATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list inside_mpc extended permit tcp any any eq www&lt;/P&gt;&lt;P&gt;access-list inside_mpc extended permit tcp any any eq 8080&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2019 11:49:43 GMT</pubDate>
    <dc:creator>Cory Peterson</dc:creator>
    <dc:date>2019-03-10T11:49:43Z</dc:date>
    <item>
      <title>Blocking .torrent files with Regex</title>
      <link>https://community.cisco.com/t5/network-security/blocking-torrent-files-with-regex/m-p/1317033#M68259</link>
      <description>&lt;P&gt;I am trying to block users from downloading .torrent files as another way of limiting the amount of BT traffic I am seeing on the network. I can't seem to get it to stop the files from being downloaded though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the current configs I am using.&lt;/P&gt;&lt;P&gt;**************&lt;/P&gt;&lt;P&gt;show run policy&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;policy-map type inspect http http_inspection_policy&lt;/P&gt;&lt;P&gt; parameters&lt;/P&gt;&lt;P&gt; class BlockDomainsClass&lt;/P&gt;&lt;P&gt;  reset log&lt;/P&gt;&lt;P&gt; match request uri regex class URLBlockList&lt;/P&gt;&lt;P&gt;  reset log&lt;/P&gt;&lt;P&gt;policy-map global_policy&lt;/P&gt;&lt;P&gt;policy-map inside-policy&lt;/P&gt;&lt;P&gt; class httptraffic&lt;/P&gt;&lt;P&gt;  inspect http http_inspection_policy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sho run class-map&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;class-map type regex match-any URLBlockList&lt;/P&gt;&lt;P&gt; match regex urllist1&lt;/P&gt;&lt;P&gt;class-map type regex match-any DomainBlockList&lt;/P&gt;&lt;P&gt; match regex domainlist1&lt;/P&gt;&lt;P&gt; match regex domainlist2&lt;/P&gt;&lt;P&gt; match regex domainlist3&lt;/P&gt;&lt;P&gt; match regex torrent&lt;/P&gt;&lt;P&gt;class-map type inspect http match-all BlockDomainsClass&lt;/P&gt;&lt;P&gt; match request header host regex class DomainBlockList&lt;/P&gt;&lt;P&gt;class-map httptraffic&lt;/P&gt;&lt;P&gt; match access-list inside_mpc&lt;/P&gt;&lt;P&gt;class-map type inspect http match-all BlockURLsClass&lt;/P&gt;&lt;P&gt; match request uri regex class URLBlockList&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sho run regex&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;regex urllist1 ".*\.([Tt][Oo][Rr][Rr][Ee][Nn][Tt]) HTTP/1.[01]"&lt;/P&gt;&lt;P&gt;regex domainlist1 "(h33t|btbot|meganova|fulldls|bitsoup|fenopy|isohunt|mininova|gpirate|monova)\.(org|com|net)"&lt;/P&gt;&lt;P&gt;regex domainlist2 "(zoozle|vertor|thunderbytes|demonoid|thepiratebay|flixflux|entertane)\.(org|com|net)"&lt;/P&gt;&lt;P&gt;regex domainlist3 "(btjunkie|piratic|piratenova|empornium|filemp3|topmango)\.(us|org|com|net)"&lt;/P&gt;&lt;P&gt;regex torrent "torrent"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sho run service-policy&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;service-policy global_policy global&lt;/P&gt;&lt;P&gt;service-policy inside-policy interface PRIVATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list inside_mpc extended permit tcp any any eq www&lt;/P&gt;&lt;P&gt;access-list inside_mpc extended permit tcp any any eq 8080&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 11:49:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/blocking-torrent-files-with-regex/m-p/1317033#M68259</guid>
      <dc:creator>Cory Peterson</dc:creator>
      <dc:date>2019-03-10T11:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking .torrent files with Regex</title>
      <link>https://community.cisco.com/t5/network-security/blocking-torrent-files-with-regex/m-p/1317034#M68261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.nortfm.com/?View=entry&amp;amp;EntryID=44"&gt;http://www.nortfm.com/?View=entry&amp;amp;EntryID=44&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 18:39:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/blocking-torrent-files-with-regex/m-p/1317034#M68261</guid>
      <dc:creator>Mike Wise</dc:creator>
      <dc:date>2009-11-30T18:39:06Z</dc:date>
    </item>
  </channel>
</rss>

