Commit graph

409 commits

Author SHA1 Message Date
Sven Geuer
bc74c7ef46
Remove code needed to support openssl versions before 1.02. 2026-05-11 15:50:00 +02:00
Sven Geuer
69df6780b8
Extend check_cert_names() to compile using openssl4.
Make use of X509_check_ip_asc() and X509_check_host() available from
openssl since version 1.02.
2026-05-11 15:36:36 +02:00
Sven Geuer
86be61a92a
Add 'Upload CI Artefacts' to cygwin.yml. 2026-05-11 15:36:35 +02:00
Sven Geuer
16d400b636
Prepend 'pt_' to initsetproctitle to avoid collision with same-named macro.
At least with Cygwin, and consequently with Msys, a macro 'initsetproctitle'
exists leading to builds failing without this change if SETPROCTITLE is
defined.

This measure simplifies source code and Makefile allowing setproctitle
functionality also for Cygwin and Msys builds, although it's of limited
use there.
2026-05-11 15:24:35 +02:00
Sven Geuer
ea6e8c70ed
ntlm.c: Get rid of 'warning: old-style function definition'. 2026-05-06 21:41:20 +02:00
Sven Geuer
eb92cf8f11
Correct way to temporarily chop linebreak and generate debug output. 2026-04-20 22:18:31 +02:00
Sven Geuer
b8c2189ff3
Make specifying local proxy by IPv6 address work.
The pattern meant for parsing a host name (or IPv4 address) also matched
the head of an IPv6 address, resulting in an invalid host name causing
failure later on. The code meant for parsing an IPv6 address was never
reached.
2026-04-20 22:17:56 +02:00
Sven Geuer
2827a6647e
Merge pull request #102 from denischanc/master
Add option to disable SNI; build under Cygwin; correction on Host header; correction on protocol display on console.
2026-04-20 18:21:50 +02:00
Denis Chancogne
1411a234bf No setproctitle() on Msys. 2026-04-20 00:32:13 +02:00
Denis Chancogne
9a1f9bfbd3 Cygwin: add docbook-xml45 package for xmlto validation. 2026-04-17 17:19:32 +02:00
Denis Chancogne
ee2fbcd41e Cygwin: WINDOWS can be Windows instead. 2026-04-17 16:42:50 +02:00
Denis Chancogne
643a8fc493 INSTALL.md update for Cygwin OK. 2026-04-17 16:27:00 +02:00
Denis Chancogne
e7d2f2c556 Test cygwin workflow #8. 2026-04-17 16:06:43 +02:00
Denis Chancogne
9ae353d2b1 Test cygwin workflow #7. 2026-04-17 16:00:46 +02:00
Denis Chancogne
3cbc3b6384 Test cygwin workflow #6. 2026-04-17 15:56:54 +02:00
Denis Chancogne
029355563b Test cygwin workflow #5. 2026-04-17 15:51:20 +02:00
Denis Chancogne
5ed6b9abd1 Test cygwin workflow #3. 2026-04-17 15:35:35 +02:00
Denis Chancogne
cf09f4d869 Test cygwin workflow #3. 2026-04-17 15:32:01 +02:00
Denis Chancogne
6ab785f7e3 Test cygwin workflow #2. 2026-04-17 15:23:22 +02:00
Denis Chancogne
10a302fb40 Test cygwin workflow. 2026-04-17 15:17:49 +02:00
Denis Chancogne
c9148a83e5 Add package cygwin-devel to cygwin workflow. 2026-04-17 14:54:54 +02:00
Denis Chancogne
cac77b55a2 Add setproctitle and update INSTALL.md for Cygwin. 2026-04-17 14:20:34 +02:00
Denis Chancogne
3ccb37473a Host header same as CONNECT arg. 2026-04-17 10:51:28 +02:00
Denis Chancogne
b66f2fa205 Update README.md with no-sni option. 2026-04-17 10:51:28 +02:00
Denis Chancogne
387c2087b2 Allow to disable SNI. 2026-04-17 10:51:28 +02:00
Sven Geuer
e2239ab35c
Merge pull request #99 from saper/log-getaddrinfo-fail
Log requested name on getaddrinfo() failure
2026-04-15 13:07:24 +02:00
Sven Geuer
2f031167bf
Merge pull request #92 from FrostKiwi/FrostKiwi-guide-link
Add link to setup guide
2026-04-15 13:03:33 +02:00
Sven Geuer
7f32a099f9
Makefile: Fix issue #101 by not emitting '-DSETPROCTITLE' with MSYS2. 2025-12-09 16:58:00 +01:00
Sven Geuer
320ad4be83
More corrections to the manual page
- Drop sections "Arguments", it describes the non-existent positional parameter
  in detail.
2025-11-22 19:08:08 +01:00
Sven Geuer
c43ba13e02
Corrections to the manual page
- Drop mentioning of non-existent positional parameter.
- Mark -p (or HTTP_PROXY) and -d as mandatory
2025-11-22 15:52:05 +01:00
Sven Geuer
9203bdfef7
cmdline.c: Fix check of proxy and destination being given. 2025-11-22 15:49:53 +01:00
Marcin Cieślak
f7676c8196 Log requested name on getaddrinfo() failure 2025-09-08 23:13:59 +02:00
Mark Janssen
cd358101fb
Merge pull request #93 from zSuperx/nix-flake-basic-support
Nix flake basic support
2025-05-15 00:48:49 +02:00
zsuper
882a22d80d Reverted changes to ntlm.c 2025-05-14 14:41:01 -07:00
zsuper
9db6e3b3d3 Merge remote-tracking branch 'upstream/master' into nix-flake-basic-support 2025-05-14 14:40:18 -07:00
Mark Janssen
b4ddf94b45
Merge pull request #97 from proxytunnel/issue-96
Fix #96
2025-05-14 22:30:20 +02:00
Mark Janssen -- Sig-I/O Automatisering
77b9afda27
Fix #96 2025-05-14 22:24:24 +02:00
zsuper
b4ed20677c Removed use-ssl option as it does not make sense to disable SSL. Also added default overlay
updated INSTALL.md with flake overlay
2025-04-04 10:18:32 -07:00
zsuper
85eeaabe28 Updated INSTALL.md again 2025-04-03 21:29:38 -07:00
zsuper
2e61c609bb Updated INSTALL.md 2025-04-03 21:13:45 -07:00
zsuper
226c45c969 Added one more #ifdef for consistency 2025-04-03 20:00:14 -07:00
zsuper
2ef739f7c2 Fixed formatting issue that caused an error with OPTFLAGS 2025-04-03 19:51:48 -07:00
zsuper
f320f2bf63 Added preprocessor #ifdef USE_SSL around every instance of OPENSSL_VERSION_NUMBER 2025-04-03 19:50:31 -07:00
zsuper
ad8a6a1c7e Added options for gnu-systems & setproctitle to flake 2025-04-03 19:43:15 -07:00
zsuper
5e9a22d035 moved package mkDerivation to ./nix/proxytunnel.nix 2025-04-03 15:17:29 -07:00
zsuper
c4c6caafbb use callPackage 2025-04-03 11:20:21 -07:00
zsuper
4982420160 flake overlay test 2025-04-03 09:46:52 -07:00
Piyush Kumbhare
8ab065fca1
Update flake.nix version to match github Release v1.12.3 version 2025-04-01 23:39:13 -07:00
zsuper
3ec1efe42e Changed flake.nix to use flake-parts for modular arch support. Updated INSTALL.md 2025-04-01 23:09:45 -07:00
zsuper
20be023202 Extended flake so support can easily be added for diff archs in the future 2025-04-01 19:58:45 -07:00