I don't prevent it on the front end, but I do check it periodically with this:
SELECT SUBSTR(a.JOB_NAME, LOCATE_IN_STRING(a.JOB_NAME, '/', -1) + 1) AS SessionA,
a.Remote_address,
a.local_address,
a.Authorization_name,
SUBSTR(b.JOB_NAME, LOCATE_IN_STRING(b.JOB_NAME, '/', -1) + 1) AS SessionB,
b.Remote_address,
b.local_address,
b.Authorization_name
FROM qsys2.netstat_job_info a,
qsys2.netstat_job_info b
WHERE a.local_port IN (
23,
992
)
AND a.authorization_name IS NOT NULL
AND a.authorization_name <> 'QTCP'
AND a.job_type = 'INTERACTIVE'
AND b.local_port IN (
23,
992
)
AND b.authorization_name IS NOT NULL
AND b.authorization_name <> 'QTCP'
AND b.job_type = 'INTERACTIVE'
AND a.remote_address <> b.remote_address
AND a.authorization_name = b.authorization_name;
On Thu, 2020-10-29 at 14:29 +0000, Rob Berendt wrote:
If you're trying to make sure that someone doesn't use telnet from two different IP addresses and you figure it out, I'd love to know that.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
<
http://www.dekko.com>
http://www.dekko.com
-----Original Message-----
From: MIDRANGE-L <
<mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
midrange-l-bounces@xxxxxxxxxxxxxxxxxx
On Behalf Of Rob Berendt
Sent: Thursday, October 29, 2020 10:24 AM
To: Midrange Systems Technical Discussion <
<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>
midrange-l@xxxxxxxxxxxxxxxxxx
Subject: RE: QIBM_QTG_DEVINIT exit program - blank user name
Because they did not specify auto signon? From the manual:
<snip>
The user profile that the system uses for the sign-on procedure
if you have enabled the auto-signon flag.
</snip>
<
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzaiw/rzaiwuserdesc.htm>
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzaiw/rzaiwuserdesc.htm
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
<
http://www.dekko.com>
http://www.dekko.com
-----Original Message-----
From: MIDRANGE-L <
<mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
midrange-l-bounces@xxxxxxxxxxxxxxxxxx
On Behalf Of iseriesstuff
Sent: Thursday, October 29, 2020 10:15 AM
To: Midrange-L <
<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>
midrange-l@xxxxxxxxxxxxxxxxxx
Subject: QIBM_QTG_DEVINIT exit program - blank user name
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
I activated an exit program to trap telnet init info. The problem i am
having is sometimes the user name is blank.
Table to store info retrieved
E2USER E2DEV E2IP
TESTC | SNICKA0 | 10.0.0.26
MARIAD | MARIADB0 | 10.0.3.34
PGMB0 | 10.0.6.3
The blank user name entry (device PGMB0), is from a client access
session on a remote pc that is connected with a VPN tunnel.
Any ideas why user name would be blank?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email:
<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
<
https://lists.midrange.com/mailman/listinfo/midrange-l>
https://lists.midrange.com/mailman/listinfo/midrange-l
or email:
<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
<
https://archive.midrange.com/midrange-l>
https://archive.midrange.com/midrange-l
.
Please contact
<mailto:support@xxxxxxxxxxxxxxxxxxxx>
support@xxxxxxxxxxxxxxxxxxxx
for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
<
https://amazon.midrange.com>
https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email:
<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
<
https://lists.midrange.com/mailman/listinfo/midrange-l>
https://lists.midrange.com/mailman/listinfo/midrange-l
or email:
<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
<
https://archive.midrange.com/midrange-l>
https://archive.midrange.com/midrange-l
.
Please contact
<mailto:support@xxxxxxxxxxxxxxxxxxxx>
support@xxxxxxxxxxxxxxxxxxxx
for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
<
https://amazon.midrange.com>
https://amazon.midrange.com
[
https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com
CONFIDENTIALITY NOTICE
This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.
As an Amazon Associate we earn from qualifying purchases.