RSS

Posts in 2021

  • db2 backup and recovery

    Last Update: in DB2

    DB2 Offline and Online Full Backup, Incremental Backup, and Recovery Operations

    A quick reference the procedures for performing offline and online full backups, incremental backups, and database recovery in DB2. Offline Full Backup First, ensure that no users are using DB2: db2 list applications for db sample Stop the database …

    Read more

  • ECDSA signature verify in kotlin and Golang

    Last Update: in Security

    How to verify ECDSA signature generated by kotlin and verify it in Go?

    Introduction Elliptic Curve Digital Signature Algorithm (ECDSA) offers a variant of the Digital Signature Algorithm (DSA) which uses elliptic curve cryptography. ECDSA keys and signatures are shorter than in RSA for the same security level. A 256-bit …

    Read more

Posts in 2020

  • Test TLS Connection Ciphers TLS Version and Certificate with OpenSSL Command Line

    Last Update: in Security

    Use OpenSSL command line to test and check TLS/SSL server connectivity, cipher suites, TLS/SSL version, check server certificate etc. TLS 1.2 and TLS 1.3 test support. Force TLS 1.2, Force TLS 1.3. STARTTLS test. openssl s_client example commands with detail output. Works on Linux, windows and Mac OS X.

    Introduction openssl s_client is an SSL/TLS client program that can be used to test TLS server connectivity, TLS/SSL version support, check cipher suites, and verify server certificate. It is a very useful diagnostic tool for SSL servers. Usage: …

    Read more

  • Use Linux SO_BINDTODEVICE and mac IP_BOUND_IF to bind socket to a network interface

    Last Update: in Linux

    Use Linux SO_BINDTODEVICE and mac IP_BOUND_IF / IPV6_BOUND_IF to bind socket to a network interface

    SO_BINDTODEVICE on Linux In Linux, SO_BINDTODEVICE is a socket option can be used in setsockopt() to bind a socket to network interface. e.g. #include <sys/types.h> #include <sys/socket.h> const char *interface_name = "eth0"; …

    Read more

  • Find 3rd party gems global variables in ruby

    in Rails

    Find 3rd party gems global variables in ruby

    Why Need Find Global Variables In rails, if you want to use puma as rails server, you need make sure your app is thread safe, not only your app code itself, also 3rd party gems should also thread safe. One of requirement for thread safe is avoid …

    Read more

  • Troubleshooting Splunk Search Performance by Search Job Inspector

    Last Update: in Splunk

    How to use Splunk Search Job Inspector to troubleshooting search performance issue, understand how search was processed and where splunk spent time.

    Splunk timechart Command – Overview timechart command performs statistical aggregations against time Plots and trends data over time _time is always the x-axis You can optionally split data using the by clause for one other field Each distinct value …

    Read more

  • Troubleshooting Splunk Search Performance by Search Job Inspector

    Last Update: in Splunk

    How to use Splunk Search Job Inspector to troubleshooting search performance issue, understand how search was processed and where splunk spent time.

    What is Search Job Inspector The Search Job Inspector and the Job Details dashboard are tools that let you take a closer look at what your search is doing and see where the Splunk software is spending most of its time. Search Job Inspector allows you …

    Read more

  • Splunk != vs. NOT Difference Detail Explained with Examples

    Last Update: in Splunk

    Different between != and NOT in Splunk search condition, search result and performance impact. How to exclude field from search result?

    When you want to exclude results from your search you can use the NOT operator or the != field expression. However there is a significant difference in the results that are returned from these two methods. != vs. NOT Comparison Both!= field …

    Read more

  • Splunk Search Best Practices for Better Performance Response Time

    Last Update: in Splunk

    Tips on splunk search best practices for better performance response time. Guidelines on create splunk search.

    Splunk search best practices, a quick guideline on splunk search, write better search to improve your search quality and boost query time. Notes from Splunk Fundamentals. Time is the most efficient filter keep the time range short (e.g. last 60 …

    Read more

  • Install Splunk and Forwarder on Linux

    in Splunk

    Step by step install Splunk, Splunk Forwarder, Splunk app free trial version on Linux.

    Install Splunk Download from https://www.splunk.com/en_us/download/splunk-enterprise Download Splunk 8 via Command Line (wget): # .deb For Debian and Ubuntu $ wget -O splunk-8.0.3-a6754d8441bf-linux-2.6-amd64.deb …

    Read more