[bug-inetutils] Regarding IPv6 capabilities.

2010-07-22 Thread Mats Erik Andersson
member on this list knows my name, be it very briefly. I am trying to get Debian GNU/Linux to accept GNU Rush as a new package. It runs very smoothly, certainly since a tool mkchroot-rush.pl prepares all my chrooted trees from a simple descriptions. With the best of intents, Mats Erik Andersson

[bug-inetutils] On additions to libinetutils.a for IPv6

2010-07-29 Thread Mats Erik Andersson
are simple switch statements to accomplish distinct processing of AF_INET and AF_INET6. They could even be written as inline code, but are best kept as separate code in order to enhance readability. Best regards, Mats Erik Andersson, fil. dr

Re: [bug-inetutils] Regarding IPv6 capabilities.

2010-07-29 Thread Mats Erik Andersson
, please! Best regards for now, Mats Erik Andersson, fil. dr

[bug-inetutils] [patch cont.] Mending client tftp for IPv6

2010-07-30 Thread Mats Erik Andersson
on Debian Squeeze/testing, but the coding is tailored for FreeBSD and OpenBSD as well. I will test in such environment within shortly. Best regards, Mats Erik Andersson, fil. dr Description: Implement IPv6 support in client 'tftp'. The consistent use of 'struct sockaddr_storage

[bug-inetutils] Missing header for logger.c and OpenBSD

2010-07-31 Thread Mats Erik Andersson
(), getutent() and pututline(). There are further problems in ifconfig/ where compilation halts due to missing macros IFF_SLAVE and IFF_MASTER. Regards, Mats Erik Andersson, fil. dr

Re: [bug-inetutils] [patch cont.] Mending client tftp for IPv6

2010-08-13 Thread Mats Erik Andersson
calls to bind(3) and send(3). Thus the patch set will be submitted for examination in a new form. Best regards, Mats Erik Andersson, fil. dr

Re: [bug-inetutils] Missing header for logger.c and OpenBSD

2010-08-14 Thread Mats Erik Andersson
fredag den 6 augusti 2010 klockan 21:01 skrev Sergey Poznyakoff detta: Mats Erik Andersson mats.anders...@gisladisker.se ha escrit: There are further problems in ifconfig/ where compilation halts due to missing macros IFF_SLAVE and IFF_MASTER. These two should be protected

Re: [bug-inetutils] Missing header for logger.c and OpenBSD

2010-08-18 Thread Mats Erik Andersson
onsdag den 18 augusti 2010 klockan 10:14 skrev Alfred M. Szmidt detta: I include a printout for the action to use autoreconf-2.59 and autoreconf-2.62 on a freshly unpacked inetutils-1.8.tar.gz. No manipulation on any file after unpacking, not even a touch to get a more recent time

Re: [bug-inetutils] A command to query the libc resolver

2010-08-18 Thread Mats Erik Andersson
onsdag den 18 augusti 2010 klockan 11:18 skrev Tanguy Ortolo detta: Le mercredi 18 août 2010, Sergey Poznyakoff a écrit???: It is currently quite rough: no localization, no options, and so on. But I think it just works. Do you think such a tool would be worth being integrated to some

[bug-inetutils] On src/logger.c and sys/uio.h.

2010-08-19 Thread Mats Erik Andersson
Hello friends, let me remind you of the need to include #include sys/uio.h to accomodate OpenBSD properly. This dependency is automatically taken care of on a GNU/Linux system, since sys/socket.h in its turn includes sys/uio.h. That no longer holds true for OpenBSD. Presently only

[bug-inetutils] Bits on OpenBSD

2010-08-19 Thread Mats Erik Andersson
Hello, as a side dish I have begun to hunt down quirks needed to get compileable source for OpenBSD. This is the first installment on that track. Please tell me, if you regard this as futile, then I will stop bothering. This first taster is the outcome of getting utmp logging to work on OpenBSD.

[bug-inetutils] Incomplete usage info for telnetd

2010-08-24 Thread Mats Erik Andersson
Hello, the Texinfo page for Telnetd is seriously lacking essential information. Let me propose the following additions. They have been compiled from the source 'telnetd/telnetd.c'. The little experience I have in writing Texinfo source, only lead me to use '@samp{}' repeatedly to accomplish the

[bug-inetutils] Re: Trivial in-code comments for src/inetd.c.

2010-09-04 Thread Mats Erik Andersson
fredag den 3 september 2010 klockan 22:51 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: Hello all, when working in a Debian package bug for inetutils-inetd a few days ago, I came across some plain inaccuracies in the comments regarding code

Re: [bug-inetutils] [patches 1,2,3] Making tftp/tftpd IPv6-capable.

2010-09-06 Thread Mats Erik Andersson
Hello, we have a clash of two objectives here. Support OpenBSD, or not? söndag den 5 september 2010 klockan 23:05 skrev Guillem Jover detta: Hi! On Thu, 2010-08-19 at 10:39:04 +0200, Mats Erik Andersson wrote: diff --git a/libinetutils/sockaddr_aux.c b/libinetutils/sockaddr_aux.c new

Re: [bug-inetutils] [patches 1,2,3] Making tftp/tftpd IPv6-capable.

2010-09-08 Thread Mats Erik Andersson
onsdag den 8 september 2010 klockan 06:09 skrev Guillem Jover detta: Hi! On Mon, 2010-09-06 at 11:36:12 +0200, Mats Erik Andersson wrote: we have a clash of two objectives here. Support OpenBSD, or not? Well, I'm not a GNU maintainer for inetutils, so my opinion is non-authoritative

[bug-inetutils] On the variable attribute extern.

2010-09-08 Thread Mats Erik Andersson
Hello, when looking at the code in src/tftp.c I observe six variables that are declared as extern, yet later all six variables are instantiated in ordinary declarations. The only obvious linking of src/tftp.o is done against libinetutils/tftpsubs.o, where the indicated six variables are not

[bug-inetutils] [patch] src/tftp.c: Erroneous external scope.

2010-09-09 Thread Mats Erik Andersson
. Thank you! Best regards, Mats E A From ecb36a1fb0cf10ce765bc97ea3f497c266095bae Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Thu, 9 Sep 2010 19:00:07 +0200 Subject: [PATCH] src/tftp.c: Remove external scopes, making them static. --- ChangeLog |8

Re: [bug-inetutils] [patches 1,2,3] Making tftp/tftpd IPv6-capable.

2010-09-09 Thread Mats Erik Andersson
onsdag den 8 september 2010 klockan 06:09 skrev Guillem Jover detta: Hi! söndag den 5 september 2010 klockan 23:05 skrev Guillem Jover detta: On Thu, 2010-08-19 at 10:39:04 +0200, Mats Erik Andersson wrote: +get_socklen (struct sockaddr *sa) This one is also unneeded, you

Re: [bug-inetutils] Re: [PATCH] Implement IPv6 capability for the TFTP server.

2010-09-15 Thread Mats Erik Andersson
söndag den 12 september 2010 klockan 19:47 skrev Ludovic Courtès detta: Hi, Mats Erik Andersson mats.anders...@gisladisker.se writes: +2010-09-12 Mats Erik Andersson g...@gisladisker.se + + * libinetutils/tftpsubs.c (synchnet): Upgrade the variable from + to be struct

[bug-inetutils] [patches] Making Inetutils compilable on OpenBSD.

2010-09-15 Thread Mats Erik Andersson
de9822e1de2e3f46cbd5e21811b08539f6d014f3 Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Thu, 16 Sep 2010 00:56:03 +0200 Subject: [PATCH 1/3] ifconfig/flags,options,printif: Correct format strings for unix. --- ChangeLog |8 ifconfig/flags.c |3 +++ ifconfig

[bug-inetutils] [PATCH] src/tftp.c: Implementing IPv6 support.

2010-09-17 Thread Mats Erik Andersson
[2] http://lists.gnu.org/archive/html/bug-inetutils/2010-08/msg00083.html [3] http://lists.gnu.org/archive/html/bug-inetutils/2010-09/msg6.html From 1e5db504b478265ffcfb535388bfbe7365bad6b4 Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson deb...@gisladisker.se Date: Fri, 17 Sep 2010 18:20:49

[bug-inetutils] [PATCH] ping/libping, ping6: Catch BSD-specific behaviour.

2010-09-18 Thread Mats Erik Andersson
is needed in order get a compilable source in ping/ping6.c Best regards, Mats E A == From db4d22730d618d2c0df98d918d799ceb835012a4 Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Sat, 18 Sep 2010 16

[bug-inetutils] configure.ac: Missing header inclusion in IPv6 test.

2010-09-18 Thread Mats Erik Andersson
Bruno Haible addr...@hidden - Mats Erik Andersson wrote: where do you find the source code of that test? ### inetutils/configure.ac, line 330 ### if test ! X$ipv6 = Xno test $working_ipv6 = Xyes; then AC_CHECK_TYPE(struct sockaddr_in6, , working_ipv6=no, [#include

Re: [bug-inetutils] Two AC-tests failing in BSD.

2010-09-19 Thread Mats Erik Andersson
söndag den 19 september 2010 klockan 06:02 skrev Alfred M. Szmidt detta: Has this been pushed to the gnulib hackers? Hi Mats, let me bring two tests from the configuration into focus. These are plainly misconceived to properly examine BSD systems. Thanks a lot for your

Re: [bug-inetutils] [patches 1,2,3] Making tftp/tftpd IPv6-capable.

2010-09-19 Thread Mats Erik Andersson
For the sake of completeness in the archive: The patches originally suggested in this thread have inow been made obsolete by the improved suggestions found in [1] and [2]: libinetutils/tftpsubs.c, src/tftpd.c: [1]

[bug-inetutils] ifconfig/system/qnx.h: Incorrecty declares SOLARIS.

2010-09-20 Thread Mats Erik Andersson
The header file ifconfig/system/qnx.h contains a trivial error: #ifndef IFCONFIG_SYSTEM_SOLARIS_H # define IFCONFIG_SYSYTEM_SOLARIS_H Regards, Mats E A

[bug-inetutils] Re: [patches] man/Makefile.am, telnetd/telnetd.c, ifconfig/if_index.c

2010-09-21 Thread Mats Erik Andersson
tisdag den 21 september 2010 klockan 10:56 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: ifconfig/if_index.c: Encapsulate using HAVE_STRUCT_IF_NAMEINDEX Here I am less certain, so I didn't push this one. All these #ifdef's are ugly. Can't we

[bug-inetutils] Re: [patches] man/Makefile.am, telnetd/telnetd.c, ifconfig/if_index.c

2010-09-21 Thread Mats Erik Andersson
tisdag den 21 september 2010 klockan 12:32 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: Without the proposed change, OpenBSD comes to a halt with a cryptic message about clashing prototypes for free(3). The explanation is that OpenBSD uses

[bug-inetutils] Ifconfig broken on GNU/Linux arch x86_64.

2010-09-22 Thread Mats Erik Andersson
Hello, the code in ifconfig/system/linux.c is broken on my Debian Squeeze amd64 machine. I am starting from a fresh git checkout for x86 and x86_64, but the latter fails in execution. The function linux_if_nameindex() is clearly broken on x86_64. It is used as ### End of

Re: [bug-inetutils] Ifconfig broken on GNU/Linux arch x86_64.

2010-09-22 Thread Mats Erik Andersson
onsdag den 22 september 2010 klockan 18:47 skrev Mats Erik Andersson detta: Hello, the code in ifconfig/system/linux.c is broken on my Debian Squeeze amd64 machine. I am starting from a fresh git checkout for x86 and x86_64, but the latter fails in execution. The function

Re: [bug-inetutils] Ifconfig broken on GNU/Linux arch x86_64.

2010-09-23 Thread Mats Erik Andersson
torsdag den 23 september 2010 klockan 00:56 skrev Mats Erik Andersson detta: onsdag den 22 september 2010 klockan 18:47 skrev Mats Erik Andersson detta: Hello, the code in ifconfig/system/linux.c is broken on my Debian Squeeze amd64 machine. I am starting from a fresh git

[bug-inetutils] Re: [PATCH] Implement IPv6 capability for the TFTP server.

2010-09-28 Thread Mats Erik Andersson
måndag den 27 september 2010 klockan 13:23 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: Let me for free provide a strong reason to reject also the new patch, a patch with which I myself am content: There is no trace of conditioning

Re: [bug-inetutils] configure.ac: Missing header inclusion in IPv6 test.

2010-09-28 Thread Mats Erik Andersson
lördag den 18 september 2010 klockan 19:21 skrev Mats Erik Andersson detta: Hello, with the help of Bruno Haible, a bug has been located in inetutils/configure.ac The original thread started in http://lists.gnu.org/archive/html/bug-gnulib/1010-09/msg00328.html but the message

[bug-inetutils] Re: [PATCH] Implement IPv6 capability for the TFTP server.

2010-09-28 Thread Mats Erik Andersson
tisdag den 28 september 2010 klockan 23:50 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: My other suggested patching of the TFTP client presently adds NI_MAXSERV struct addrinfo getaddrinfo(3) gai_strerror(3

[bug-inetutils] Re: configure.ac: Missing header inclusion in IPv6 test.

2010-09-28 Thread Mats Erik Andersson
tisdag den 28 september 2010 klockan 23:57 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: The proposed change can not be avoided on OpenBSD in order to see the variable IPV6 defined after configuration. Thanks for posting a patch, applied

[bug-inetutils] Re: [PATCH] Implement IPv6 capability for the TFTP server.

2010-09-29 Thread Mats Erik Andersson
onsdag den 29 september 2010 klockan 08:12 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: tisdag den 28 september 2010 klockan 23:50 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: My other suggested

[bug-inetutils] The pending patches of MEA

2010-10-01 Thread Mats Erik Andersson
Dear all, to ease the overview of the patch suggested by me, and which have not yet been settled, let me enumerate them in the order of decreasing urgency. The reference is to the message containing the most recent patch, and the attachement reference in case the test is external to the message.

Re: [bug-inetutils] Missing lib/unlocked-io.h.

2010-10-21 Thread Mats Erik Andersson
torsdag den 21 oktober 2010 klockan 13:25 skrev Alfred M. Szmidt detta: the present bootstrap step fails to bring in gnulib/lib/unlocked-io.h thus cassing a quick build failure. The intended link lib/unlocked-io.h - ../gnu/lib/unlocked-io.h is dangling in

[bug-inetutils] Re: openbsd portability

2010-10-23 Thread Mats Erik Andersson
lördag den 23 oktober 2010 klockan 08:11 skrev Alfred M. Szmidt detta: Mats, do you have any more openbsd fixes that should be applied, or does inetutils work properly now? No, it does not work. I have supplied all material necessary for OpenBSD, but it has not gained the reception I was hoping

[bug-inetutils] Re: openbsd portability

2010-10-26 Thread Mats Erik Andersson
Hello again, a sound status report for OpenBSD follows. lördag den 23 oktober 2010 klockan 10:24 skrev Alfred M. Szmidt detta: Do you have a OpenBSD machine I could access to try and help you? Well, I use three instances of OpenBSD on three physical machines for development, where two of them

[bug-inetutils] Re: [patch] Helping telnetd in OpenBSD.

2010-10-26 Thread Mats Erik Andersson
onsdag den 27 oktober 2010 klockan 00:46 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: For the record, without this minute change telnetd fails on every connection under OpenBSD, be it IPv4 or IPv6. Your patch looks correct to me, so I pushed it. I

[bug-inetutils] The quirks of the bootstrap script

2010-10-30 Thread Mats Erik Andersson
Hello there, I could use a description of the limitation inherent in the script bootstrap, as it applies to GNU Inetutils. I do understand that it comed from GNUlib, but I do also observe some effects that trouble me. The thing is that there are no sufficiently recent autotools available in

[bug-inetutils] [PATCH] Failing traceroute on OpenBSD.

2010-10-30 Thread Mats Erik Andersson
now perform route tracing, using UDP as well as ICMP. Best regards, Mats From 2561b96f368ec572e7e1d47c8224e8490bd53c4f Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Sat, 30 Oct 2010 23:26:06 +0200 Subject: [PATCH] src/traceroute.c: Pass integer values to IP_TTL

Re: [bug-inetutils] [PATCH] Failing traceroute on OpenBSD.

2010-11-02 Thread Mats Erik Andersson
söndag den 31 oktober 2010 klockan 16:03 skrev Alfred M. Szmidt detta: Applied! 2010-10-31 Mats Erik Andersson g...@gisladisker.se traceroute: Pass integer values to IP_TTL option. * src/traceroute.c (trace_init): Renamed TTLP to TTL, and changed type to `int

[bug-inetutils] Re: openbsd portability

2010-11-02 Thread Mats Erik Andersson
clean up the code when if_freenameindex is portably supported by gnulib. Applied. 2010-10-31 Mats Erik Andersson addr...@hidden * ifconfig/if_index.c (if_nametoindex, if_freenameindex) (if_nameindex): Provide functions only if HAVE_STRUCT_IF_NAMEINDEX isn't defined

[bug-inetutils] Build failure of telnetd in GNU/kFreeBSD.

2010-11-02 Thread Mats Erik Andersson
I did a test run in GNU/kFreeBSD and came only as far as a compile failure of telnetd/telnetd.o: make: Entering directory `/tmp/inetutils/telnetd' CC telnetd.o In file included from telnetd.h:47, from telnetd.c:23: /usr/include/stropts.h:67: error:

[bug-inetutils] whois/ip_del.h: long or long-long

2010-11-03 Thread Mats Erik Andersson
When compiling on FreeBSD, every line from whois/ip_del.h causes a warning large integer implicitly truncated to unsigned type. To me the second array element looks like unsigned long long, yet whois/data.h declares it as an unsigned long. Should this be a source of concern? Regards, Mats

[bug-inetutils] No target dependency on libinetutils.a.

2010-11-03 Thread Mats Erik Andersson
Hello all, I have noticed all along that the different binaries do not specify libinetutils.a as a build target prerequisite. This is awkward when tracking down bugs. Is this intentional of some obscure reason? Regards, Mats

[bug-inetutils] Traceroute in inet6-preferred environments.

2010-11-03 Thread Mats Erik Andersson
a guard against unusual but legitimate system setups. Tested on GNU/Linux, OpenBSD, and FreeBSD. The service `traceroute' is now immune against the above call. Best regards, Mats From 25b295cdb88d15cd8c067a354162d361cfde3942 Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se

Re: [bug-inetutils] No target dependency on libinetutils.a.

2010-11-03 Thread Mats Erik Andersson
onsdag den 3 november 2010 klockan 12:16 skrev Alfred M. Szmidt detta: Hello all, I have noticed all along that the different binaries do not specify libinetutils.a as a build target prerequisite. This is awkward when tracking down bugs. Is this intentional of some obscure

Re: [bug-inetutils] [PATCH] Failing traceroute on OpenBSD.

2010-11-03 Thread Mats Erik Andersson
A regression is caused by the original patch in this thread. Please check very carefully that I have managed to handle Git correctly now, when mending this matter. söndag den 31 oktober 2010 klockan 16:03 skrev Alfred M. Szmidt detta: Applied! 2010-10-31 Mats Erik Andersson g

Re: [bug-inetutils] Re: [PATCH] Inetd and test scripts

2010-11-04 Thread Mats Erik Andersson
Dear Ludovic, you pose good questions which we need to discuss. torsdag den 4 november 2010 klockan 00:03 skrev Ludovic Courtès detta: Hello, Mats Erik Andersson mats.anders...@gisladisker.se writes: [...] +# Check that the port is still available +netstat -na | grep -q ^$PROTO

Re: [bug-inetutils] Re: [PATCH] Inetd and test scripts

2010-11-04 Thread Mats Erik Andersson
torsdag den 4 november 2010 klockan 00:09 skrev Ludovic Courtès detta: Hello, +# Check that the port is still available +netstat -na | grep -q ^$PROTO .*$PORT +if test $? -eq 0; then +echo Desired port $PORT/$PROTO is already in use. +exit 1 +fi

[bug-inetutils] On hardcoded pid-files.

2010-11-04 Thread Mats Erik Andersson
Hello all, I just noticed that `ftpd' and `inetd' use hardcoded paths to their PID recording files: $(localstatedir)/run/ftpd.pid $(localstatedir)/run/inetd.pid There is a command line option for `ftpd' to change this, but none such for `inetd'. Is this a design decision hewn into

[bug-inetutils] Tracking of build failures.

2010-11-04 Thread Mats Erik Andersson
Hello all, let me, inspired by the information from Ludovic Courtès, start a long time thread for recording and discussing build failures of Inetutils, internal and external. Reading the build log journal at http://hydra.nixos.org/jobset/gnu/inetutils-master/ I can immediately record three

[bug-inetutils] inetd: Environment and IPv6.

2010-11-08 Thread Mats Erik Andersson
of improved book keeping of socket lengths. Best regards, Mats From 78fcde1eafe9484a866b7484537f82363fc12b78 Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Mon, 8 Nov 2010 17:29:36 +0100 Subject: [PATCH] inetd: Environment variables also for IPv6. --- ChangeLog | 14

Re: [bug-inetutils] No target dependency on libinetutils.a.

2010-11-08 Thread Mats Erik Andersson
onsdag den 3 november 2010 klockan 12:16 skrev Alfred M. Szmidt detta: Hello all, I have noticed all along that the different binaries do not specify libinetutils.a as a build target prerequisite. This is awkward when tracking down bugs. Is this intentional of some obscure

Re: [bug-inetutils] [PATCH] inetd: Listen on connections for tcpmux services

2010-11-13 Thread Mats Erik Andersson
$ getent services tcpmux is a correct call. Best regards, Mats E A From f7a67c19fb268b78e6474834247b099c774c1dcf Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Sat, 13 Nov 2010 11:09:34 +0100 Subject: [PATCH] inetd: Distinguish `enter' and `expand_enter

Re: [bug-inetutils] On hardcoded pid-files.

2010-11-18 Thread Mats Erik Andersson
torsdag den 18 november 2010 klockan 05:26 skrev Guillem Jover detta: On Fri, 2010-11-05 at 12:45:27 -0400, Alfred M. Szmidt wrote: Personally, I'd like to get the whole PID file cruft removed... ftpd, inetd, and what not should return the proper PID via other means. Uh? What other means?

Re: [bug-inetutils] Two errors in FreeBSD and GNU/kFreeBSD.

2010-11-22 Thread Mats Erik Andersson
torsdag den 18 november 2010 klockan 05:12 skrev Guillem Jover detta: Hi! On Wed, 2010-11-03 at 09:42:43 +0100, Mats Erik Andersson wrote: Two minor errors: one at compile time and one at execution time. The latter affects only FreeBSD to my knowledge. From

Re: [bug-inetutils] Tracking of build failures.

2010-11-22 Thread Mats Erik Andersson
An update, after pushing pending patches. söndag den 7 november 2010 klockan 17:01 skrev Alfred M. Szmidt detta: Is there any information available for OpenSolaris, AIX, HP-UX, NetBSD, MirBSD, Dragonfly, etcetera? Not as far as I know with any recent version of inetutils. I have just

[bug-inetutils] Three half-way ACK:ed patches.

2010-11-22 Thread Mats Erik Andersson
for functionality on GNU/Linux, GNU/kFreeBSD, OpenBSD, and FreeBSD. Best regards as always, Mats From e3e16f768fada62b24a0895f56fd05806122c1fc Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Mon, 22 Nov 2010 15:43:53 +0100 Subject: [PATCH 1/3] inetd: Distinct service

Re: [bug-inetutils] New test client for Inetd.

2010-11-22 Thread Mats Erik Andersson
. Best regards, Mats From 8ef5cf47d8f47c819b911ada94763367b8c5869d Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Tue, 23 Nov 2010 00:22:41 +0100 Subject: [PATCH 2/2] addrpeek: New test service for Inetd. --- ChangeLog |6 ++ tests/Makefile.am |4

[bug-inetutils] Three small modifications to Inetd.

2010-11-27 Thread Mats Erik Andersson
the hard coded path of the PID file. Observe that it is implemented as the type with optional argument. This allows the usage `inetd -p /etc/inetd.conf'. Regards, Mats From ca5fb2430ec4c36e4765ea0e9cb00a5a1e087eda Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Sat

[bug-inetutils] Three bugs of Inetd: fix_tcpmux().

2010-11-27 Thread Mats Erik Andersson
Hello all, let me point out three deficiencies of Inetd, being due to incompleteness of the function fix_tcpmux(). 1. In a situation where a service entry for the internal service TCPMUX is being inserted by fix_tcpmux(), then the global node list is ignored, hence a universal

[bug-inetutils] ping: Discard single octets as host name.

2010-11-27 Thread Mats Erik Andersson
=323165 From bd64b0d72a5796a7617a9aa2ee67498b48221abd Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Sat, 27 Nov 2010 19:09:24 +0100 Subject: [PATCH] ping: Discard single octets as host name. --- ChangeLog |5 + ping/libping.c |9 + 2 files

Re: [bug-inetutils] Three half-way ACK:ed patches.

2010-11-28 Thread Mats Erik Andersson
[...] diff --git a/ChangeLog b/ChangeLog index daf9708..05b7e56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-11-22 Mats Erik Andersson g...@gisladisker.se =20 + Partially revert changes introduced in fd64a202. Alas, the has says nothing

[bug-inetutils] Re: Three half-way ACK:ed patches.

2010-11-28 Thread Mats Erik Andersson
söndag den 28 november 2010 klockan 16:57 skrev Alfred M. Szmidt detta: PS. Would it be possible for you to send the patches as inline-text instead of MIME attachments? I recall Simon wanting MIME attachments, but I prefer inlined-text. If it would be hard to do this, then

[bug-inetutils] Re: ping: Discard single octets as host name.

2010-12-07 Thread Mats Erik Andersson
tisdag den 7 december 2010 klockan 13:22 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: Hello again, there is an old bug report [1] filed with Debian, which makes much sense. It is a wish that the call ping 10 should return an error

[bug-inetutils] Re: [SCM] GNU Inetutils branch, master, updated. inetutils-1_8-78-g3954dfe

2011-01-03 Thread Mats Erik Andersson
söndag den 2 januari 2010 klockan 09:08 skrev Alfred M. Szmidt detta: 2010-12-21 Mats Erik Andersson g...@gisladisker.se + * src/inetd.c (pidfile_option): New variable. + (pid_file): New variable. + (argp_options): Add an option for replacing path of PID file. s/path

[bug-inetutils] Re: openbsd and bootstrap

2011-01-05 Thread Mats Erik Andersson
söndag den 2 januari 2010 klockan 10:48 skrev Alfred M. Szmidt detta: Mats, how exactly are you doing ./bootstrap ./configure on OpenBSD? And with which version of OpenBSD, autoconf and automake? Could you send the output of `./configure cat config.log make'? To be honest I have not yet

Re: [bug-inetutils] The pending patches of MEA

2011-01-13 Thread Mats Erik Andersson
The patch for an IPv6 able TFTP client is still pending. fredag den 1 oktober 2010 klockan 14:10 skrev Mats Erik Andersson detta: * An IPv6 capable TFTP client. No comments so far by any list reader. A conditional on NI_MAXHOST should be inserted. http://lists.gnu.org

[bug-inetutils] Re: [PATCH] Make `logger' IPv6-capable.

2011-01-19 Thread Mats Erik Andersson
onsdag den 19 januari 2011 klockan 11:16 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: onsdag den 19 januari 2011 klockan 08:24 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: [...] a) Do you like

[bug-inetutils] On the use of non-exiting error().

2011-01-19 Thread Mats Erik Andersson
onsdag den 19 januari 2011 klockan 11:41 skrev Alfred M. Szmidt detta: Now both are implemented, but '--ipv6' prints a warning message to STDOUT and falls back to IPv4 if the system is not compiled with IPv6 support. One correction: The warning goes to STDERR, since it is

[bug-inetutils] [PATCH] traceroute: Remove geteuid test.

2011-01-25 Thread Mats Erik Andersson
-uid-bit, or a new use of file capabilities for either of ping, ping6, or traceroute when built from our sources. Best regards, Mats From 06ba111fdb44596c0a8e5a038809b0056991821e Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Tue, 25 Jan 2011 12:42:03 +0100

[bug-inetutils] Re: [PATCH] traceroute: Remove geteuid test.

2011-01-25 Thread Mats Erik Andersson
tisdag den 25 januari 2011 klockan 13:06 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: - if (geteuid () != 0) -error (EXIT_FAILURE, EPERM, insufficient permissions); How does the error message look when there is insufficient permission

[bug-inetutils] syslogd uses inet socket excessively

2011-02-01 Thread Mats Erik Andersson
Dear all, there is a major problem with the UDP socket used by IU-syslogd. The only way to switch off the listening socket is to use --no-forward, which in turn prevents any forwarding of messages. This phenomenon has been observed by Guillem Jover in the Debian package inetutils-syslogs, which

Re: [bug-inetutils] [PATCH] Memory leak in syslogd.

2011-02-08 Thread Mats Erik Andersson
that it might take thousands of reloads before s given system senses any disturbance. Still, we would all agree that any known leaks ought to be closed at the source. Best regards, Mats -- Mats Erik Andersson, fil. dr mats.anders...@gisladisker.se 2459 41E9 C420 3F6D F68B 2E88 F768 4541 F25B

Re: [bug-inetutils] syslogd uses inet socket excessively

2011-02-11 Thread Mats Erik Andersson
tisdag den 8 februari 2011 klockan 14:19 skrev Alfred M. Szmidt detta: Concerning the second action I would like to hear oppinions as to performance losses caused by repeated creation of the UDP socket. Only way to know that is to do a benchmark, though I think we need not to worry.

Re: [bug-inetutils] inetutils 1.8: Crash of the FTP server in debug mode

2011-03-04 Thread Mats Erik Andersson
-ftpd that is the cause. The variation uses #ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); #end in two passages. Regards, Mats Erik Andersson

[bug-inetutils] Configure script incorrect for 'sa_len'.

2011-04-07 Thread Mats Erik Andersson
Dear all, the top level file 'configure.ac' correctly contains a test for the presence of 'sa_len' in 'struct sockaddr' using the header files 'sys/types.h' and 'sys/socket.h'. However, after bootstrapping, the new 'configure' impements two test versions, one of them has eliminated sys/types.h.

[bug-inetutils] [PATCH 1/4] FTP client is migrating to IPv6.

2011-04-08 Thread Mats Erik Andersson
a/ChangeLog b/ChangeLog index cc1ee67..67e6427 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,25 @@ +2011-04-08 Mats Erik Andersson g...@gisladisker.se + + * ftp/cmds.c (setepsv4): New function. + (setpeer): Use the variable PORT in host byte order. + (status): New status message, based on DOEPSV4

[bug-inetutils] [PATCH 2/4] FTP client is migrating to IPv6.

2011-04-17 Thread Mats Erik Andersson
6406851b3fb6cf4d396c49c7f2143369d7bd4a0e Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson g...@gisladisker.se Date: Sun, 17 Apr 2011 23:27:31 +0200 Subject: [PATCH] ftp: Activate support for IPv6. --- ChangeLog | 12 + ftp/ftp.c | 76 +--- ftp

Re: [bug-inetutils] Something about ifconfig --format=unknown

2011-05-05 Thread Mats Erik Andersson
torsdag den 5 maj 2011 klockan 13:36 skrev Alfred M. Szmidt detta: So, I don't think this is a bug. If it really does some matter, I tend to believe that is a question of design. Because I find it is somewhat a little complex to avoid the unknown format to be printed more than

[bug-inetutils] Is bootstrap script failing everywhere?

2011-05-06 Thread Mats Erik Andersson
Dear all, for at least a month the bootstrap script from our Git repository is never able to fetch/clone the content needed from GNUlib. Do all of you observe the same phenomenon? I use old instanza to test the code under development. Best regards, Mats

Re: [bug-inetutils] Is bootstrap script failing everywhere?

2011-05-09 Thread Mats Erik Andersson
måndag den 9 maj 2011 klockan 12:36 skrev Simon Josefsson detta: It works fine here -- although I use --gnulib-srcdir=$HOME/src/gnulib --skip-po. Could you try to check out gnulib manually and then point to that checkout using --gnulib-srcdir? I succeeded once with a manual git clone

[bug-inetutils] Doing work on syslogd.

2011-05-09 Thread Mats Erik Andersson
Dear all, I just like to keep you informed that my next task is aimed at `syslogd', with two goals set: * Implement IPv6 support, * Implement listening to one or more specified addresses. In case anybody has more ideas, do let me know in order that I do not disturb that intention. One good

Re: [bug-inetutils] Is bootstrap script failing everywhere?

2011-05-09 Thread Mats Erik Andersson
måndag den 9 maj 2011 klockan 18:01 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: måndag den 9 maj 2011 klockan 12:36 skrev Simon Josefsson detta: It works fine here -- although I use --gnulib-srcdir=$HOME/src/gnulib --skip-po. Could you try

Re: [bug-inetutils] [PATCH] syslogd: Dereferencing NULL.

2011-05-25 Thread Mats Erik Andersson
onsdag den 11 maj 2011 klockan 13:10 skrev Mats Erik Andersson detta: Dear all, I have discovered a NULL pointer leading to segmentation fault. The rescue has been verified on GNU/Linux and OpenBSD. What does it take to get a bug mended in this software project? The present patch needs six

Re: [bug-inetutils] release?

2011-05-31 Thread Mats Erik Andersson
tisdag den 31 maj 2011 klockan 14:59 skrev Alfred M. Szmidt detta: What about a release? I am guessing that Mats-Erik has a bunch of changes that should be applied, Mats-Erik what say you? And yes, I am back! For real this time. :-) Two things that must be added or rejected: 1. TFTP

[bug-inetutils] Many complaints on HAVE_..._SHORT_NAME

2011-06-15 Thread Mats Erik Andersson
Dear all, I am building on FreeBSD and OpenBSD at the moment, using a bootstrapped source tree. It now seems that GNUlib is infering with our file 'config.h': ../config.h:561:1: warning HAVE_DECL_PROGRAM_INVOCATION_NAME redefined In file influded from syslogd.h:100: ../lib/argp.h:431:1:

Re: [bug-inetutils] Early compilation failure with NexentaCore.

2011-06-16 Thread Mats Erik Andersson
torsdag den 16 juni 2011 klockan 13:14 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: typedef sig_t; This does not apply to OpenSolaris: /* config.h */ /* #undef HAVE_SIG_T */ Glibc uses 'sighandler_t' for this, and gnulib should

[bug-inetutils] URGENT: Early compilation failure with NexentaCore.

2011-06-16 Thread Mats Erik Andersson
torsdag den 16 juni 2011 klockan 13:14 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: Dear all, we have clearly no support for OpenSolaris in our project. Since two weeks back I have a system running NexentaCore, providing me with some services

Re: [bug-inetutils] Many complaints on HAVE_..._SHORT_NAME

2011-06-16 Thread Mats Erik Andersson
torsdag den 16 juni 2011 klockan 18:03 skrev Alfred M. Szmidt detta: Can you try this and see if it works? You need to make sure that config.h is regenerated to not include any local hacks. If it works, I'll commit it since any changes to autoconf, if they will be done, will take a while to

Re: [bug-inetutils] URGENT: Early compilation failure with NexentaCore.

2011-06-17 Thread Mats Erik Andersson
fredag den 17 juni 2011 klockan 07:51 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: torsdag den 16 juni 2011 klockan 13:14 skrev Simon Josefsson detta: Mats Erik Andersson mats.anders...@gisladisker.se writes: Dear all, we have clearly

Re: [bug-inetutils] URGENT: Early compilation failure with NexentaCore.

2011-06-17 Thread Mats Erik Andersson
fredag den 17 juni 2011 klockan 14:22 skrev Alfred M. Szmidt detta: Mats, can you try this? Requires rebootstrap. Well done, Alfred! Inserting the suggested patch on top of HEAD (00a01d), and bootstraping, this allows a complete build in OpenBSD 4.6, and it allows a build on NexentaCore to

[bug-inetutils] First part of IPv6 adaption for syslogd.

2011-06-18 Thread Mats Erik Andersson
to recalculate the present patch against HEAD, once you all agree. Best regards for now, Mats -- Mats Erik Andersson, fil. dr mats.anders...@gisladisker.se 2459 41E9 C420 3F6D F68B 2E88 F768 4541 F25B 5D41 Abonnerar på: debian-mentors, debian-devel-games, debian-perl, debian-ipv6

Re: [bug-inetutils] configure.ac rewrite

2011-06-18 Thread Mats Erik Andersson
lördag den 18 juni 2011 klockan 10:39 skrev Alfred M. Szmidt detta: So every ten years I seem to manage to rewrite configure.ac to follow more modern principles. Here is this decades version that I am working one. Mats, if you have time, could you try it out? I am guessing that things will

Re: [bug-inetutils] configure.ac rewrite

2011-06-18 Thread Mats Erik Andersson
lördag den 18 juni 2011 klockan 18:56 skrev Mats Erik Andersson detta: lördag den 18 juni 2011 klockan 10:39 skrev Alfred M. Szmidt detta: So every ten years I seem to manage to rewrite configure.ac to follow more modern principles. Here is this decades version that I am working one. Mats

[bug-inetutils] Remarks on OpenSolaris/NexentaCore.

2011-06-18 Thread Mats Erik Andersson
Dear all, let me quickly convey important observations on OpenSolaris that influence us. As time passes I hope to continue the analysis begun here. The syslog declarations and network coding come to my mind, as they are the most obvious. Regards, Mats syslog.h Missing LOG_PERROR

  1   2   3   >