Added native socks support to libc in FreeBSD 7

Raffaele De Lorenzo raffaele.delorenzo at libero.it
Mon Jan 14 07:07:27 PST 2008


Upgrade:

	1) Added IPv6 Support (need to be tested)

Cheers

Raffaele



Hi,
i added a native (client) Socks V4/V5 support inside FreeBSD libc
library. The work is based of my  project (see
http://csocks.altervista.org) CSOCKS.
You can get it here:

http://csocks.altervista.org/download/FreeBSD_libc.tar.gz

CHANGES:

I changed the file:

        /usr/src/lib/libc/Makefile

I added the Directory:

        /usr/src/lib/libc/socks

They contains the files:

        csocks.c
        csocks.h
        csocks.conf.5
        csocks.1
        Makefile.inc

I added the configuration file (csocks.conf in the /etc/ directory)

        /usr/src/etc/

INSTALL ISTRUCTIONS:

copy the Makefile in /usr/src/lib/libc/
copy the directory socks in /usr/src/lib/libc/
touch /etc/csocks.conf
recompile the libc and install it (cd /usr/src/lib/libc && make && make
install)



I Tested it in FreeBSD 7 only on i386

cheers

Raffaele



More information about the freebsd-hackers mailing list