Posts

Showing posts from September, 2014

Secure browser-to-proxy communication - again

Image
I've previously blogged about a secure connection between browser and proxy . Unfortunately that doesn't work on Android yet, since except if you use Google for Work (an enterprise offering) you can't set Proxy Auto-Config. This post shows you how to get that working for Android. Also it skips the stunnel hop since it doesn't add value and only makes Squid not know your real address. I'm here also using username and password to authenticate to the proxy instead of client certificates, to make it easier to set up. Hopefully this feature will be added to Chrome for Android soon ( bug here ) but until then you'll have to use the Android app Drony . First, why you would want to do this You have machines behind NAT, and a proxy that can see the inside while still accessible form the outside This way you can port forward one port from the NAT box to the proxy, and not have to use different ports everywhere. ...

Colour calibration in Linux

This is just a quick note on how to create .icc colour profiles in Linux. You need a colour calibrator (piece of hardware) for this to be useful to you. #!/bin/sh NAME=$1 COLOR=$2 DESC="Some random machine" QUALITY=h # or l for low, m for medium set -e dispcal -m -H -q $QUALITY -y l -F -t $COLOR -g 2.2 $NAME targen -v -d 3 -G -e 4 -s 5 -g 17 -f 64 $NAME dispread -v -H -N -y l -F -k $NAME.cal $NAME colprof -v -D $DESC -q m -a G -Z p -n c $NAME dispwin -I $NAME.icc