219 Commits

Author SHA1 Message Date
Adam Hamsik
1f04b93d35 Merge pull request #129 from sosamuel/patch-1
Update README.adoc
2022-03-26 12:00:31 +01:00
Adam Hamsik
5597c2a5a2 Merge pull request #115 from 7c6f434c/patch-1
Reinitialise i before using it for iterating over dll_dirs
2022-03-26 12:00:18 +01:00
Adam Hamsik
0ef3d6d5c8 Merge pull request #112 from sorki/fixWarnings
fix GCC strncpy warnings
2022-03-26 11:58:34 +01:00
Adam Hamsik
8aa0ed2549 Merge pull request #121 from specialpointcentral/master
Fix GCC errors in DEBUG mode
2022-03-26 11:57:59 +01:00
Samuel Chia
a00e7386f6 Update README.adoc
update pkgsrc-wip  homepage link.
2022-03-25 16:28:07 +08:00
Jack Hu
d99c64bb78 Fix GCC errors in DEBUG mode
When we open debug mode(`./configure --devel`),
GCC will check `sign-conversion` and `conversion`.
It will cause some warnings.

Also add `-DDEBUG` to `CFLAGS` if we open debug
mode. This can open `PDEBUG()` and help you to get
detail information.

Signed-off-by: Jack Hu <spcreply@126.com>
2021-09-05 17:13:12 +08:00
Michael Raskin
3b1aac2084 Reinitialise i before using it for iterating over dll_dirs
Previously, the value of it was kept from the loop over all the command-line arguments; as `/usr/lib` or `/lib` were far enough in the list, on many systems there was no difference, but `own_dir` and `LIB_DIR` could be ignored or not based on the argument count, which was confusing.
2021-03-31 07:46:58 +00:00
Richard Marko
412ef4235b fix GCC strncpy warnings
Recent GCC added checks for this and it triggers `Werror` with

```
In function 'strncpy',
    inlined from 'proxy_gethostbyname' at src/core.c:832:2:
/nix/store/hayaj8q9rc7swx4llcjqymmg3zr525lx-glibc-2.32-25-dev/include/bits/string_fortified.h:91:10: error: '__builtin_strncpy' specified bound 8192 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Werror=stringop-truncation8;;]
   91 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'proxy_getaddrinfo' at src/core.c:917:3:
/nix/store/hayaj8q9rc7swx4llcjqymmg3zr525lx-glibc-2.32-25-dev/include/bits/string_fortified.h:91:10: error: '__builtin_strncpy' specified bound 256 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Werror=stringop-truncation8;;]
   91 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
```
2021-02-13 11:14:08 +01:00
Adam Hamsik
148b851d10 Update mac os build. 2021-02-08 11:36:04 +01:00
Adam Hamsik
ea89ca551a Merge pull request #109 from aviau/patch-1
proxychains.conf: mention `raw` type
2020-12-11 15:41:37 +01:00
Alexandre Viau
d27fcbff9b proxychains.conf: mention raw type 2020-12-10 11:42:49 -05:00
Adam Hamsik
4c31f32dc9 Update version string 2020-12-10 14:05:01 +01:00
Adam Hamsik
5320c1bc22 Bump version string to 4.3.0 2020-12-10 14:04:16 +01:00
Adam Hamsik
2d2ba1c921 Merge pull request #108 from aviau/aviau/raw-proxy
support 'raw' proxy type
2020-12-10 14:02:52 +01:00
Adam Hamsik
ed75dfa6e2 Merge pull request #104 from ChuanfengZhang/master
docs: fix link of pkgsrc
2020-12-10 14:00:53 +01:00
aviau
7b24b954c8 support 'raw' proxy type 2020-10-27 15:23:40 -04:00
zhangcf
e8247feeda docs: fix link of pkgsrc 2020-09-14 15:30:42 +08:00
Adam Hamsik
99af45703e Update libproxychains.c
Fix redundant parenthesis.
2020-07-28 16:15:00 +02:00
Adam Hamsik
5dd8450452 Merge pull request #99 from tomgilon/dnat
Add dnat feature
2020-07-21 22:41:19 +02:00
Adam Hamsik
8dea4f9297 Merge pull request #98 from AdamVanScyoc/fix_conf_file_typo
Fix type on proxychains.conf fix_conf_file_type
2020-07-21 22:39:39 +02:00
Adam Hamsik
48c7a005e6 Merge pull request #100 from 0xflotus/patch-1
(docs): fixed possible typo error
2020-07-21 22:38:47 +02:00
0xflotus
7efa291d90 (docs): fixed possible typo error
in www.insecure.org/nmap
2020-05-24 14:22:02 +02:00
tom gilon
d7096b4f98 Add option to change tcp destination port and ip before sending to proxy server 2020-05-07 00:10:59 +03:00
Adam Van Scyoc
6d1e0e8af6 Fix type on proxychains.conf fix_conf_file_type 2020-04-14 22:28:44 -04:00
Adam Hamsik
e7a2b9d79a Merge pull request #88 from Mister-Meeseeks/master
Allow user to override default DNS server
4.3.0
2020-01-10 13:39:06 +01:00
Adam Hamsik
f1ffbd4b94 Merge pull request #75 from tinyzimmer/master
optional set host on easy socks5 env var
2020-01-10 13:38:20 +01:00
Adam Hamsik
87ec01c762 Merge pull request #95 from theosotr/fix
Add missing Make dependencies
2020-01-10 13:36:38 +01:00
Thodoris Sotiropoulos
8df5b3f11d Add missing Make dependencies 2020-01-02 21:52:50 +02:00
Douglas R Colkitt
0416c2b7ea Fix issue with POSIX portability in proxyresolv script 2019-04-13 15:48:24 +00:00
Douglas R Colkitt
98e9326534 Allow user to override default DNS server
Implements support for an environmnet variable (PROXY_DNS_SERVER) whereby
the user can specify a DNS server. If not set defaults to the hardcoded
OpenDNS default.
2019-04-13 15:41:07 +00:00
Adam Hamsik
14e15aa2c1 Merge pull request #85 from Intika-Linux-Network/master
Fix security issue CVE-2015-3887
2019-01-22 18:45:29 +01:00
intika
9f99278525 Fix security issue CVE-2015-3887 2019-01-22 13:25:35 +00:00
tinyzimmer
f3b07370fb require cdefs 2018-04-22 21:42:33 -07:00
tinyzimmer
dbe328efdd dont require cdefs 2018-04-22 21:36:52 -07:00
tinyzimmer
f88610077c allow dynamic host for simple socks env var 2018-04-22 20:40:26 -07:00
Alex Flores
fbfdd995db Merge pull request #73 from audibleblink/master
patch for random proxy selection
2018-04-12 21:55:02 -04:00
Alex Flores
bd207014a2 patch for better random proxy selection 2018-04-12 21:35:23 -04:00
Adam Hamsik
2bdf74d5a6 Merge pull request #66 from julian-klode/pu/fix-pbuf-null
Fix compilation error in get_config_path()
2018-04-04 12:36:16 +02:00
Julian Andres Klode
e8e0b93b37 Fix compilation error in get_config_path()
When inlining check_path(), gcc sees after the first snprintf()
call that pbuf might be null, and subsequently generates a warning
for the next snprintf() call. Since the code (erroneously) builds
with -Werror, this causes it to fail.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83139
2017-11-24 11:10:28 +01:00
Adam Hamsik
c38374ab5b Merge pull request #59 from leggiero/patch-1
Minor typo
2017-09-03 12:40:06 +02:00
Eduardo Leggiero
67aa8eae24 Minor typo 2017-07-25 13:47:39 +01:00
Adam Hamsik
0f61bd0713 Remove superfluos ] 2016-02-14 21:58:19 +01:00
Adam Hamsik
581f0ff31a Some updates 2016-02-14 21:57:34 +01:00
Adam Hamsik
7d160b9015 Rewrite README as proper asciidoc 2016-02-14 21:55:59 +01:00
Adam Hamsik
138481b410 Test build on osx too 2016-02-14 21:09:33 +01:00
Adam Hamsik
bf833e216b Add travis.yml 2016-02-14 21:06:34 +01:00
Adam Hamsik
60bcee08c9 Merge branch 'hutchinson-linux_fix'
* hutchinson-linux_fix:
  Fix Linux compile issue
2016-02-14 21:00:47 +01:00
Adam Hamsik
8623b26a72 Merge branch 'linux_fix' of https://github.com/hutchinson/proxychains into hutchinson-linux_fix
* 'linux_fix' of https://github.com/hutchinson/proxychains:
  Fix Linux compile issue
2016-02-14 21:00:35 +01:00
Adam Hamsik
3b52a10c54 Merge pull request #37 from douglasanpa/master
Fix to compile on Ubuntu 13:04
2015-12-29 13:32:12 +01:00
Adam Hamsik
ec404a9e61 Merge pull request #45 from netroby/feature/drill-opendns
Using OpenDNS and Drill (ldns-utils)
2014-12-08 15:41:49 +01:00