Pb with inetd and ftp/tcp

1999-06-19 Thread Jean-Michel Rouet

I'm using a debian systems for 3 years or so with no problem at all. But
recently I discovered a rather stranger behavior with inetd and
particularly with ftp

Imagine that an evil person want to crash your machine sending a lot of 
non-authorized ftp requests like this (shell is zsh)

$ while `true`
$ do
$   lftp -u foo,bar -e ls target-host &
$ done

after a few loops, the inetd daemon detects a problem and stops the ftp
server.
--> I found this message in the /var/log/daemon.log of the target-host
(in fact localhost :-))

Jun 19 14:34:52 joebar inetd[22750]: ftp/tcp server failing (looping),
service terminated


So as I understand it, anyone who has a tcp access to a machine can send a
huge amount of invalid ftp request and therefore crashes (or stops) the
ftp server !!! 

Is it a normal behavior ? 

JM 



--
Jean-Michel Rouet (thesard Dpt ITI) | Tel   : +33 298 001 057
ENST de Bretagne| email : [EMAIL PROTECTED]
29285 Brest Cedex   |
France  | http://www-iti.enst-bretagne.fr/~rouet/


Re: Dosemu-problems

1998-02-26 Thread Jean-Michel Rouet
On Thu, 26 Feb 1998, Gernot Bauer wrote:

> Hi, 
> 
> I installed the dosemu-package (stable-distribution) but the config-file
> is missing (should be /etc/dosemu/conf) and I cant find a readme how to
> create one...
> 

Maybe have a look in /var/lib/dosemu/...


--
Jean-Michel Rouet (thesard Dpt ITI) | Tel   : +33 298 001 730
ENST de Bretagne| email : [EMAIL PROTECTED]
29285 Brest Cedex   |
France  | http://www-iti.enst-bretagne.fr/~rouet/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Dosemu-problems

1998-02-26 Thread Jean-Michel Rouet
On Thu, 26 Feb 1998, Gernot Bauer wrote:

> Jean-Michel Rouet wrote:
> >
> > Maybe have a look in /var/lib/dosemu/...
> > 
> I just have the "hdimage" there :(
> 
> Am I missing something?
> 

I've inspected the dosemu_0.66.3-1.deb package

it contains :
-rw-r--r-- root/root 28011 May 5 13:36 1997  usr/lib/dosemu/config.dist
 
that should be what you're looking at


I guess the .deb package should put it directly in /etc/dosemu/dosemu.conf
and replace the previous one (if it exists) by a dosemu.conf.orig or sthg
like that...


--
Jean-Michel Rouet (thesard Dpt ITI) | Tel   : +33 298 001 730
ENST de Bretagne| email : [EMAIL PROTECTED]
29285 Brest Cedex   |
France  | http://www-iti.enst-bretagne.fr/~rouet/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: /etc/cron.daily/wn error

1998-02-26 Thread Jean-Michel Rouet
On Thu, 26 Feb 1998, Luis Francisco Gonzalez wrote:

> Hi, I have been getting this error and I don't really know what's going on. 
> 
> > Date: Thu, 26 Feb 1998 06:47:33 + (GMT)
> > From: root (Cron Daemon)
> > To: root
> > Subject: Cron <[EMAIL PROTECTED]> run-parts /etc/cron.daily
> > 
> >Mime type file too large.
> > run-parts: /etc/cron.daily/wn exited with return code 2
> 
> Any pointers?
> 

Have a look to the script /etc/cron.daily/wn

cron executes daily weekly and monthly the contents of :
/etc/cron.daily
/etc/cron.weekly
/etc/cron.monthly

depending on the contents of /etc/crontab 
/etc/crontab on my machine :
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
42 6* * *   rootrun-parts /etc/cron.daily
47 6* * 7   rootrun-parts /etc/cron.weekly
52 61 * *   rootrun-parts /etc/cron.monthly


So every day at 6:42 AM all the scripts in /etc/cron.daily will be
executed. In fact only those following the #!/bin/interpretername
convention (see man run-parts)

To get back to your pb, I don't actually know what 'wn' stands for, so you
need to look at /etc/cron.daily/wn or the
program it is linked to.

--
Jean-Michel Rouet (thesard Dpt ITI) | Tel   : +33 298 001 730
ENST de Bretagne| email : [EMAIL PROTECTED]
29285 Brest Cedex   |
France  | http://www-iti.enst-bretagne.fr/~rouet/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dump screen to file

1998-02-27 Thread Jean-Michel Rouet
On Thu, 26 Feb 1998, Paul Miller wrote:

> How can I dumb the console screen to a file via a bash shell command (or
> program)?
> 

man xwd

man import (in ImageMagick package)

--
Jean-Michel Rouet (thesard Dpt ITI) | Tel   : +33 298 001 730
ENST de Bretagne| email : [EMAIL PROTECTED]
29285 Brest Cedex   |
France  | http://www-iti.enst-bretagne.fr/~rouet/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .