Skip to contentSkip to conversation

Fix PCAP len (Jaap Keuter)

PATCH Applied Eric Leblond 3 participants 6 messages Jun 18, 2008 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix PCAP len (Jaap Keuter)

This is a application of patch provided by Jaap Keuter. Application will close bugzilla 535. pcap len was set to value of the pointer to raw data.

---
 pcap/ulogd_PCAP.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
pcap/ulogd_PCAP.c +1 -1
index 686fe47..7d67c28 100644
@@ -131,7 +131,7 @@ static int pcap_output(ulog_iret_t *res)
 {
 	struct pcap_sf_pkthdr pchdr;
 
-	pchdr.caplen = GET_VALUE(1).ui32;
+	pchdr.caplen = GET_VALUE(2).ui32;
 	pchdr.len = GET_VALUE(2).ui32;
 
 	if (GET_FLAGS(3) & ULOGD_RETF_VALID
Signature · 1 line
1.5.5.3
maintainer Applied
#1 lore raw
Quoted 2 lines · Eric Leblond

This is a application of patch provided by Jaap Keuter. Application will close bugzilla 535. pcap len was set to value of the pointer to raw data.

Applied. Thanks Eric.

Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers
#2 lore raw
Quoted 5 lines · Pablo Neira Ayuso
Quoted 2 lines · Eric Leblond

This is a application of patch provided by Jaap Keuter. Application will close bugzilla 535. pcap len was set to value of the pointer to raw data.

Applied. Thanks Eric.

BTW, did we actually release a new ulogd with the SuSE-fixes from .. about a year ago?

#3 lore raw
Quoted 10 lines · Patrick McHardy
Quoted 6 lines · Pablo Neira Ayuso
Quoted 3 lines · Eric Leblond

This is a application of patch provided by Jaap Keuter. Application will close
bugzilla 535. pcap len was set to value of the pointer to raw data.

Applied. Thanks Eric.

BTW, did we actually release a new ulogd with the SuSE-fixes from .. about a year ago?

Indeed, I'll prepare two releases, one of ulogdv1 and development version of ulogdv2.

Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers
#4 lore raw
Quoted 6 lines · Pablo Neira Ayuso
Quoted 5 lines · Patrick McHardy
Quoted 4 lines · Pablo Neira Ayuso
Quoted 3 lines · Eric Leblond

This is a application of patch provided by Jaap Keuter. Application will close
bugzilla 535. pcap len was set to value of the pointer to raw data.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Applied. Thanks Eric.

BTW, did we actually release a new ulogd with the SuSE-fixes from .. about a year ago?

Indeed, I'll prepare two releases, one of ulogdv1 and development version of ulogdv2.

Great, its really time for a ulogd2 beta.

#5 lore raw

Hello,

Quoted 4 lines · Patrick McHardy
Quoted 3 lines · Pablo Neira Ayuso
Quoted 2 lines · Patrick McHardy
Quoted 2 lines
Quoted 2 lines

will close
bugzilla 535. pcap len was set to value of the pointer to raw data.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Applied. Thanks Eric.

BTW, did we actually release a new ulogd with the SuSE-fixes from .. about a year ago?

Indeed, I'll prepare two releases, one of ulogdv1 and development version of ulogdv2.

Great, its really time for a ulogd2 beta.

Pierre and I have just found a bug on mac address handling. I will fix this and send you the patch (should be tonight). My test system was INPUT, OUTPUT only and switching to a FORWARD one reveal some problems.

BR,

Signature · 3 lines
Eric Leblond
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/