Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f7f8fbc
scripts: setup app layer rustfmt mod.rs last
catenacyber Sep 26, 2025
870b402
rust: cargo update
victorjulien Sep 27, 2025
ec41824
rust: update highest known rustc version to 1.90
victorjulien Sep 27, 2025
746823f
github-actions: update rust checks to 1.90
victorjulien Sep 27, 2025
8630b29
util/pidfile: address format truncation warning
victorjulien Sep 24, 2025
14987dc
detect/datarep: fix format truncation warning
victorjulien Sep 24, 2025
f48099e
detect/datasets: address format truncation warnings
victorjulien Sep 24, 2025
bccbab6
detect/address: address format-trunction warnings
victorjulien Sep 24, 2025
56b357d
detect/analyzer: address format truncation warning
victorjulien Sep 24, 2025
981f902
app-layer/smtp: address format truncation warning
victorjulien Sep 24, 2025
103bad1
detect/iponly: address format truncation warnings
victorjulien Sep 24, 2025
5564838
detect/mpm: address format truncation warnings
victorjulien Sep 24, 2025
3d0d7b7
detect/port: address format truncation warnings
victorjulien Sep 24, 2025
98730c2
log/pcap: improve path handling
victorjulien Sep 24, 2025
840d372
log/tlsstore: improve path handling
victorjulien Sep 24, 2025
40363f7
output/filestore: improve path handling
victorjulien Sep 24, 2025
a57643c
eve/alert: work around format truncation warning
victorjulien Sep 24, 2025
99a79b5
eve/stats: work around format truncation warnings
victorjulien Sep 24, 2025
7bab39d
output/lua: work around format truncation warnings
victorjulien Sep 24, 2025
1f46e2b
nfq: work around format truncation warning
victorjulien Sep 24, 2025
5817afa
runmodes: work around format truncation warnings
victorjulien Sep 24, 2025
fbf75f2
runmodes: let thread count callback return uint16_t
victorjulien Sep 24, 2025
b633887
runmodes: adapt to uint16_t thread count
victorjulien Sep 24, 2025
7807b47
pfring: update thread count callback to match API change
victorjulien Sep 25, 2025
f6b67a8
napatech: update thread count callback to match API change
victorjulien Sep 25, 2025
0948a32
runmodes: limit thread count consistently
victorjulien Sep 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ env:
# A recent version of stable Rust that is known to pass build, test and other
# verification steps in this workflow. This was added because using "stable"
# could cause some steps to fail.
RUST_VERSION_KNOWN: "1.80.0"
RUST_VERSION_KNOWN: "1.90.0"

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
sudo \
which \
zlib-devel
- run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.88.0 -y
- run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.90.0 -y
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: cargo install bindgen-cli --version 0.66.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
Expand Down
2 changes: 1 addition & 1 deletion plugins/napatech/runmode-napatech.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static void *NapatechConfigParser(const char *device)
return (void *)conf;
}

static int NapatechGetThreadsCount(void *conf __attribute__((unused)))
static uint16_t NapatechGetThreadsCount(void *conf __attribute__((unused)))
{
/* No matter which live device it is there is no reason to ever use more than 1 thread
2 or more thread would cause packet duplication */
Expand Down
4 changes: 2 additions & 2 deletions plugins/pfring/runmode-pfring.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static void *OldParsePfringConfig(const char *iface)
pfconf->threads = 1;
} else {
if (threadsstr != NULL) {
if (StringParseInt32(&pfconf->threads, 10, 0, threadsstr) < 0) {
if (StringParseUnt16(&pfconf->threads, 10, 0, threadsstr) < 0) {
SCLogWarning("Invalid value for "
"pfring.threads: '%s'. Resetting to 1.",
threadsstr);
Expand Down Expand Up @@ -396,7 +396,7 @@ static void *ParsePfringConfig(const char *iface)
return pfconf;
}

static int PfringConfigGetThreadsCount(void *conf)
static uint16_t PfringConfigGetThreadsCount(void *conf)
{
PfringIfaceConfig *pfp = (PfringIfaceConfig *)conf;
return pfp->threads;
Expand Down
2 changes: 1 addition & 1 deletion plugins/pfring/source-pfring.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ typedef struct PfringIfaceConfig_ {

char iface[PFRING_IFACE_NAME_LENGTH];
/* number of threads */
int threads;
uint16_t threads;

const char *bpf_filter;

Expand Down
Loading
Loading