amate / Proxydomo

ローカルで動作するプロクシフィルタリングソフトです
http://www31.atwiki.jp/lafe/pages/37.html
GNU General Public License v2.0
74 stars 12 forks source link

REDIR #23

Closed Stone-D closed 8 years ago

Stone-D commented 8 years ago

I run a school lab, and I have been using Proxomitron and now Proxydomo to censor and control usage. With http:// sites, I can redirect to a local htm page - however, I can't do it with https. The browser receives a zero byte 'download' and just stops. Not very elegant.

http://www.facebook.com/ redirects to http://local.ptron/Disabled.htm just fine. https://www.facebook.com/ does not.

Is it really not possible right now, or am I doing something wrong? If not possible, could you possibly fix it so I can use REDIR like this for https?

      <filter>
        <Active>true</Active>
        <title>Block 0 - Disable ALL (out)</title>
        <filterType>1</filterType>
        <headerName>URL</headerName>
        <multipleMatches>false</multipleMatches>
        <windowWidth>256</windowWidth>
        <boundsPattern/>
        <urlPattern>\0</urlPattern>
        <matchPattern>(http(s|)://)\1\2</matchPattern>
        <replacePattern>$RDIR(\1local.ptron/Disabled.htm)$LOG(R[HDR:URL] Block 0 - ALL)</replacePattern>
      </filter>
amate commented 8 years ago

v1.65 fixed

Stone-D commented 8 years ago

That was fast. It works perfectly now, many thanks!

Stone-D commented 8 years ago

Edited: Bad Report

Stone-D commented 8 years ago

Never mind, my bad. I apologize. The networked computer I had been using was corrupted and needs to be re-imaged. Now I just need to figure out how to stop youtube from re-using existing connections, but that's a filter problem. :)