Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes. As the hosts file redirects to localhosts, you can run a local server, displaying a notification. As root:

    while true; do printf "blocked by hosts file" |nc -q 1 -l -p 80; done


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: