IBM Support

Advanced Job Scheduler (AJS) - Security

News


Abstract

Turn off QIJSSRVZ server if not being used. This will secure AJS port 8250.

Content

 

 
Turn off AJS Server QIJSSRVZ:

The QIJSSRVZ is the server job that is used for communication between remote systems.  Ending this TCP server job will stop remote multi-system job operations such as running jobs on a remote system or using CPYJOBJS on the remote system.

Option A: Using IBM Navigator for i (Web GUI)

Prevent automatic restart on IPL or Startup:

1. Open IBM Navigator for i in your browser and log in with an administrator profile
2. Navigate to Advanced Job Scheduler > Properties
3. Open the “Systems & Groups” tab
4. Under the properties panel, uncheck the box labeled “Automatically start product TCP/IP server”
5. Click Save

Stop the active server job: 
 
  • Navigate to Work Management > Active Subsystems > QSYSWRK > Jobs
  • Locate job QIJSSRVZ
  • Right-click QIJSSRVZ and select End 
     

STOP and RESTART AJS:

  • ENDJS
  • STRJS


Option B: Using the 5250 Command Line

End the running AJS TCP listener job 
End the QIJSSRVZ server job running in the QSYSWRK subsystem: ENDJOB JOB(QIJSSRVZ) OPTION(*IMMED)

Note: Prevent automatic restart on IPL or Startup – needs to be done in Navigator as shown in Option A.
 

 
Add packet rules to filter port 8250:

Add 3 rules in this order, on Server (Destination) side.  This will prevent traffic on port 8250 except for the expected communication for AJS.

Note that order matters on these rules.  First match wins.


SET = ajs8250
Rule 1:  Allows the client side to reach port 8250
PERMIT – before the Deny rule (first match wins)

  • Source – allowed to connect in : IP address
  • Destination – system the rules are set on:  IP address
  • Protocol: TCP
  • Direction: inbound
  • Destination Port: 8250

Rule 2: Blocks every other source on port 8250
DENY – for inbound tcp to port 8250 from any source 

  • Protocol: TCP
  • Direction: inbound
  • Source: *
  • Destination: *
  • Destination Port: 8250

Rule 3 – Catch-all so all other traffic behaves as it does today:
PERMIT - allow other port traffic 

  • Direction: both
  • Protocol: any
  • Source: any
  • Destination: any
  • Port: any

FILTER_INTERFACE – one for this system/line

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CH1AAM","label":"IBM Navigator for i"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"and future releases;7.3.0;7.4.0;7.5.0;7.6.0"}]

Document Information

Modified date:
30 November 2026

UID

ibm17296034