Hung sendmail-8.9.1 processes on HP-UX 10.20

Hung sendmail-8.9.1 processes on HP-UX 10.20

Post by Vinod Kutt » Mon, 20 Jul 1998 04:00:00



I was testing out the access_db feature with sendmail-8.9.1 which I
compiled under HP-UX 10.20 and I have noticed a problem.

I'm using /etc/mail/access.db, with the source containing the following
for testing purposes:




I telneted to port 25 after running makemap and this is what my session
looked like after the EHLO command:



rset
250 Reset state

At this point, the connection 'hangs'. From the client side, I can kill
the connection, but on the machine running the sendmail daemon, the
sendmail process continues to run. It's been running for almost 24 hours
now.

I can send it a SIGUSR1 with kill, resulting in the following syslog
entries:

Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: --- dumping state on user
signal: $j = xyz0.cc.uic.edu ---
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: CurChildren = 0
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: --- open file
descriptors: ---
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   0: fl=0x0, mode=20666:
CHR: size=0
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   1: CANNOT STAT (Invalid
argument)
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   2: fl=0x1, mode=20666:
CHR: size=0
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   3: fl=0x10001,
mode=10666: FIFO: size=4096
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   4: CANNOT STAT (Invalid
argument)
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   5: CANNOT STAT (Invalid
argument)
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   7: fl=0x0, mode=100600:
size=40960
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   8: fl=0x0, mode=100644:
size=40960
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: --- connection cache: ---
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: --- end of state dump ---

NB: I've set Timeout.command=20m using confTO_COMMAND in my m4 source.

I just tried a similar SMTP conversation with a valid MAIL FROM: ....
command (i.e. passes access_db checks) and it seems the RSET followed by
a new and valid MAIL FROM: ... also hangs.

Has anyone seen this? Seems like an easy way to create a DOS attack. I
have yet to try this on another OS.

Thanks,
Vinod Kutty.

 
 
 

Hung sendmail-8.9.1 processes on HP-UX 10.20

Post by Vinod Kutt » Mon, 20 Jul 1998 04:00:00


I was testing out the access_db feature with sendmail-8.9.1 which I
compiled under HP-UX 10.20 and I have noticed a problem.

I'm using /etc/mail/access.db, with the source containing the following
for testing purposes:




I telneted to port 25 after running makemap and this is what my session
looked like after the EHLO command:



rset
250 Reset state

At this point, the connection 'hangs'. From the client side, I can kill
the connection, but on the machine running the sendmail daemon, the
sendmail process continues to run. It's been running for almost 24 hours
now.

I can send it a SIGUSR1 with kill, resulting in the following syslog
entries:

Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: --- dumping state on user
signal: $j = xyz0.cc.uic.edu ---
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: CurChildren = 0
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: --- open file
descriptors: ---
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   0: fl=0x0, mode=20666:
CHR: size=0
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   1: CANNOT STAT (Invalid
argument)
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   2: fl=0x1, mode=20666:
CHR: size=0
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   3: fl=0x10001,
mode=10666: FIFO: size=4096
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   4: CANNOT STAT (Invalid
argument)
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   5: CANNOT STAT (Invalid
argument)
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   7: fl=0x0, mode=100600:
size=40960
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE:   8: fl=0x0, mode=100644:
size=40960
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: --- connection cache: ---
Jul 15 15:06:46 xyz0 sendmail[12528]: NOQUEUE: --- end of state dump ---

NB: I've set Timeout.command=20m using confTO_COMMAND in my m4 source.

I just tried a similar SMTP conversation with a valid MAIL FROM: ....
command (i.e. passes access_db checks) and it seems the RSET followed by
a new and valid MAIL FROM: ... also hangs.

Has anyone seen this? Seems like an easy way to create a DOS attack. I
have yet to try this on another OS.

Thanks,
Vinod Kutty.

 
 
 

Hung sendmail-8.9.1 processes on HP-UX 10.20

Post by Lutz Jaenic » Tue, 21 Jul 1998 04:00:00




Quote:>I was testing out the access_db feature with sendmail-8.9.1 which I
>compiled under HP-UX 10.20 and I have noticed a problem.

[Detailed description deleted]

This bug was discussed about two weeks ago in the group (see: sendmail 8.9.0
on HP-UX 9.01). It seems to be a bug in db-2.4.14, the guys at sleepycat
are working on it. In the meantime recompile db-2.4.14 with
--enable-diagnostic as a workaround (and don't forget to re-link sendmail
with the new db-library).

Best regards,
        Lutz Jaenicke
--

TU Berlin              http://www.iee.TU-Berlin.DE/personen/jaenicke/
Institut fuer Elektrische Energietechnik        Tel. +49 30 314-24552
Einsteinufer 11, D-10587 Berlin                 Fax. +49 30 314-21133

 
 
 

1. Writing FCC hangs under HP-UX 10.20

Greetings,

Latetly when using Pine 3.95 under HP-UX 10.20, when writing
fcc appears, pine will hang.  Is this a known problem, or is
there a fix available?

Any help would be greatly appreciated!

Thanks!
-Dave

--
Dave Gruber                             |

Altair Computing Inc.                   | http://www.altair.com
1757 Maplelawn Dr., Troy, MI  48084     |

2. 8000 plus magazines Amstrad pcw

3. Sendmail-8.9.2 Freezes on HP-UX 10.20

4. Macro Help...SOLUTION

5. Error in hp-ux 10.20 sendmail-8.12.1......

6. PCI model under Linux?

7. Can't compile NEWDB support in Sendmail-8.9.3 & HP-UX 10.20

8. It keeps rewritting itself.

9. a problem of mail in HP workstation with HP-UX 10.20

10. Sendmail 8.12.3 HP-UX 10.20 libmilter: GCC is missing pthread.h

11. sendmail 8-12.2 on hp-ux 10.20 : hard_syslog unresolved

12. compiling sendmail 8.11 on hp-ux 10.20

13. Sendmail 8.11.6 Error in Hp-ux 10.20 ...