Your message dated Fri, 04 Mar 2022 05:03:36 +0000
with message-id <e1nq06k-0003ig...@fasolo.debian.org>
and subject line Bug#1006534: fixed in pagekite 1.5.2.200603-3
has caused the Debian Bug report #1006534,
regarding pagekite: Fails to accept client connections
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1006534: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006534
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pagekite
Version: 1.5.2.200603-2
Severity: grave
Tags: patch
Justification: renders package unusable

As described in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004295,
incoming pagekite connections don't work on Debian 11. If you run your own
frontend on that version of Debian (or on Ubuntu focal for that matter),
nothing works.

I've attached the reverse of the patch from that bug which is all that's
needed to fix pagekite in unstable.

Francois

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pagekite depends on:
ii  ca-certificates        20211016
ii  daemon                 0.8-1
ii  init-system-helpers    1.62
ii  python3                3.9.8-1
ii  python3-openssl        21.0.0-1
ii  python3-six            1.16.0-3
ii  python3-socksipychain  2.1.2-1

pagekite recommends no packages.

pagekite suggests no packages.

-- Configuration Files:
/etc/pagekite.d/10_account.rc [Errno 13] Permission non accordée: 
'/etc/pagekite.d/10_account.rc'
/etc/pagekite.d/90_debian_certs.rc [Errno 13] Permission non accordée: 
'/etc/pagekite.d/90_debian_certs.rc'

-- no debconf information
commit 695ae5c46610393b8b4e950466c643d9c58cbce1
Author: Francois Marier <franc...@debian.org>
Date:   Sat Feb 26 18:41:37 2022 -0800

    Fix incoming connections (patch from #1004295).

diff --git a/debian/changelog b/debian/changelog
index e8f50ba..4cef3ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pagekite (1.5.2.200603-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
   * Log messages in /var/log/pagekite/pagekite.log (closes: #910028).
+  * Fix incoming connections (patch from #1004295).
 
  -- Francois Marier <franc...@debian.org>  Sat, 26 Feb 2022 18:38:24 -0800
 
diff --git a/pagekite/proto/conns.py b/pagekite/proto/conns.py
index 3da9272..2c9fc04 100755
--- a/pagekite/proto/conns.py
+++ b/pagekite/proto/conns.py
@@ -1975,8 +1975,8 @@ class FastPingHelper(threading.Thread):
         data = None
       try:
         if data:
-          if '\nHost: ping.pagekite' in data:
-            client.send(self.rejection)
+          if b'\nHost: ping.pagekite' in data:
+            client.send(self.rejection.encode("utf-8"))
             client.close()
             self.fast_pinged.append(obfuIp(addr[0]))
           else:
diff --git a/pagekite/proto/selectables.py b/pagekite/proto/selectables.py
index 56705f5..ed1967c 100755
--- a/pagekite/proto/selectables.py
+++ b/pagekite/proto/selectables.py
@@ -344,7 +344,7 @@ class Selectable(object):
   def EatPeeked(self, eat_bytes=None, keep_peeking=False):
     if not self.peeking: return
     if eat_bytes is None: eat_bytes = self.peeked
-    discard = ''
+    discard = b''
     while len(discard) < eat_bytes:
       try:
         bytecount = eat_bytes - len(discard)

--- End Message ---
--- Begin Message ---
Source: pagekite
Source-Version: 1.5.2.200603-3
Done: Francois Marier <franc...@debian.org>

We believe that the bug you reported is fixed in the latest version of
pagekite, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1006...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francois Marier <franc...@debian.org> (supplier of updated pagekite package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 03 Mar 2022 20:57:39 -0800
Source: pagekite
Architecture: source
Version: 1.5.2.200603-3
Distribution: unstable
Urgency: medium
Maintainer: FreedomBox packaging team 
<freedombox-pkg-t...@lists.alioth.debian.org>
Changed-By: Francois Marier <franc...@debian.org>
Closes: 1006534
Changes:
 pagekite (1.5.2.200603-3) unstable; urgency=medium
 .
   * Regular upload with maintainer's permission.
   * Fix incoming connections using patch from #1004295 (closes: #1006534).
Checksums-Sha1:
 aec328461e74ee6622c8abc84b5f9acecb059e89 2468 pagekite_1.5.2.200603-3.dsc
 c7483169c01c16cc0399986de26fabb449f16815 18680 
pagekite_1.5.2.200603-3.debian.tar.xz
 3c7c866165f5b7a31c2af9c2bcc77d5f1640b89d 6801 
pagekite_1.5.2.200603-3_source.buildinfo
Checksums-Sha256:
 386dda40e6e83636aea6a224e1d0a37fbea9c30eb401f50d0b0c8007bf9683d7 2468 
pagekite_1.5.2.200603-3.dsc
 4a06988a3cf687778de54b4fafcea164a93d2c4d5e6bdf1dc268dde94fab176a 18680 
pagekite_1.5.2.200603-3.debian.tar.xz
 0ecb66fb41a3db12191ec6e312f9d0fc50610972675f691ae1c66a3edeeca191 6801 
pagekite_1.5.2.200603-3_source.buildinfo
Files:
 30e634d4e93fedaf5a579562655a8cf3 2468 net optional pagekite_1.5.2.200603-3.dsc
 480577c31a3c96e7e6c6ce5b2e9dfd63 18680 net optional 
pagekite_1.5.2.200603-3.debian.tar.xz
 eafc76fca12d5198afc3dbe71041e579 6801 net optional 
pagekite_1.5.2.200603-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEjEcLKgsxVo4RDUMlFigfLgB8mNEFAmIhnJZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDhD
NDcwQjJBMEIzMTU2OEUxMTBENDMyNTE2MjgxRjJFMDA3Qzk4RDEACgkQFigfLgB8
mNHD9RAApqgVT7tAvCphZ/SbnPftNbagocWSC9W3OZEqTnuMpj1lTvbq0LQZlNQ1
6vXKSULmbON/aTDp44dYtFvO0vli6F3+KEasR91Wy4dgqAnmcj3QcPU4WY1820SE
+gemQql20yCVhBCGVLrmG7AaEiTnVfM19IQ2RItE3p6wtTP2otnFFUTByx3tW8FG
NQ267kdjUpCTleGYcYwAijo/zEeBlEGr2LVDJhX4FWYuVb5UmVu/9uOGpfQnhn9Y
wG2r1b75LJrU3a9k5xTc9xSUGR8Sh8btjKKasRmsBKCSiXFhsGqsHoFw/bTSm5WA
7Dil1YU5KjQZQJ/4nCUMOhQfoXMurl5EWEu1NuKSpaDQtS573vYqglxmf4dwVqPK
/TzEZmjtyFA7N9lW4SzWbggHQeWnP4Ts2J9lORiheASUkHZMRk/6cnzXcrPd/82S
dHCgeXxgGY2Lto+UeWiGjrHjULQm/XzdrJoQxlwvw6u9zrE7rsScadGgtijUDL0a
fRLZYsNixfmKSojPWLB2fdNLMfdG900qh4PLCE8UHgPFEL1Qv8em/VZ1Dsx7O3Na
81c+sHISz65fxm6/iiuaMAUKQ0cppAQ8xwL7XGA1aaxkr0J3U2ldnOHUdwSpJuR3
zSYpbLqfz5LIB/cDzgkVcVAJt2W8HeD7C5gL+HWYrLj2kAjRlhc=
=PgC6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to