* [ULOGD1 PATCH] Fix PCAP len (Jaap Keuter)
@ 2008-06-18 14:58 Eric Leblond
2008-06-18 15:16 ` Pablo Neira Ayuso
0 siblings, 1 reply; 6+ messages in thread
From: Eric Leblond @ 2008-06-18 14:58 UTC (permalink / raw)
To: netfilter-devel; +Cc: 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.
Signed-off-by: Eric Leblond <eric@inl.fr>
---
pcap/ulogd_PCAP.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pcap/ulogd_PCAP.c b/pcap/ulogd_PCAP.c
index 686fe47..7d67c28 100644
--- a/pcap/ulogd_PCAP.c
+++ b/pcap/ulogd_PCAP.c
@@ -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
--
1.5.5.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [ULOGD1 PATCH] Fix PCAP len (Jaap Keuter)
2008-06-18 14:58 [ULOGD1 PATCH] Fix PCAP len (Jaap Keuter) Eric Leblond
@ 2008-06-18 15:16 ` Pablo Neira Ayuso
2008-06-18 15:21 ` Patrick McHardy
0 siblings, 1 reply; 6+ messages in thread
From: Pablo Neira Ayuso @ 2008-06-18 15:16 UTC (permalink / raw)
To: Eric Leblond; +Cc: netfilter-devel
Eric Leblond wrote:
> 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.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ULOGD1 PATCH] Fix PCAP len (Jaap Keuter)
2008-06-18 15:16 ` Pablo Neira Ayuso
@ 2008-06-18 15:21 ` Patrick McHardy
2008-06-18 15:23 ` Pablo Neira Ayuso
0 siblings, 1 reply; 6+ messages in thread
From: Patrick McHardy @ 2008-06-18 15:21 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: Eric Leblond, netfilter-devel
Pablo Neira Ayuso wrote:
> Eric Leblond wrote:
>> 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?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ULOGD1 PATCH] Fix PCAP len (Jaap Keuter)
2008-06-18 15:21 ` Patrick McHardy
@ 2008-06-18 15:23 ` Pablo Neira Ayuso
2008-06-18 15:25 ` Patrick McHardy
0 siblings, 1 reply; 6+ messages in thread
From: Pablo Neira Ayuso @ 2008-06-18 15:23 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Eric Leblond, netfilter-devel
Patrick McHardy wrote:
> Pablo Neira Ayuso wrote:
>> Eric Leblond wrote:
>>> 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.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ULOGD1 PATCH] Fix PCAP len (Jaap Keuter)
2008-06-18 15:23 ` Pablo Neira Ayuso
@ 2008-06-18 15:25 ` Patrick McHardy
2008-06-18 15:33 ` Eric Leblond
0 siblings, 1 reply; 6+ messages in thread
From: Patrick McHardy @ 2008-06-18 15:25 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: Eric Leblond, netfilter-devel
Pablo Neira Ayuso wrote:
> Patrick McHardy wrote:
>> Pablo Neira Ayuso wrote:
>>> Eric Leblond wrote:
>>>> 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.
Great, its really time for a ulogd2 beta.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ULOGD1 PATCH] Fix PCAP len (Jaap Keuter)
2008-06-18 15:25 ` Patrick McHardy
@ 2008-06-18 15:33 ` Eric Leblond
0 siblings, 0 replies; 6+ messages in thread
From: Eric Leblond @ 2008-06-18 15:33 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Pablo Neira Ayuso, netfilter-devel, chifflier
Hello,
On Wednesday, 2008 June 18 at 17:25:13 +0200, Patrick McHardy wrote:
> Pablo Neira Ayuso wrote:
>> Patrick McHardy wrote:
>>>>> 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.
>
> 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,
--
Eric Leblond
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-06-18 15:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18 14:58 [ULOGD1 PATCH] Fix PCAP len (Jaap Keuter) Eric Leblond
2008-06-18 15:16 ` Pablo Neira Ayuso
2008-06-18 15:21 ` Patrick McHardy
2008-06-18 15:23 ` Pablo Neira Ayuso
2008-06-18 15:25 ` Patrick McHardy
2008-06-18 15:33 ` Eric Leblond
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.