Jump to content
RESET Forums (homeservershow.com)
oj88

AdTrap - the internet is yours again

Recommended Posts

Drashna Jaelre

pfSense website does have a guide or three:

https://doc.pfsense.org/index.php/Setup_Snort_Package

 

But yeah, I find that most open source stuff has little to no documentation. And can be written in a way that is VERY confusing (almost intentionally seeming). And their respective communities tend to be hostile towards "newbs"... :(

Share this post


Link to post
Share on other sites
oj88

After a couple of weeks trying to assimilate myself with pfSense on a sandboxed environment, I finally gathered up the courage to build an appliance using an Intel Atom board. This will eventually replace the Cisco router/firewall I have running for several years.

 

The pfSense box is essentially setup with Squid3 in Transparent Proxy and SquidGuard3 as the content filter. The appliance is connected behind the Cisco router (for now) so I can still do the tweaks behind a test network without disturbing family members' access to the internet. When I'm done, it's just a matter of simple network re-patching and LAN+DHCP address change on  pfSense.

 

The mini-ITX case and an Intel D2500HN board + extra Intel PCI NIC,

1403138_10152351401777926_1464406201_o_z

 

Almost fully-assembled save for the hard disk. I eventually found an old 40GB in my junk pile that seemed to work well.

1425281_10152351401712926_1303496999_o_z

 

Now in its own little nook in my datacenter-cupboard. It will soon replace the Cisco above it.

913962_10152354527102926_1953392760_o_zp

 

Testing out the ad-blocking capabilities. Below are the before and after screen grabs off the Mercury News website. In both grabs, I have Ad-Block Plus disabled in Firefox.

 

BEFORE:

MercuryNews_zpsfe5974d5.png

 

AFTER:

MercuryNewsNoAds_zpsd9632f77.png

Edited by oj88

Share this post


Link to post
Share on other sites
jmwills

Impressive.

Share this post


Link to post
Share on other sites
Jason

Wow. I have pfblocker enabled and every ad on that page shows up. Am running squid not the squid3 beta.

Share this post


Link to post
Share on other sites
Drashna Jaelre

oj88,

What lists are you using in pfBlocker to block the lists? 

Or is this done with squid?

Share this post


Link to post
Share on other sites
oj88

All my attempts at blocking ads and child-unfriendly sites has been a failure with pfBlocker. I'm likely more to blame though, I suppose, by not doing it right. But I believe in results, and so far, Squid3+SquidGuard3 has provided me the kind of content filtering that I need.

 

For the ads, I'm using a list from this site: http://pgl.yoyo.org/as/ plus a few custom ad domains I've added on my own.

Share this post


Link to post
Share on other sites
ikon

But what if I really want to buy a coat? :D

 

Seriously, nice filtering.

Share this post


Link to post
Share on other sites
Jason

Squid3 is still beta. Any reason you've used it over the stable squid release?

Share this post


Link to post
Share on other sites
oj88

I may be reading it wrong but, according to this site: http://www.squid-cache.org/Versions/, Squid 3.1.20 (the version of Squid installed on mine) doesn't indicate it as a beta. If any, it is an older release.

 

The current stable release is Squid 3.3, while Squid 3.4 is currently the 'new' beta.

 

Do correct me if I'm wrong. FreeBSD, Linux, and the universe outside of Microsoft is alien to me. I just recently started to get my feet wet so go easy. ;)

Share this post


Link to post
Share on other sites
Jason

I may check out squid3 in my home environment. As for pfblocker, I've recently enabled it and not noticed any reduction in ads like what you've demonstrated. It does accumulate a count of packets "blocked" but otherwise not sure how effective it is...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...