Friday, April 26, 2013

HTTP proxy wrapper on top of SOCKS proxy

There are situations where some application can interact or work only with http proxy but in corporate world you might need to use socks proxy to work with VPN set up.

To work around with, I found a good proxy client which will act as http proxy for socks dynamic port forwards.

To be simple

If you want to redirect all your http proxy traffic through your socks proxy, you can use privoxy (Can be installed with command like yum install privoxy)

privoxy looks into a file called config in the current directory to know where the socks proxy set it up.

General config will be something like this if you open dynamic port using command (ssh -D *:15998 corporateMachine@corporateNetwork.com)


             forward-socks5 / localhost:15998 .               

Now just issue command like below to run privoxy in background

Thats all, any http proxy call would redirect through the above socks proxy

For example, if you want your wget to go through socks proxy then just run below in your terminal and then issue wget


        export http_proxy='http://localhost:8118'           

Here you can not use any other port than 8118 :)




Friday, April 12, 2013

UML Links for Beginners

Ref: http://java.dzone.com/articles/uml-linksheet



 UML
UML Profiles
UML 2.5

Web Site Admin use Case