K9 - like program that obstructs internet sites?
It is not Ubuntu details, yet an additional alternative is establishing your DNS web server to OpenDNS with setups to obstruct unacceptable websites. See this guide via Wayback Machine.
Statements : Original link is no more obtainable. Also the archived overview is obsolete ; OpenDNS setups have actually given that transformed absolutely free use, according to this page.