Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-24 Thread Jeroen Ruigrok/Asmodai
* David Malone (dwmal...@maths.tcd.ie) [990723 18:41]: > if ((bi->bi_socktype == sep->se_socktype && > strcmp(bi->bi_service, sep->se_service) == 0) || > matchservent(bi->bi_service, sep->se_service, >

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-24 Thread Jeroen Ruigrok/Asmodai
* David Malone ([EMAIL PROTECTED]) [990723 18:41]: > if ((bi->bi_socktype == sep->se_socktype && > strcmp(bi->bi_service, sep->se_service) == 0) || > matchservent(bi->bi_service, sep->se_service, >

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread David Malone
I've found the problem - it looks like a bug in the code for matching internal service names to /etc/service names. The code says: if ((bi->bi_socktype == sep->se_socktype && strcmp(bi->bi_service, sep->se_service) == 0) ||

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread David Malone
I've found the problem - it looks like a bug in the code for matching internal service names to /etc/service names. The code says: if ((bi->bi_socktype == sep->se_socktype && strcmp(bi->bi_service, sep->se_service) == 0) ||

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Dag-Erling Smorgrav
Andre Albsmeier writes: > Just to overcome speculations :-) I just tested it on another machine > with the same result. If have tested it now between all 3 machines in > each direction. Same result. Weird. I'm unable to reproduce it; my test box responds to UDP queries but does not log them (thou

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Andre Albsmeier
On Fri, 23-Jul-1999 at 15:35:48 +0200, Dag-Erling Smorgrav wrote: > Andre Albsmeier writes: > > Comes in private email. It's about 130KB after which tcpdump crashed with: > > > > zsh: 5741 segmentation fault tcpdump -i fxp0 150 udp or icmp > > Weird. Very weird. Just to overcome speculations :-

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Dag-Erling Smorgrav
Andre Albsmeier writes: > Comes in private email. It's about 130KB after which tcpdump crashed with: > > zsh: 5741 segmentation fault tcpdump -i fxp0 150 udp or icmp Weird. Very weird. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Andre Albsmeier
On Fri, 23-Jul-1999 at 15:16:14 +0200, Dag-Erling Smorgrav wrote: > Sheldon Hearn writes: > > I know exactly why you see what you see when you do what you do. All I > > can say is "don't do that", because I can't think of a why to cater for > > what you're doing in a sensible fashion. > > I think

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Andre Albsmeier
On Fri, 23-Jul-1999 at 15:09:12 +0200, Sheldon Hearn wrote: > > > On Fri, 23 Jul 1999 15:06:02 +0200, Andre Albsmeier wrote: > > > But when inetd is run without -l it get 100%. > > Are you avoiding my question on purpose? :-) Sorry. The machine wasn't stressed by other programs so it was "the

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Dag-Erling Smorgrav
Sheldon Hearn writes: > I know exactly why you see what you see when you do what you do. All I > can say is "don't do that", because I can't think of a why to cater for > what you're doing in a sensible fashion. I think you're jumping to conclusions. What I'd like to see is a tcpdump log of the U

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Sheldon Hearn
On Fri, 23 Jul 1999 15:06:02 +0200, Andre Albsmeier wrote: > But when inetd is run without -l it get 100%. Are you avoiding my question on purpose? :-) > On Fri, 23-Jul-1999 at 14:29:19 +0200, Sheldon Hearn wrote: > > > What does "sucking all the CPU time" mean? Does it mean that other > > pro

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Dag-Erling Smorgrav
Andre Albsmeier <[EMAIL PROTECTED]> writes: > Just to overcome speculations :-) I just tested it on another machine > with the same result. If have tested it now between all 3 machines in > each direction. Same result. Weird. I'm unable to reproduce it; my test box responds to UDP queries but doe

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Andre Albsmeier
On Fri, 23-Jul-1999 at 14:29:19 +0200, Sheldon Hearn wrote: > > [Hijacked from cvs-committers and cvs-all] > > On Fri, 23 Jul 1999 11:28:12 +0200, Andre Albsmeier wrote: > > > I observed some kind of denial of service on -STABLE: I was > > playing with the new nmap and did a 'nmap -sU printfix'.

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Andre Albsmeier
On Fri, 23-Jul-1999 at 15:35:48 +0200, Dag-Erling Smorgrav wrote: > Andre Albsmeier <[EMAIL PROTECTED]> writes: > > Comes in private email. It's about 130KB after which tcpdump crashed with: > > > > zsh: 5741 segmentation fault tcpdump -i fxp0 150 udp or icmp > > Weird. Very weird. Just to over

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Dag-Erling Smorgrav
Andre Albsmeier <[EMAIL PROTECTED]> writes: > Comes in private email. It's about 130KB after which tcpdump crashed with: > > zsh: 5741 segmentation fault tcpdump -i fxp0 150 udp or icmp Weird. Very weird. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROT

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Andre Albsmeier
On Fri, 23-Jul-1999 at 15:16:14 +0200, Dag-Erling Smorgrav wrote: > Sheldon Hearn <[EMAIL PROTECTED]> writes: > > I know exactly why you see what you see when you do what you do. All I > > can say is "don't do that", because I can't think of a why to cater for > > what you're doing in a sensible f

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Andre Albsmeier
On Fri, 23-Jul-1999 at 15:09:12 +0200, Sheldon Hearn wrote: > > > On Fri, 23 Jul 1999 15:06:02 +0200, Andre Albsmeier wrote: > > > But when inetd is run without -l it get 100%. > > Are you avoiding my question on purpose? :-) Sorry. The machine wasn't stressed by other programs so it was "the

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Sheldon Hearn
[Hijacked from cvs-committers and cvs-all] On Fri, 23 Jul 1999 11:28:12 +0200, Andre Albsmeier wrote: > I observed some kind of denial of service on -STABLE: I was > playing with the new nmap and did a 'nmap -sU printfix'. > inetd was running as "inetd -l" and started sucking all the > CPU time

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Dag-Erling Smorgrav
Sheldon Hearn <[EMAIL PROTECTED]> writes: > I know exactly why you see what you see when you do what you do. All I > can say is "don't do that", because I can't think of a why to cater for > what you're doing in a sensible fashion. I think you're jumping to conclusions. What I'd like to see is a

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Sheldon Hearn
On Fri, 23 Jul 1999 15:06:02 +0200, Andre Albsmeier wrote: > But when inetd is run without -l it get 100%. Are you avoiding my question on purpose? :-) > On Fri, 23-Jul-1999 at 14:29:19 +0200, Sheldon Hearn wrote: > > > What does "sucking all the CPU time" mean? Does it mean that other > > pr

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Andre Albsmeier
On Fri, 23-Jul-1999 at 14:29:19 +0200, Sheldon Hearn wrote: > > [Hijacked from cvs-committers and cvs-all] > > On Fri, 23 Jul 1999 11:28:12 +0200, Andre Albsmeier wrote: > > > I observed some kind of denial of service on -STABLE: I was > > playing with the new nmap and did a 'nmap -sU printfix'

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread Sheldon Hearn
[Hijacked from cvs-committers and cvs-all] On Fri, 23 Jul 1999 11:28:12 +0200, Andre Albsmeier wrote: > I observed some kind of denial of service on -STABLE: I was > playing with the new nmap and did a 'nmap -sU printfix'. > inetd was running as "inetd -l" and started sucking all the > CPU time