Your message dated Thu, 30 Jul 2015 21:17:46 +0000
with message-id <[email protected]>
and subject line Bug#785727: fixed in nbd 1:3.8-4+deb8u2
has caused the Debian Bug report #785727,
regarding nbd-server: mask comparison in allow fails
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 [email protected]
immediately.)


-- 
785727: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785727
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nbd-server
Version: 1:3.8-4
Severity: important

Dear Maintainer,

ip authorization in nbd-server config did not work in jessie.

With the debugging appended below it shows the contents of byte_s
as beeing hex "cc", which explains why im my case only a xxx.xxx.xxx.xxx/1
mask is working, as the client IP starts with hex 8x.

Please tell me if more information is needed.

Thanks,
 greetings
   Hermann


> hg qdiff
diff --git a/nbdsrv.c b/nbdsrv.c
--- a/nbdsrv.c
+++ b/nbdsrv.c
@@ -66,6 +66,7 @@
                                break;
                }
                while(len_left >= 8) {
+                       printf("cmp byte_s %02x byte_t %02x", *byte_s, *byte_t);
                        if(*byte_s != *byte_t) {
                                goto next;
                        }


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nbd-server depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  libc6                  2.19-18
ii  libglib2.0-0           2.42.1-1
ii  ucf                    3.0030

nbd-server recommends no packages.

nbd-server suggests no packages.

-- debconf information:
  nbd-server/name:
  nbd-server/useports: false
  nbd-server/port:
  nbd-server/autogen:
  nbd-server/convert: true
  nbd-server/filename:
  nbd-server/number: 0

--- End Message ---
--- Begin Message ---
Source: nbd
Source-Version: 1:3.8-4+deb8u2

We believe that the bug you reported is fixed in the latest version of
nbd, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Wouter Verhelst <[email protected]> (supplier of updated nbd 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 17 Jul 2015 21:52:40 +0200
Source: nbd
Binary: nbd-server nbd-client nbd-client-udeb
Architecture: source amd64
Version: 1:3.8-4+deb8u2
Distribution: jessie
Urgency: low
Maintainer: Wouter Verhelst <[email protected]>
Changed-By: Wouter Verhelst <[email protected]>
Description:
 nbd-client - Network Block Device protocol - client
 nbd-client-udeb - Network Block Device protocol - client for Debian Installer 
(udeb)
 nbd-server - Network Block Device protocol - server
Closes: 785727
Changes:
 nbd (1:3.8-4+deb8u2) jessie; urgency=low
 .
   * Cherry-pick two commits from 3.10 to fix authfile parsing.
     Closes: #785727.
Checksums-Sha1:
 2d11fe7afa51fac1fd65e8f19dc732ee36369674 1938 nbd_3.8-4+deb8u2.dsc
 d478402d244cfb8917484ce625dbc38d355f0fe5 94395 nbd_3.8-4+deb8u2.diff.gz
 16cc7988d9e0b926901118c1aca773d4e9fb714a 82078 
nbd-server_3.8-4+deb8u2_amd64.deb
 4658a8852c8e64462d5804819dfb8c7f4fa0c6c4 69114 
nbd-client_3.8-4+deb8u2_amd64.deb
 a78d99c1f0120f64eb97bbfac88bbecfd820708b 9038 
nbd-client-udeb_3.8-4+deb8u2_amd64.udeb
Checksums-Sha256:
 88cec945f575b0f8c79217fec85ad1ff5c84fdd60b3dd55d2d75a42f95a2adbc 1938 
nbd_3.8-4+deb8u2.dsc
 d20afe96c67dbc71d5fbbc01aba2f6a8c38ac8bedb75b8fce1849d289cf6b37d 94395 
nbd_3.8-4+deb8u2.diff.gz
 4dd27003cdd8702544ac73a2eaa4b8d95733ca6cca83ec59e1f6174324e39d20 82078 
nbd-server_3.8-4+deb8u2_amd64.deb
 dff8718cf912c4bf976fe508d0b5d6f76e00e9c883af9fd5ff29238e0cfeb53e 69114 
nbd-client_3.8-4+deb8u2_amd64.deb
 d589d92e30c1538b3d261b518f5e3bd4d0512ba968d333ac528f9c336a968f0d 9038 
nbd-client-udeb_3.8-4+deb8u2_amd64.udeb
Files:
 8d9b2f52857bc5e4891c9aea92254e46 1938 admin optional nbd_3.8-4+deb8u2.dsc
 a7f748b1932688f595cd7f6a0c4fb553 94395 admin optional nbd_3.8-4+deb8u2.diff.gz
 46171a3ee651209220b842b0b9e95cc9 82078 admin optional 
nbd-server_3.8-4+deb8u2_amd64.deb
 d42faa76263b4648881e93b7a2dab45c 69114 admin optional 
nbd-client_3.8-4+deb8u2_amd64.deb
 d4018ff759adb3db8ed5e4eb1e9de59f 9038 debian-installer optional 
nbd-client-udeb_3.8-4+deb8u2_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVtqB0AAoJEMKUD5Ub3wqdgr8QAKru85zS0Bv7cht8QthJO5L6
M1OtbNfFGn6VQ3juRs4a9bYMR/gaPVYTbpjpaWZUt6xBQ4LmmSI7c8j/jZXDpOLS
Sxk8awSiTL9yBkPCU5CIVbGt2KuqpIM4ZnlDXwl7h5NyOvYVFoknhoBFzOwa0FBh
Nex97J6AmG0WStd6WutCiZgJWx5TxrxtjOV3p3qVOE2rmPIrvMdfrZ5yIzpwVwaQ
CWlta6n11PaFwDJEBk2xy0nB6OkjPgD7DChQn3fkiKn2ZGJpfZCaXwUPYjG0d34A
S7VlA2NAnY8ylVjDynwTWgJsRbBHHf+/ZtMMzIS4CsAa7CGJzyuPUCFrpN4dIyM6
xPEdJDi6llKumHPcJ2aTrv0nFfqMTkZJGvHvq1A9UK5ok3y1tBhOrN1CMxaSYQfw
2OxVjl2k+O3lb7tqsbAJIv4h1qe/Nzx+vtOwMX4VFXexW6RVCPQK6QUGj0E+MXKa
oJrx/N1cb7RhVHZkNU6o8D5pA/YmpvS9xFszmno6FgkJJjFG/trf3D9WYKoJvwV8
C55xCB8kEwZZoZPHA2Imvun5f2ui8n7pMEeG6+GW6qlHrrpO5ZLZA0qeYhYzYJLa
vWt5x8j0D4WPDue/tUtXFVGbW3OD+grvDKi0awMpiKFULzY/YzD6+qy7OzCw8H5f
ebCIxSD6C4ScjyYjVUr/
=BIBP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to