HP3000-L Archives

February 2003, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Bartram, Chris (Contractor)" <[log in to unmask]>
Reply To:
Bartram, Chris (Contractor)
Date:
Fri, 28 Feb 2003 11:51:59 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (173 lines)
It's a bug.

A "period" (.) preceded and followed by CRLFs within an SMTP DATA stream is
the "end of data" signal used in the SMTP standard.

Mail programs reading such data streams have to internally add a trailing
space (or similar) to the period when they transmit it, or the receiving
SMTP server will interpret it as the end of the message.. and further data
in the stream will confuse the server - as in your example.

You'll need to check with Telamon to see if there's a fixed version of the
program available, or try another option.

  -Chris Bartram


-----Original Message-----
From: Matt Hawrysko [mailto:[log in to unmask]]
Sent: Friday, February 28, 2003 9:56 AM
To: [log in to unmask]
Subject: [HP3000-L] MAIL.TELAMON Interpreting periods

We have an interesting problem.

We are checking off-hours sign-ons and attempted sign-ons on our HP3000 by
running the contributed program CONSLOGX.
We run it in a batch job to scan the console logs for various phrases.  Then
we run MAIL.TELAMON in the same job to email the $STDLIST to someone.  We
run this job multiple times during the day to audit logons.

The problem is this. When we run it the first time in the morning the mail
program aborts because it is trying to interpret the data in the $STDLIST as
a command.  We believe this occurs because of a '.' in the data.  CONSLOGX
displays '.'s across the line while it is searching the log files.  When
there is a lot of data to search through, it displays multiple '.''s and
does not cause us a problem.  When there is very little data to search
through and the program displays only one '.', then MAIL.TELAMON tries to
interpret the characters after the period as commands and aborts.  Also,
when the mail program does not abort and sends us the $STDLIST data in the
email, it will display one less '.' than what you see in the printed
$STDLIST.

Does anybody have any idea why this is and what we can do to fix this?  We
want to continue running the job first thing in the morning to look at
overnight activity.  We run it at midnight, then again first thing in the
morning.  This way we can use the default parameters for CONSLOGX and do not
have to hard code dates in the job.  We are on an HP928 running MPE/iX 5.5.

Examples:

The one that fails -

:SWITCHLOG
00002000
SYSTEM LOG FILE #2544 IS 0% FULL
:RUN CONSLOG.PUB.TECHXL
00003000



CONSLOG xl 1.11 (c) 1991  The Boeing Company - March 12, 1997
                      ALL RIGHTS RESERVED

LIST

start date (default = today)?
stop date  (default = today)?
start time (default =  0:00)?
stop time  (default = 23:59)?

search string #1:#S
search string #2:INVALID
search string #3:MISSING
search string #4:
searching for start date/time
.
   LOG2543
   2/28/03
2:33/#S12002/114/LOGOFF ON LDEV #3.
** NS/3000 NetIPC ERROR IN VT; Job: #S12002; PIN: 22; Info: 1
5:39/#S12006/249/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #3.
6:33/#S12007/217/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #4.
6:47/#S12008/184/LOGON FOR: "XXXX.XXXXXXXX,PUB" ON LDEV #20.

EXIT

END OF PROGRAM
:MAILM [log in to unmask] 'HP3000 LOGIN FAILURES' $STDLIST
00014000   (This is a command file to run MAIL.TELAMON)

500 5.5.1 Command unrecognized: "   LOG2543"
Program terminated in an error state (CIERR 976)


Example:

Job that runs properly -

:SWITCHLOG
00002000
SYSTEM LOG FILE #2544 IS 0% FULL
:RUN CONSLOG.PUB.TECHXL
00003000



CONSLOG xl 1.11 (c) 1991  The Boeing Company - March 12, 1997
                      ALL RIGHTS RESERVED

LIST

start date (default = today)?
stop date  (default = today)?
start time (default =  0:00)?
stop time  (default = 23:59)?

search string #1:#S
search string #2:INVALID
search string #3:MISSING
search string #4:
searching for start date/time
...                        (We would see only two periods in the email)
     LOG2544
7:25/249/INVALID PASSWORD FOR "XXXXX.XXXXXXXX,PUB" DURING LOGON ON
7:25/#S12009/249/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #3.
7:41/#S12010/108/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #11.
7:42/#S12011/142/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #16.
7:42/#S12012/310/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #17.
7:45/#S12013/126/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #18.
7:59/#S12014/179/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #19.
8:00/#S12015/306/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #23.
8:00/#S12016/272/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #24.
8:01/#S12017/140/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #25.
8:01/#S12018/112/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #26.
8:03/#S12019/288/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #27.
8:03/#S12020/178/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #28.
8:04/#S12021/153/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #29.
8:04/#S12022/110/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #30.
8:04/#S12023/315/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #31.
8:05/#S12024/318/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #32.
8:12/#S12025/237/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #34.
8:15/#S12026/129/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #35.
8:18/#S12027/85/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #36.
8:19/#S12028/172/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #33.
8:24/#S12029/23/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #37.
8:27/#S12030/207/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #38.
8:29/#S12031/99/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #39.
8:30/#S12032/53/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #53.
8:34/#S12033/192/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #54.
8:44/#S12034/279/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #55.
8:47/#S12035/125/LOGON FOR: "XXXXX.XXXXXXXX,PUB" ON LDEV #56.
EXIT


END OF PROGRAM
:MAILM [log in to unmask] 'HP3000 LOGIN FAILURES' $STDLIST
00014000      (This is a command file to run MAIL.TELAMON)

2.0.0 h1SDrJfB005028 Message accepted for delivery
:EOJ


Matt Hawrysko
Park Farms, Inc
330.455.0241 Ext. 3067
[log in to unmask]

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2