Friday, September 19, 2008

After Ike...

Well I'm back home, the servers are okay, me and my family made it through just fine. No damage to our place whatsoever. It took about a week for power to get back, we had running water which was good, but the heat made it almost impossible for people to sleep.

Electricity came back last night, we were all jumping for joy, finally I can get a hot shower! After that I began setting up the servers again, unluckily I guess our cable got knocked off or something, we got no TV and no Internet.

Already called Comcast, I don't know how long it will take for them to get our services back up and running again.

Some damage we saw coming back home...
Free Image Hosting at www.ImageShack.us

QuickPost Quickpost this image to Myspace, Digg, Facebook, and others!

We got some MRE's from FEMA pods, they were okay but taste bland or too salty sometimes, the first one we tried was mexican corns and beans!
Free Image Hosting at www.ImageShack.us

QuickPost Quickpost this image to Myspace, Digg, Facebook, and others!

Friday, September 12, 2008

Leaving Houston now...

Server will be offline until this bad weather has passed... please stand by!!! And hope that the server stays dry!

I made backups of the database and all server files, saved them on my dropbox and I'm hoping nothing gets damage at home.

Thursday, September 11, 2008

Hurricane Ike

http://www.click2houston.com/hurricanetracker/index.html

SG will most likely be down during the storm, I just hope the server stays dry.

Wednesday, September 3, 2008

Tuesday, September 2, 2008

Google Chrome

So Google Chrome is out! It is no doubt fast, hopefully it will be compatible with Firefox plugins soon. Can't wait to run adblock on it and web developer extension. So far only the Windows version is available, hopefully they will release one for Ubuntu, but until I get adblock its probably just gonna sit on my desktop gathering digital dust.



SG is being hijacked!

No-ip.com says I violated their Terms of Service, but they did not say what or which part of their service, nor did I get a warning after using their service for so many years!!!

WTF, I signed up for a different account but they won't let me use sitegeisha.no-ip.org anymore!

damn this sucks... anyone care to donate a domain name?

Tuesday, August 12, 2008

Network-wide Adblock on Ubuntu + OpenDNS adblocking

Based on the article found here: http://notes.ozmonet.com/index.php?title=Network-Wide_Adblock

This method will work for both Internet Explorer and Google Chrome.
You must have lighttpd or apache installed to serve up replacement images or pages.

Install squid: sudo apt-get install squid

Configure: /etc/squid/squid.conf

http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
access_log /var/log/squid/access.log squid
log_ip_on_direct off
url_rewrite_children 5
url_rewrite_concurrency 0
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl our_networks src 192.168.219.0/24
cache deny all
http_access allow our_networks
http_reply_access allow all
icp_access allow all
visible_hostname SERVERNAME
coredump_dir /var/spool/squid
Install squidguard: sudo apt-get install squidguard

Download and configure adblock for use with squidguard

wget http://easylist.adblockplus.org/adblock_rick752.txt
create a sefile with this inside it:

/@@.*/d;
/^!.*/d;
/^\[.*\]$/d;
s#http://##g;
s,[.?=&/|],\\&,g;
s#*#.*#g;
s,\$.*$,, g;

Create the expression list: cat adblock_rick752.txt | sed -f sedfile > expressions

In your squidguard folder /var/lib/squidguard/db, create a folder for adblock and copy the expressions file inside it.

sudo chmod proxy.proxy -R adblock

Edit your /etc/squid/squid.conf, add this at the end
redirect_program /usr/bin/squidGuard -d -c /etc/squid/squidGuard.conf

Edit your /etc/squid/squidGuard.conf file
dbhome /var/lib/squidguard/db
logdir /var/log/squid

src my_network {
ip 192.168.219.0/24
}

dest adblock {
expressionlist adblock/expressions
redirect http://localhost/lol.jpg
}
acl {
my_network {
pass !adblock any
}
default {
pass none
redirect http://localhost/lol.jpg
}
}
Restart Squid and then configure your browsers to use the ip address of the server running squid, mine was http://192.168.219.111:3128, fire up your browser and surf ad riddled sites to test it.

Sign-up for OpenDNS, not only do they provide you with speedy DNS queries they also feature ad blocking. The good thing about OpenDNS is that you only have to configure your router and it enables all the features on every computer on your network.

Their DNS servers are down below:
208.67.222.222
208.67.220.220

If you need help configuring your computer or router please check their site.
https://www.opendns.com/homenetwork/start/

Once you are done setting up your router login to their dashboard and go to settings \ Content Filtering. I enabled filtering for adware, parked domains and phishing.

Well that about covers it, enjoy add free surfing!