Project

General

Profile

Actions

Task #8109

open

libsuricata: allow user to change the name of the program

Added by Jason Ish 1 day ago. Updated 1 day ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

For example, when running one of the library example applications, you still see:

Notice: suricata: This is Suricata version 9.0.0-dev (8aaf92bb04 2025-11-11) running in SYSTEM mode [LogVersion:suricata.c:1209]

It's not really Suricata anymore, but a derivative of it.

We need a way to customize this output, or refactor it such that it is output by the application, and not the library (does bring up the bigger question of how a library should log as well).

Actions #1

Updated by Jason Ish 1 day ago

Example:

This is live-example 0.0.1 (using libsuricata 9.0.0...

Ref: https://github.com/OISF/suricata/pull/14293#issuecomment-3528201064

Actions #2

Updated by Victor Julien 1 day ago ยท Edited

I guess I feel like the lib shouldn't output this at all, except perhaps when explicitly instructed. Instead it should just expose function(s) to get the suricata lib version and perhaps other relevant info like build-info.

Actions

Also available in: Atom PDF