Project

General

Profile

Actions

Task #8109

open
JI OD

libsuricata: allow user to change the name of the program

Task #8109: libsuricata: allow user to change the name of the program

Added by Jason Ish 10 months ago. Updated about 2 months ago.

Status:
Triaged
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).

JI Updated by Jason Ish 10 months ago Actions #1

Example:

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

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

VJ Updated by Victor Julien 10 months ago ยท Edited Actions #2

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.

PA Updated by Philippe Antoine about 2 months ago Actions #3

  • Status changed from Assigned to Triaged
Actions

Also available in: PDF Atom