Post Reply 
Block domain/subdomain? (using Sidki Jan 08)
Jul. 31, 2008, 10:40 AM
Post: #1
Block domain/subdomain? (using Sidki Jan 08)
Hello again,

Is it possible (and then how) to block connection to a specific domain or subdomain using Prox?
I'm aware of the URL Killfile.txt which I think is activated under Header Filters as URL: Block Ad URLs ?
However I don't seem to be achieving blocking as I would expect by trying to use it. I don't know if I am using incorrect syntax, or entering things in the wrong part of the file, or maybe some other lists are counter-acting it.

Thanks for any help.
I might then come back with a specific example / variation of this.

Lee
Add Thank You Quote this message in a reply
Jul. 31, 2008, 05:53 PM
Post: #2
RE: Block domain/subdomain? (using Sidki Jan 08)
sidki's config comes with this:
Code:
In = FALSE
Out = TRUE
Key = "!-|||||||||||| URL: Block sel. SSL Connects     5.03.03 [u] (d.2) (Out)"
URL = "(^$KEYCHK(^A))$TST(uProt=https:)$TST(keyword=*.b_ssl.*)"
Match = "($TST(volat=*.log:2*)$ADDLST(Log-Main,[$DTM(d T)]\tHDR_Out URL-Kill_SSL\t\u)|)"
Replace = "Killed\k$LOG(RGET $DTM(c) : Connection killed: SSL URL: \u)"

i use the above *and*
Code:
In = FALSE
Out = TRUE
Key = "!-|||||||||||| URL: Block sel. URL Connects (Out) [add]"
URL = "(^$KEYCHK(^A))$TST(uProt=http:)$TST(keyword=*.b_url.*)"
Match = "($TST(volat=*.log:2.*)$ADDLST(Log-Main,[$DTM(d T)]\tHDR_Out URL-Kill_URL\t\u)|)"
Replace = "Killed\k"


where then my IncExc-U file contains, for example,
Code:
## block URL connects                $SET(0=b_url.)
## ----------------------------------------------------------------------------

www.comcast.net/c/                    $SET(0=b_url.)
$URL(http://www.cinergypsi.com)                $SET(0=b_url.)
update.maxthon.com/client/m2/newversion/        $SET(0=b_url.)
update.fenrir.co.jp/smartupdate/portable_sleipnir/    $SET(0=b_url.)

ie, i use it to BLOCK web browsers from "phoning home" for UPDATES *even though* i have them set up to NOT "look for updates" (why does the browser have a set-up option to NOT automatically update but yet the browser "phones home" anyway? <end rant>, lol)...


any-who, that ought to get you there in regards to blocking domain/subdomain...
Add Thank You Quote this message in a reply
Jul. 31, 2008, 07:17 PM
Post: #3
RE: Block domain/subdomain? (using Sidki Jan 08)
Hello ProxRocks and thanks.

I think I understand that ...

Is your second shown filter one that you have made? (I think it is)
Have you added it anywhere specific in terms of order under Headers Filters?
(Maybe directly beneath the existing Block Selected SSL Connects filter?)

If I've grasped the above correctly, I can then play around with the Include/Exclude U ptxt file as you've demonstrated.

Thanks again,
Lee
Add Thank You Quote this message in a reply
Jul. 31, 2008, 11:22 PM
Post: #4
RE: Block domain/subdomain? (using Sidki Jan 08)
correct, it's my own filter (using sidki's SSL version as a guide)...
and yep, i have it placed directly beneath the SSL version...
Add Thank You Quote this message in a reply
Aug. 01, 2008, 02:09 AM
Post: #5
RE: Block domain/subdomain? (using Sidki Jan 08)
Great, thanks again.

Lee
Add Thank You Quote this message in a reply
Aug. 01, 2008, 05:38 AM
Post: #6
RE: Block domain/subdomain? (using Sidki Jan 08)
I am using the URL-Killer: Kill-a-URL filter from Scott's original default.cfg file to block sites with which I want no connections. I wrote my own block file for it and it works very well.
Add Thank You Quote this message in a reply
Aug. 01, 2008, 06:05 PM
Post: #7
RE: Block domain/subdomain? (using Sidki Jan 08)
Thanks;
I'll give that a go too.

Lee
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: