Your message dated Wed, 21 Jun 2006 00:17:13 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#374749: fixed in pidentd 3.0.19.ds1-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: pidentd
Version: 3.0.18-3
Severity: serious
Tags: patch

Since version 2.6.16.20-1 of linux-kernel-headers, tcp_diag.h was
renamed as inet_diag.h.

AnĂ­bal Monsalve Salazar
-- 
http://v7w.com/anibal


diff -u pidentd-3.0.18/src/k_linux.c pidentd-3.0.19.ds1/src/k_linux.c
--- pidentd-3.0.18/src/k_linux.c
+++ pidentd-3.0.19.ds1/src/k_linux.c
@@ -28,7 +28,7 @@
 
 #include <linux/types.h>
 #include <linux/netlink.h>
-#include <linux/tcp_diag.h>
+#include <linux/inet_diag.h>
 
 #include "pidentd.h"
 
@@ -57,7 +57,7 @@
     kp = s_malloc(sizeof(*kp));
 
     kp->seq = 0;
-    kp->nlfd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_TCPDIAG);
+    kp->nlfd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_INET_DIAG);
     if (kp->nlfd >= 0)
        goto out;
     
@@ -83,8 +83,8 @@
     struct {
        struct nlmsghdr nlh;
        union {
-               struct tcpdiagreq req;
-               struct tcpdiagmsg rsp;
+               struct inet_diag_req req;
+               struct inet_diag_msg rsp;
        } u;
     } buf;
     struct sockaddr_nl addr;
@@ -94,14 +94,14 @@
     buf.nlh.nlmsg_type = TCPDIAG_GETSOCK;
     buf.nlh.nlmsg_flags = NLM_F_REQUEST;
     buf.nlh.nlmsg_seq = ++kip->seq;
-    buf.u.req.tcpdiag_family = AF_INET;
+    buf.u.req.idiag_family = AF_INET;
 
-    buf.u.req.id.tcpdiag_dport = kp->remote.sin_port;
-    buf.u.req.id.tcpdiag_sport = kp->local.sin_port;
-    buf.u.req.id.tcpdiag_dst[0] = kp->remote.sin_addr.s_addr;
-    buf.u.req.id.tcpdiag_src[0] = kp->local.sin_addr.s_addr;
-    buf.u.req.id.tcpdiag_cookie[0] = TCPDIAG_NOCOOKIE;
-    buf.u.req.id.tcpdiag_cookie[1] = TCPDIAG_NOCOOKIE;
+    buf.u.req.id.idiag_dport = kp->remote.sin_port;
+    buf.u.req.id.idiag_sport = kp->local.sin_port;
+    buf.u.req.id.idiag_dst[0] = kp->remote.sin_addr.s_addr;
+    buf.u.req.id.idiag_src[0] = kp->local.sin_addr.s_addr;
+    buf.u.req.id.idiag_cookie[0] = INET_DIAG_NOCOOKIE;
+    buf.u.req.id.idiag_cookie[1] = INET_DIAG_NOCOOKIE;
 
     status = write(kip->nlfd, &buf, buf.nlh.nlmsg_len);
     if (status < 0) {
@@ -123,10 +123,10 @@
 
     if (buf.nlh.nlmsg_type != TCPDIAG_GETSOCK)
        return 0;
-    if (buf.u.rsp.tcpdiag_state != TCP_ESTABLISHED)
+    if (buf.u.rsp.idiag_state != TCP_ESTABLISHED)
        return 0;
 
-    kp->euid = buf.u.rsp.tcpdiag_uid;
+    kp->euid = buf.u.rsp.idiag_uid;
     return 1;
 }
 

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: pidentd
Source-Version: 3.0.19.ds1-1

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

idecrypt_3.0.19.ds1-1_i386.deb
  to pool/main/p/pidentd/idecrypt_3.0.19.ds1-1_i386.deb
pidentd-des_3.0.19.ds1-1_all.deb
  to pool/main/p/pidentd/pidentd-des_3.0.19.ds1-1_all.deb
pidentd_3.0.19.ds1-1.diff.gz
  to pool/main/p/pidentd/pidentd_3.0.19.ds1-1.diff.gz
pidentd_3.0.19.ds1-1.dsc
  to pool/main/p/pidentd/pidentd_3.0.19.ds1-1.dsc
pidentd_3.0.19.ds1-1_i386.deb
  to pool/main/p/pidentd/pidentd_3.0.19.ds1-1_i386.deb
pidentd_3.0.19.ds1.orig.tar.gz
  to pool/main/p/pidentd/pidentd_3.0.19.ds1.orig.tar.gz



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.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (supplier of updated pidentd 
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.7
Date: Wed, 21 Jun 2006 16:38:40 +1000
Source: pidentd
Binary: idecrypt pidentd-des pidentd
Architecture: source all i386
Version: 3.0.19.ds1-1
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description: 
 idecrypt   - decrypt an encrypted response from pidentd
 pidentd    - TCP/IP IDENT protocol server with DES support
 pidentd-des - compatibility package for pidentd
Closes: 337184 374749
Changes: 
 pidentd (3.0.19.ds1-1) unstable; urgency=low
 .
   * New upstream release.
   * Fixed "Since version 2.6.16.20-1 of linux-kernel-headers,
     tcp_diag.h was renamed as inet_diag.h", closes: 374749.
   * Removed doc/rfc1413.txt.
   * Fixed identd man page typos, closes: #337184.
     Patch by A Costa <[EMAIL PROTECTED]>.
   * Set Standards-Version to 3.7.2.
Files: 
 5d043353339cfb374a4fbb996154a2e7 672 net standard pidentd_3.0.19.ds1-1.dsc
 8a89279dbaff633fe0778b1dbb60d701 140009 net standard 
pidentd_3.0.19.ds1.orig.tar.gz
 f70d6594739e8ad80d5e3a675e627c69 10541 net standard 
pidentd_3.0.19.ds1-1.diff.gz
 d252e30336ddfaf86adc6862375dc5f9 4024 net optional 
pidentd-des_3.0.19.ds1-1_all.deb
 db83f6a665f067aeaa5d15e650e06bc2 32900 net standard 
pidentd_3.0.19.ds1-1_i386.deb
 be4f84683ac9686937a081c38c1309a8 10418 utils optional 
idecrypt_3.0.19.ds1-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEmPD2ipBneRiAKDwRAjGxAJ9j3AsFyCgjWskcXJCt95iGP4ctsgCfVWH4
GC9Ph1Fpg74Og6Va92YK+3k=
=GOcR
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to