Wednesday, January 9, 2013

Creating a ffp (fonz fun plug) package for proxychains to run on the dns-323

I wanted to run an application on my dns-323 via a proxy server, specifically a SOCKS5 proxy server.  I couldn't find anyone that had build proxychains so here it is.  These instructions are for ffp 0.5.

Links:

ffp:  information about using ffp with a dlink dns-323

Using the method described in the second link above did NOT work for me.  There was an issue at the final stage, during make install where make was attempting to install proxychains.conf to a location that didn't exist.  And while I was able to manually tweak it to build correctly, that just won't work when adding to the build env because it will download the package each time.  So, instead I will create the package manually.

We need to install the following packages:
  • make
  • gcc
  • distcc
  • libtool
  • binutils
  • kernel-headers
  • automake
  • autoconf
  • patch
Each of these can be downloaded from the link listed above for packages using wget (wget ).  Then, they are installed using funpkg -i

Download proxychains, extract the contents and build:

cd /tmp
wget http://downloads.sourceforge.net/project/proxychains/proxychains/version%203.1/proxychains-3.1.tar.gz
tar xvzf proxychains-3.1.tar.gz
cd proxychains-2.1
mkdir ffp
./configure --enable-static=no --prefix=/tmp/proxychains-3.1/ffp
make
make install
tar cvzf proxychains-3.1.tgz ffp

Now we can test installing the package:

funpkg -i proxychains-3.1.tgz

No comments: