News for hackers. Stuff that matters.
Re:Ask HN: How do you secure yourself on public WiFi? by w1ntermute on Monday October 25, 2010 @10:59AM (#1830062)
Is there any way to do this at the network device level (on Linux) so that individual applications don't have to be configured to use the proxy? That's the main source of my reluctance to do this.
Re:Ask HN: How do you secure yourself on public WiFi? by surki on Monday October 25, 2010 @02:00PM (#1830824)
You probably want to use tsocks. It LD_PRELOADs the socket related functions and does the necessary work.

http://tsocks.sourceforge.net/faq.php

Re:Ask HN: How do you secure yourself on public WiFi? by ax0n on Monday October 25, 2010 @11:17AM (#1830146)
In Linux, most applications respect the http_proxy environment variable. It's the closest thing Linux has to a system-wide proxy setting as found in the more mainstream platforms.
Re:Ask HN: How do you secure yourself on public WiFi? by w1ntermute on Monday October 25, 2010 @12:18PM (#1830396)
This is actually how I use Chromium with a proxy right now, but it requires that I launch it from the command line and manually specify the http_proxy (and https_proxy) variables (/usr/bin/env http_proxy="http://127.0.0.1:8080 https_proxy="https://127.0.0.1:8080 /usr/bin/chromium). I suppose I could set up some kind of script to launch Chromium (and all other applications) that would check if I'm on my home network and launch all apps with that variable if not, but that seems like a really ugly hack.
Re:Ask HN: How do you secure yourself on public WiFi? by dan_netwalker on Monday October 25, 2010 @01:57PM (#1830812)
In case this gives you an idea: in my linux laptop I just have two different users in the laptop, one that is configured to use a local tor proxy and another "non protected". Depending of if I'm out in the open or at home I use one of another. When I need some data from my protected user when in "unprotected mode" I sftp:// myself, but usually I do it the other way (unprotected data from protected mode). Much simpler, I think...
Re:Ask HN: How do you secure yourself on public WiFi? by mukyu on Tuesday October 26, 2010 @12:38PM (#1834889)
chromium --proxy-server=socks5://127.0.0.1:8080 is what I use, but chromium can also use your desktop environment's settings. On my laptop it allows me to make different proxy settings an define 'locations' that are easy to switch between.
Re:Ask HN: How do you secure yourself on public WiFi? by ax0n on Monday October 25, 2010 @01:52PM (#1830789)
Executed properly, it might be an awesome hack!
Re:Ask HN: How do you secure yourself on public WiFi? by mukyu on Monday October 25, 2010 @11:37AM (#1830230)
Re:Ask HN: How do you secure yourself on public WiFi? by w1ntermute on Monday October 25, 2010 @12:20PM (#1830408)
That seems like a lot of work. Not that I'm opposed to doing it if necessary, but an automated solution (even if it were graphical) would be wonderful. In fact, it would be great if Wicd could somehow handle all this.
Re:Ask HN: How do you secure yourself on public WiFi? by StavrosK on Monday October 25, 2010 @02:24PM (#1830915)
There doesn't appear to be a network-manager SSH VPN plugin, which is a shame. I would love to be able to easily create a VPN with any of my servers...