Commit graph

68 commits

Author SHA1 Message Date
Sven Geuer
e2ac87239b
Makefile: Convert outdated suffix rule '.c.o' to pattern rule. 2026-05-27 16:30:35 +02:00
Sven Geuer
4078a9fe72
Remove USE_SSL switch, change code to always build with SSL support.
Building without SSL support was not possible anyway, due to NTLM requiring it.
2026-05-11 16:00:27 +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
Denis Chancogne
1411a234bf No setproctitle() on Msys. 2026-04-20 00:32:13 +02:00
Denis Chancogne
cac77b55a2 Add setproctitle and update INSTALL.md for Cygwin. 2026-04-17 14:20:34 +02:00
Denis Chancogne
387c2087b2 Allow to disable SNI. 2026-04-17 10:51:28 +02:00
Sven Geuer
7f32a099f9
Makefile: Fix issue #101 by not emitting '-DSETPROCTITLE' with MSYS2. 2025-12-09 16:58:00 +01:00
Mark Janssen -- Sig-I/O Automatisering
77b9afda27
Fix #96 2025-05-14 22:24:24 +02:00
e9hack
8ff6d58f1b Fixed loading of default and legacy provider
- Verify that the default and legacy provider was loaded successfully. If not bail out.
- On Windows, try to load the legacy.dll from multiple locations before bailing out.
- Added legacy.dll to the proxytunnel.zip archive.
2024-11-29 12:08:56 +01:00
David
8cfcd00045 Document CA file & dir compiler options
and fix a trivia typo
2021-08-04 19:03:12 -07:00
Mark Janssen -- Sig-I/O Automatisering
ab33f01fbd
Apply debian patches for Makefile 2021-01-28 22:14:02 +01:00
Paul Howarth
517650724d Fix global variable declarations/definitions for GCC 10 compatibility
This boils down to declaring global variables as "extern" in header files
and defining them in just one place.

See https://www.gnu.org/software/gcc/gcc-10/porting_to.html
2020-01-22 21:44:01 +00:00
ilovezfs
474aa902ea Makefile: don't use non-portable -D option 2018-05-14 04:20:18 -07:00
Dirk Stoecker
3a91ebec49 drop revision not working in git, update texts 2018-03-06 12:03:52 +01:00
Chris Veenboer
0cfce96280 Make building on OSX work out of the box (#18)
Conditionally declare strlcat() and strlcpy() in proxytunnel.h
Conditionally include strlcat.o and strlcpy.o in Makefile
2016-11-08 14:52:19 +01:00
Mathieu CARBONNEAUX
583d6ac96e SNI support
add SNI support
2016-08-07 19:47:51 +02:00
wicher
0f749191d1 Try OpenSSL first 2015-04-26 13:06:34 +02:00
Dag Wieers
6b408ebd03 Fixed revision info with or without .svn tree. Added rpm targets.
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@242 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-08-10 01:44:51 +00:00
Dag Wieers
44b989f966 Pretty please with sugar on top ?
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@241 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-08-10 01:27:16 +00:00
Dag Wieers
13e26f9945 One more test, I hope
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@240 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-08-10 01:23:20 +00:00
Dag Wieers
20c46e3756 Some more improvements.
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@239 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-08-10 01:20:26 +00:00
Dag Wieers
74ac310322 Rewrite SPEC file when doing make dist.
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@238 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-08-10 01:12:20 +00:00
Dag Wieers
30a71c980d Improve revision output
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@237 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-08-10 01:04:39 +00:00
Dag Wieers
4bdd1c3e00 Small Makefile improvements, and added missing docs/Makefile.
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@235 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-08-09 22:10:54 +00:00
Dag Wieers
cebf3bf5ad Makefile version dynamically set.
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@234 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-08-09 21:09:50 +00:00
Dag Wieers
191a2d644f Improvements in Makefile and manpage.
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@233 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-08-09 17:49:16 +00:00
Dag Wieers
4ab2eb5b48 Reformatted sourcecode.
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@203 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-01-22 23:52:42 +00:00
Dag Wieers
7c0e7d3f33 Updates
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@170 bc163920-b10d-0410-b2c5-a5491ca2ceef
2008-01-19 00:06:17 +00:00
Mark Janssen
d7d62ee6a4 Move manual page from debian subdir to main dir
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@162 bc163920-b10d-0410-b2c5-a5491ca2ceef
2007-07-30 09:29:51 +00:00
Mark Janssen
3ae4c33578 getrev.sh get SVN revision number for this build
Work this number into the welcome/help message/build-info


git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@158 bc163920-b10d-0410-b2c5-a5491ca2ceef
2007-04-13 09:36:20 +00:00
Mark Janssen
9d796b2349 Remove execute property on files
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@151 bc163920-b10d-0410-b2c5-a5491ca2ceef
2007-03-19 12:56:28 +00:00
Mark Janssen
c7ea350724 cygwin/daemon_mode related changes by Marc (dot) Heuse (at) ecb (dot) int
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@149 bc163920-b10d-0410-b2c5-a5491ca2ceef
2007-03-09 00:25:30 +00:00
Mark Janssen
5992ea1ef8 Clarify INSTALL doc, add comment about bsd-functions in Makefile
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@147 bc163920-b10d-0410-b2c5-a5491ca2ceef
2007-02-27 09:03:35 +00:00
Mark Janssen
bbda7f9734 - Applied (reworked) changes from Mark Cave-Ayland to support -E option
encrypting data to the proxy with SSL (untested by me)
- Change version to 1.6.4


git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@143 bc163920-b10d-0410-b2c5-a5491ca2ceef
2007-02-12 20:48:17 +00:00
Mark Janssen
45f1ae1277 Suggested changes to the install-target by Dag Wieers
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@130 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-08-16 08:18:13 +00:00
Mark Janssen
f68169d1db Typo
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@127 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-08-11 14:31:45 +00:00
Mark Janssen
cd46bf956e Revert some makefile changes per request of Dag
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@126 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-08-11 14:27:20 +00:00
Mark Janssen
acc06e8bea CVS updates 1.6.3
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@123 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-08-11 13:40:44 +00:00
Mark Janssen
7f7f772444 Fosdem changes
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@120 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-26 09:13:40 +00:00
Mark Janssen
04a85a5e8b Typo
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@119 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-24 15:21:56 +00:00
Mark Janssen
587510e785 Better SSL-LIBS LDFLAGS handling by Mike Frysinger
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@118 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-24 08:20:32 +00:00
Mark Janssen
73aad65b17 Moved $(OBJ) before $(LDFLAGS) in Makefiles
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@117 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-23 09:26:40 +00:00
Mark Janssen
2f0fc9063f Removed obsolete call to mkdir ;)
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@115 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-21 12:42:37 +00:00
Mark Janssen
6e6cca40e1 Added -lcrypto to all makefiles
Uncommented SETPROCTITLE line in makefiles


git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@112 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-13 08:48:29 +00:00
Mark Janssen
860e177e53 Cleanup setproctitle, changed return-type of readline()
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@111 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-11 00:21:16 +00:00
Mark Janssen
98f9a6729f Reworked makefile to be packager friendly
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@99 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-07 14:37:20 +00:00
Mark Janssen
b0f20f11e4 Put back 'defaults' in makefile
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@97 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-07 12:37:24 +00:00
Mark Janssen
7c50df4e93 Make compiler happy
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@96 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-07 12:33:31 +00:00
Mark Janssen
86bf937325 - Added -x/--proctitle option, to hide/obfuscate the proxytunnel
command-line in process-listings. This code is disabled by default
  But can be enabled by uncommenting the define in the Makefile.


git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@95 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-07 12:12:14 +00:00
Mark Janssen
bf693b0afc Very cool... we now do SSL encryption in the connection. This will fool
protocol-inspecting proxies (requires stunnel or other ssl wrapper on the server side)


git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@94 bc163920-b10d-0410-b2c5-a5491ca2ceef
2006-02-06 14:40:42 +00:00