Skip to contentSkip to conversation

null bytes in nfsim match?

DISCUSSION Max Kellermann 1 participant 1 message Feb 8, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

I'm currently writing a test suite for the H.323 conntrack module. It is a binary protocol, and I want to match null bytes.

It looks like the matching code in nfsim (core/expect.c) handles patterns as null-terminated string. That makes matching null bytes impossible. Is that correct?

I could develop a patch to fix that, anyone interested?

Max