Checking for updates and updating Tranalyzer to a new version

updating

Checking for an update

In order to check whether a new version of Tranalyzer2 is available, you can simply use the t2update alias or the setup.sh -C option:

t2update

Tranalyzer2 0.9.3lmw3 is already the latest version available!

Alternatively, if t2_aliases are not available, you can replace the previous command with:

cd /home/user/tranalyzer2-0.9.3lmw3

./setup.sh -C

Tranalyzer2 0.9.3lmw3 is already the latest version available!

That was easy! We have the latest version and no update is available.

Updating to the latest version

Now what if there was a new version available? Let’s assume we are currently using an older version…

t2update

Tranalyzer2 version 0.9.3lmw3 is out!
    1: Download and overwrite current version
    2: Download and extract under 'tranalyzer2-0.9.3lmw3'
    3: Download
    4: See the ChangeLog
    *: Do nothing (exit) [default]
What do you want to do?

We now have several options. Let’s try them all, starting by the end!

t2update - do nothing

Do nothing (exit) simply aborts the update process. This is the default option if the answer is not recognized, e.g., if the Enter key was typed.

t2update - see the changeLog

See the ChangeLog can be used to review the content of the update. Important changes, such as new features and bug fixes, are listed.

t2update

Tranalyzer2 version 0.9.3lmw3 is out!
    1: Download and overwrite current version
    2: Download and extract under 'tranalyzer2-0.9.3lmw3'
    3: Download
    4: See the ChangeLog
    *: Do nothing (exit) [default]
What do you want to do? 4

ChangeLog for Tranalyzer2 version 0.9.3lmw3 (Nov 2024)

    * bgpDecode:
        * Renamed Packet/flowIndex/Timestamp to pktNo/flowInd/time in output files

    * httpSniffer:
        * Added antivirus information

    * mndpDecode:
        * Removed MNDP_SAVE configuration flag (exact same output as packet mode)

    * ospfDecode:
        * Renamed NumPkts to pktNo in output files

    * sslDecode:
        * Added support for QUIC
        * Fixed JA4/JA4S computation for special cases (no signature algorithms, ...)
        * Updated sslblacklist.[ct]sv
        * Updated JA4/JA4S fingerprints
        * Various fixes and improvements

    * tcpFlags:
        * Renamed tcpInitWinSz_tcpSSAOpts_tcpMSS_tcpWS to tcpJA4T (JA4T/JA4TS)
        * Improved and extended counting of flags and flags combinations
        * Various fixes and improvements

    * vrrpDecode:
        * Renamed flowIndex to flowInd in vrrp.txt file

    * t2conf:
        * Various fixes and improvements

    * t2py:
        * Various fixes and improvements

    * t2test:
        * Various fixes and improvements

    * t2utils.sh:
        * Added tests
        * Added $PYTHON variable

    * New plugins:
        * centrality
        * dfft
        * gquicDecode
        * gsmDecode
        * liveXtr
        * quicDecode
        * regexHyperscan
        * regex_re2
        * telegram
        * wechatDecode

Tranalyzer2 version 0.9.3lmw3 is out!
    1: Download and overwrite current version
    2: Download and extract under 'tranalyzer2-0.9.3lmw3'
    3: Download
    4: See the ChangeLog
    *: Do nothing (exit) [default]
What do you want to do?

t2update - download

Download can be used to fetch the latest version of Tranalyzer2. The output folder default to one level above the location of the setup.sh script, but can be changed before the download is started.

t2update

Tranalyzer2 version 0.9.3lmw3 is out!
    1: Download and overwrite current version
    2: Download and extract under 'tranalyzer2-0.9.3lmw3'
    3: Download
    4: See the ChangeLog
    *: Do nothing (exit) [default]
What do you want to do? 3
Choose output folder (type enter to use '/home/user'):
--2024-11-21 21:07:53--  https://tranalyzer.com/download/tranalyzer/tranalyzer2-0.9.3lmw3.tar.gz
Connecting to https://tranalyzer.com... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [application/octet-stream]
Saving to: ‘/home/user/tranalyzer2-0.9.3lmw3.tar.gz’

/home/user/tranalyzer2-0.     [ <=>                ]       0  --.-KB/s    in 0s

2024-11-21 21:07:53 (0.00 B/s) - ‘/home/user/tranalyzer2-0.9.3lmw3.tar.gz’ saved [0/0]

Successfully downloaded 'tranalyzer2-0.9.3lmw3.tar.gz'
ls /home/user/tranalyzer2-0.9.3lmw3.tar.gz

tranalyzer2-0.9.3lmw3.tar.gz

t2update - download and extract

Download and extract can be used to fetch the latest version of Tranalyzer2 and extract it under the appropriate name including the version, i.e, tranalyzer2-0.9.3lmw3. The output folder default to one level above the location of the setup.sh script, but can be changed before the download is started. If the destination folder already exists, you will be prompted for confirmation.

t2update

Tranalyzer2 version 0.9.3lmw3 is out!
    1: Download and overwrite current version
    2: Download and extract under 'tranalyzer2-0.9.3lmw3'
    3: Download
    4: See the ChangeLog
    *: Do nothing (exit) [default]
What do you want to do? 2
Choose output folder (type enter to use '/home/user'):
--2024-11-21 21:08:53--  https://tranalyzer.com/download/tranalyzer/tranalyzer2-0.9.3lmw3.tar.gz
Connecting to https://tranalyzer.com... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [application/octet-stream]
Saving to: ‘/home/user/tranalyzer2-0.9.3lmw3.tar.gz’

/home/user/tranalyzer2-0.9.3  [ <=>                ]       0  --.-KB/s    in 0s

2024-11-21 21:09:02 (0.00 B/s) - ‘/home/user/tranalyzer2-0.9.3lmw3.tar.gz’ saved [0/0]

Successfully downloaded 'tranalyzer2-0.9.3lmw3.tar.gz'

'/home/user/tranalyzer2-0.9.3lmw3.tar.gz' successfully extracted under '/home/user/tranalyzer2-0.9.3'
ls /home/user/tranalyzer2-0.9.3lmw3

ChangeLog   autogen.sh  plugins     setup.sh    tranalyzer2
README.md   doc         scripts     tests       utils

t2update - download and overwrite

Download and overwrite can be used to fetch the latest version of Tranalyzer2 and extract it under the name used by the current version thus overwriting it. The output folder default to one level above the location of the setup.sh script, but can be changed before the download is started. If the destination folder already exists, you will be prompted for confirmation and given the opportunity to specify a different name.

t2update

Tranalyzer2 version 0.9.3lmw3 is out!
    1: Download and overwrite current version
    2: Download and extract under 'tranalyzer2-0.9.3lmw3'
    3: Download
    4: See the ChangeLog
    *: Do nothing (exit) [default]
What do you want to do? 1
Choose output folder (type enter to use '/home/user'):
--2024-11-21 21:09:04--  https://tranalyzer.com/download/tranalyzer/tranalyzer2-0.9.3lmw3.tar.gz
Connecting to https://tranalyzer.com... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [application/octet-stream]
Saving to: ‘/home/user/tranalyzer2-0.9.3lmw3.tar.gz’

/home/user/tranalyzer2-0.9.3     [ <=>                ]       0  --.-KB/s    in 0s

2024-11-21 21:09:13 (0.00 B/s) - ‘/home/user/tranalyzer2-0.9.3lmw3.tar.gz’ saved [0/0]

Successfully downloaded 'tranalyzer2-0.9.3lmw3.tar.gz'

'/home/user/tranalyzer2-0.9.3lmw3.tar.gz' successfully extracted under '/home/user/tranalyzer2-0.9.3'
ls /home/user/tranalyzer2-0.9.3lmw3

ChangeLog   autogen.sh  plugins     setup.sh    tranalyzer2
README.md   doc         scripts     tests       utils