The Connection Profiles List report was empty. This was a local connection via ssh but Guardium S-TAP didn't see DB2 traffic. Guardium collector succeeded to sess DB2 traffic only after configuring ATAP/EXIT. It's strange, what is so specific with DB2 local traffic, is it encrypted by default? I didn't configure any encryption on DB2 side. It seems like IBM plans to replace ATAP for DB2 with EXIT soon and move ATAP for DB2 to deprecated state.
Matching module found - db2 is supported by /usr/lib64/libguard-atap-db2-any
Instance db2inst1/db2inst1 is not active
Installing library /usr/lib64/libguard-atap-db2-any-64.so in /usr/lib
Creating permissions
ATAP for DB2 will be deprecated soon and replaced with DB2 EXIT.
Set 723 bytes for 'executor/env' in file '/home/db2inst1/sqllib/adm/db2sysc-guard-executor'
------------------------------
Igor Volkov
------------------------------
Original Message:
Sent: Thu December 03, 2020 08:46 AM
From: Matt Simons
Subject: issue with capturing DB2 traffic
Hi Igor,
A few clarifying questions:
1. Can you see the database connection (session profile) in the standard Connection Profiles List report? That will at least tell you the S-TAP is seeing traffic and rule out if the policy is the issue.
2. Is this a local (ssh) connection to the database or remote using some other tool?
Back in the day, if I remember correctly, you needed the ATAP for DB2+RHEL regardless of encryption. Things are better these days with the DB2 Exit (no more Db2 memory size calculations, etc.). You might try configuring the DB2 Exit (just a quick db restart required) and see if it helps?
Here's the link: https://www.ibm.com/support/knowledgecenter/SSMPHH_11.2.0/com.ibm.guardium.doc.stap/stap/db2_stap_integrate.html
Hope this helps, let us know!
Matt
------------------------------
Matt Simons
matthew.simons@infoinsightsllc.com
Original Message:
Sent: Wed December 02, 2020 01:07 PM
From: Igor Volkov
Subject: issue with capturing DB2 traffic
Hello.
I have installed DB2 10.5 (no ecnryption used) on RHEL 6 and then GIM+S-TAP 11.2
When I run db2 'select * from some_table' and other queries that match installed Security policy I don't see any information about that in reports. Inspection engine is configured correctly. Guarium database isn't full. I did the same thing in Oracle and all information is shown in reports.
Are there any modifications/configuration that should be done on DB2 side in order to catch DB2 traffic by S-TAP agent?
------------------------------
Igor Volkov
------------------------------