I'm trying to set up an ad blackhole proxy in OS X. I set up iCab to
use an proxy auto config file (no-ads.pac) I got from
<http://www.schooner.com/~loverso/no-ads/>
It includes the following instructions to set up a script to send an
appropriate reject messsage:
>// b. A simple, blackhole server
>//
>// When needed, I run a simple "server" at port 3421 that denies
>// all requests. I include the shell script I use; this could
>// also be done with a "wait"-style perl script that did the same
>// thing, if exec'ing a shell was overly expensive on your computer
>// (it isn't on mine).
>//
>// Add this to inetd.conf:
>//
>// 3421 stream tcp nowait nobody /usr/local/lib/noproxy noproxy
>//
>// Create /usr/local/lib/noproxy as this shell script:
>//
>// #!/bin/sh
>// read a
>// read b
>// echo HTTP/1.0 501 No Ads Accepted
>// echo ""
>// exit
>//
I can execute the shell script in terminal, but it doesn't execute
when I try to telnet to port 3421. Is OS X configured in a different
manner?
-David
--
MaX-list is sponsored by <http://lowendmac.com/> and...
/ Buy books, CDs, videos, and more from Amazon.com \
/ <http://www.amazon.com/exec/obidos/redirect-home/lowendmac> \
Support Low End Mac <http://lowendmac.com/lists/support.html>
MaX-list info: <http://lowendmac.com/linux/max.shtml>
--> AOL users, remove "mailto:"
Send list messages to: <mailto:[EMAIL PROTECTED]>
To unsubscribe, email: <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/max-list%40mail.maclaunch.com/>
Using a Mac? Free email & more at Applelinks! http://www.applelinks.com