public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/3proxy] f43: Update to 1.0.2 (rhbz#2560278)
@ 2026-10-27 12:42 Tim Semeijn
0 siblings, 0 replies; only message in thread
From: Tim Semeijn @ 2026-10-27 12:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/3proxy
Branch : f43
Commit : a31c1c68f4788ee42daf71e21b5875ab4e99139c
Author : Tim Semeijn <fedora@semops.nl>
Date : 2026-10-27T13:38:23+01:00
Stats : +5/-54 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/3proxy/c/a31c1c68f4788ee42daf71e21b5875ab4e99139c?branch=f43
Log:
Update to 1.0.2 (rhbz#2560278)
---
diff --git a/.gitignore b/.gitignore
index ecfdff1..7eca1ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/3proxy-0.9.7.tar.gz
/3proxy-1.0.0.tar.gz
/3proxy-1.0.1.tar.gz
+/3proxy-1.0.2.tar.gz
diff --git a/3proxy-1.0.0-manpage.patch b/3proxy-1.0.0-manpage.patch
index 401e1d8..d8dc916 100644
--- a/3proxy-1.0.0-manpage.patch
+++ b/3proxy-1.0.0-manpage.patch
@@ -42,8 +42,8 @@ index 416bb17..e100b1c 100644
HTTP/HTTPS proxy (default port 3128)
.br
.B socks
-@@ -240,7 +240,7 @@ Never ask for username/password
- (for proxy) generate Via: and X-Forwarded-For: instead of Forwarded:
+@@ -260,7 +260,7 @@ has no use for.
+ has no use for.
.br
Also, all options mentioned for
-.BR proxy (8)
diff --git a/3proxy.spec b/3proxy.spec
index 5cbfe9e..cc45817 100644
--- a/3proxy.spec
+++ b/3proxy.spec
@@ -1,5 +1,5 @@
Name: 3proxy
-Version: 1.0.1
+Version: 1.0.2
Release: %autorelease
Summary: Tiny but very powerful proxy
@@ -22,10 +22,6 @@ BuildRequires: systemd-rpm-macros
Patch0: 3proxy-1.0.0-config-path.patch
# Adapt manpages to reflect renamed proxy binary
Patch1: 3proxy-1.0.0-manpage.patch
-# Fix CVE-2026-109438 (rhbz#2553107, rhbz#2553106)
-# Backported from upstream:
-# https://github.com/3proxy/3proxy/commit/206c923d6cd433bd2e7196375442650c328b8bfa
-Patch2: CVE-2026-109438.patch
%description
%{name} -- light proxy server.
@@ -86,7 +82,6 @@ done
echo ".so 3proxy_crypt.8" > %{buildroot}%{_mandir}/man8/mycrypt.8
%check
-# Upstream does not provide an automated test suite.
# Smoke test the built binaries.
%{buildroot}%{_bindir}/mycrypt test password
diff --git a/CVE-2026-109438.patch b/CVE-2026-109438.patch
deleted file mode 100644
index 258c630..0000000
--- a/CVE-2026-109438.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 206c923d6cd433bd2e7196375442650c328b8bfa Mon Sep 17 00:00:00 2001
-From: Vladimir Dubrovin <3proxy@3proxy.ru>
-Date: Mon, 12 Oct 2026 18:03:07 +0300
-Subject: [PATCH] Fix SOCKS CONNECT and BIND replies reporting the client side
- address
-
-Without -Ne, the reply to CONNECT and BIND named the local address of the
-client's connection to the proxy instead of the socket towards the
-destination: the branch meant for UDP ASSOCIATE also took these. A BIND
-client was told the proxy's own port and the peer could never reach the
-listener. Introduced with -Ne / -Ni (0c8be90).
-
-Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
----
- src/socks.c | 17 +++++++++++------
- 1 file changed, 11 insertions(+), 6 deletions(-)
-
-diff --git a/src/socks.c b/src/socks.c
-index c39ffabe..fbbd80a7 100644
---- a/src/socks.c
-+++ b/src/socks.c
-@@ -272,12 +272,17 @@ fflush(stderr);
- int repcode;
-
- sasize = sizeof(sin);
-- if(command != 3 && param->remsock != INVALID_SOCKET) param->srv->so._getsockname(param->sostate, param->remsock, (struct sockaddr *)&sin, &sasize);
-- if(command != 3 && !SAISNULL(¶m->srv->extNat)){
-- uint16_t port;
-- port = *SAPORT(&sin);
-- sin = param->srv->extNat;
-- *SAPORT(&sin) = port;
-+ /* CONNECT and BIND report the address of the socket towards the
-+ destination, UDP ASSOCIATE the one the client sends its datagrams
-+ to, as does a request which never got a socket of its own */
-+ if(command != 3 && param->remsock != INVALID_SOCKET){
-+ param->srv->so._getsockname(param->sostate, param->remsock, (struct sockaddr *)&sin, &sasize);
-+ if(!SAISNULL(¶m->srv->extNat)){
-+ uint16_t port;
-+ port = *SAPORT(&sin);
-+ sin = param->srv->extNat;
-+ *SAPORT(&sin) = port;
-+ }
- }
- else {
- param->srv->so._getsockname(param->sostate, param->clisock, (struct sockaddr *)&sin, &sasize);
diff --git a/sources b/sources
index 81a8bfe..d3aae81 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (3proxy-1.0.1.tar.gz) = f53906f157c5618068604ad768b4198a0d0af289b2b37c21ff563c08290f858d4113a2a308fda271617622e175eb5e967ccf3ec24e028d154f6cb4e7803015a3
+SHA512 (3proxy-1.0.2.tar.gz) = 0266d53827d174218432d49adaaf32f71a57ed70d25bdbc066c5cda9b6c3c0f847c68c4505712911cb6c69c415409f9823666d9cc9a2f9e55b1073eb472f236e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-27 12:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 12:42 [rpms/3proxy] f43: Update to 1.0.2 (rhbz#2560278) Tim Semeijn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox