Index: CREDITS =================================================================== RCS file: /usr/local/cvsroot/ippl/CREDITS,v retrieving revision 1.2 diff -u -r1.2 CREDITS --- CREDITS 1999/09/06 22:11:43 1.2 +++ CREDITS 2000/02/11 20:34:15 @@ -35,4 +35,6 @@ Arkadiusz Mi¶kiewicz for his comments and the patches that he sent to me. --- Hugo & Etienne 28/08/99 +Topi Miettinen for his change GID patch. + +-- Hugo & Etienne 11-Feb-2000 Index: HISTORY =================================================================== RCS file: /usr/local/cvsroot/ippl/HISTORY,v retrieving revision 1.3 diff -u -r1.3 HISTORY --- HISTORY 1999/10/11 20:22:44 1.3 +++ HISTORY 2000/02/11 20:33:25 @@ -1,3 +1,8 @@ +version 1.4.9 - 11-Feb-2000 - Hugo Haas +--------------------------------------- +ippl would change UID, but not GID. See Debian bug #55864. +Patch by Topi Miettinen . + version 1.4.8 - 11/10/99 - Hugo Haas ------------------------------------ go_background() now uses daemon(). Cleaned up code. Index: README =================================================================== RCS file: /usr/local/cvsroot/ippl/README,v retrieving revision 1.2 diff -u -r1.2 README --- README 1999/09/06 22:11:43 1.2 +++ README 2000/02/11 20:42:09 @@ -6,13 +6,13 @@ Please read the INSTALL file. -See http://www.via.ecp.fr/~hugo/ippl/ for details. +See http://www.larve.net/ippl/ for details. You can also get ippl from: ftp://sunsite.unc.edu/pub/Linux/system/network/daemons/ Debian packages can be found on my web site: - http://www.via.ecp.fr/~hugo/ippl/archives/debs/ + http://www.larve.net/ippl/archives/debs/ or on ftp.debian.org: ftp://ftp.debian.org/pub/debian/dists/unstable/binary-(something)/net Index: TODO =================================================================== RCS file: /usr/local/cvsroot/ippl/TODO,v retrieving revision 1.2 diff -u -r1.2 TODO --- TODO 1999/09/06 22:11:43 1.2 +++ TODO 2000/02/11 20:35:02 @@ -14,4 +14,5 @@ * Write support for ICMPv6. -* Rewrite the program using libpcap. +* Rewrite the program using libpcap. This has been started (see version + 1.99.x). Index: VERSION =================================================================== RCS file: /usr/local/cvsroot/ippl/VERSION,v retrieving revision 1.3 diff -u -r1.3 VERSION --- VERSION 1999/10/11 20:22:44 1.3 +++ VERSION 2000/02/11 20:35:14 @@ -1 +1 @@ -1.4.8 +1.4.9 Index: Docs/ippl.conf.man =================================================================== RCS file: /usr/local/cvsroot/ippl/Docs/ippl.conf.man,v retrieving revision 1.3 diff -u -r1.3 ippl.conf.man --- Docs/ippl.conf.man 1999/10/11 20:21:26 1.3 +++ Docs/ippl.conf.man 2000/02/11 20:42:19 @@ -1,6 +1,6 @@ .\" -*-nroff-*- .\" -.\" Copyright (C) 1998-9 Hugo Haas +.\" Copyright (C) 1998-2000 Hugo Haas .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ .\" along with this program; if not, write to the Free Software .\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. .\" -.TH IPPL.CONF 5 "Last change: 11 October 1999" +.TH IPPL.CONF 5 "Last change: 11 February 2000" .SH NAME @@ -317,5 +317,5 @@ ippl(8) .SH AUTHORS -Hugo Haas (hugo@via.ecp.fr) +Hugo Haas (hugo@larve.net) Etienne Bernard (eb@via.ecp.fr) Index: Docs/ippl.man =================================================================== RCS file: /usr/local/cvsroot/ippl/Docs/ippl.man,v retrieving revision 1.2 diff -u -r1.2 ippl.man --- Docs/ippl.man 1999/09/06 22:11:43 1.2 +++ Docs/ippl.man 2000/02/11 20:42:19 @@ -1,6 +1,6 @@ .\" -*-nroff-*- .\" -.\" Copyright (C) 1998-9 Hugo Haas +.\" Copyright (C) 1998-2000 Hugo Haas .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ .\" along with this program; if not, write to the Free Software .\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. .\" -.TH IPPL 8 "Last change: 5 September 1999" +.TH IPPL 8 "Last change: 11 February 2000" .SH NAME ippl \- IP Protocols Logger @@ -91,11 +91,11 @@ ippl.conf(5), RFC768, RFC791, RFC792, RFC793, RFC1413 .SH AUTHORS -Hugo Haas (hugo@via.ecp.fr) +Hugo Haas (hugo@larve.net) Etienne Bernard (eb@via.ecp.fr) .PP Information about ippl development can be found at -http://www.via.ecp.fr/~hugo/ippl/. +http://www.larve.net/ippl/. .PP New stable releases can be dowloaded via FTP on sunsite.unc.edu in /pub/Linux/system/network/daemons. Index: Source/icmp.c =================================================================== RCS file: /usr/local/cvsroot/ippl/Source/icmp.c,v retrieving revision 1.2 diff -u -r1.2 icmp.c --- Source/icmp.c 1999/10/11 20:16:35 1.2 +++ Source/icmp.c 2000/02/11 20:42:27 @@ -1,7 +1,7 @@ /* * icmp.c - functions logging ICMP messages * - * Copyright (C) 1998-1999 Hugo Haas + * Copyright (C) 1998-2000 Hugo Haas * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,6 +31,7 @@ #include #include #include +#include #include "defines.h" #include "icmp.h" @@ -299,6 +300,9 @@ if (icmp_socket <= 0) exit(1); + setgid(((struct passwd *)nobody)->pw_gid); + initgroups(((struct passwd *)nobody)->pw_name, + ((struct passwd *)nobody)->pw_gid); setuid(((struct passwd *)nobody)->pw_uid); for(;;) { Index: Source/tcp.c =================================================================== RCS file: /usr/local/cvsroot/ippl/Source/tcp.c,v retrieving revision 1.2 diff -u -r1.2 tcp.c --- Source/tcp.c 1999/10/11 20:16:35 1.2 +++ Source/tcp.c 2000/02/11 20:42:27 @@ -1,7 +1,7 @@ /* * tcp.c - functions logging TCP connections * - * Copyright (C) 1998-1999 Hugo Haas + * Copyright (C) 1998-2000 Hugo Haas * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,6 +35,7 @@ #include #include #include +#include #include "defines.h" #include "tcp.h" @@ -262,6 +263,9 @@ if (tcp_socket <= 0) exit(1); + setgid(((struct passwd *)nobody)->pw_gid); + initgroups(((struct passwd *)nobody)->pw_name, + ((struct passwd *)nobody)->pw_gid); setuid(((struct passwd *)nobody)->pw_uid); for(;;) { Index: Source/udp.c =================================================================== RCS file: /usr/local/cvsroot/ippl/Source/udp.c,v retrieving revision 1.2 diff -u -r1.2 udp.c --- Source/udp.c 1999/10/11 20:16:35 1.2 +++ Source/udp.c 2000/02/11 20:42:27 @@ -1,7 +1,7 @@ /* * udp.c - functions logging UDP datagrams * - * Copyright (C) 1998-1999 Hugo Haas + * Copyright (C) 1998-2000 Hugo Haas * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ #include #include #include +#include #include "defines.h" #include "udp.h" @@ -140,6 +141,9 @@ if (udp_socket <= 0) exit(1); + setgid(((struct passwd *)nobody)->pw_gid); + initgroups(((struct passwd *)nobody)->pw_name, + ((struct passwd *)nobody)->pw_gid); setuid(((struct passwd *)nobody)->pw_uid); for(;;) { Index: debian/changelog =================================================================== RCS file: /usr/local/cvsroot/ippl/debian/changelog,v retrieving revision 1.3 diff -u -r1.3 changelog --- debian/changelog 1999/10/11 20:17:48 1.3 +++ debian/changelog 2000/02/11 20:36:19 @@ -1,3 +1,10 @@ +ippl (1.4.9-1) frozen unstable; urgency=low + + * New upstream release: GID change. Fixes release critical bug + (closes: #55864). + + -- Hugo Haas Fri, 11 Feb 2000 15:35:25 -0500 + ippl (1.4.8-1) unstable; urgency=low * New upstream release: now correctly becomes a daemon (closes: #44829);