forked from Lainports/freebsd-ports
This program forces any tcp connection made by any given tcp client to follow through proxy (or proxy chain). It is a kind of proxifier. It acts like sockscap / permeo / eborder driver (intercepts TCP calls). PR: ports/53318 Submitted by: Patrick MARIE <mycroft@virgaria.org>
22 lines
821 B
C
22 lines
821 B
C
--- proxychains/libproxychains.c.orig Wed Jun 4 11:11:03 2003
|
|
+++ proxychains/libproxychains.c Sat Jun 14 15:17:55 2003
|
|
@@ -14,6 +14,10 @@
|
|
* (at your option) any later version. *
|
|
* *
|
|
***************************************************************************/
|
|
+#ifdef HAVE_CONFIG_H
|
|
+#include <config.h>
|
|
+#endif
|
|
+
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
@@ -72,7 +76,7 @@
|
|
|
|
if(!(file=fopen("./proxychains.conf","r")))
|
|
if(!(file=fopen(buff,"r")))
|
|
- if(!(file=fopen("/etc/proxychains.conf","r")))
|
|
+ if(!(file=fopen(PREFIX "/etc/proxychains.conf","r")))
|
|
{
|
|
perror("1");
|
|
exit(1);
|