tcpdump mailing list archives

Re: Patches for wlan filtering


From: "Gianluca Varenni" <gianluca.varenni () cacetech com>
Date: Tue, 6 Nov 2007 11:47:47 -0800

It seems to work ok.

Thanks!
GV

----- Original Message ----- From: "Guy Harris" <guy () alum mit edu>
To: <tcpdump-workers () lists tcpdump org>
Sent: Tuesday, November 06, 2007 11:12 AM
Subject: Re: [tcpdump-workers] Patches for wlan filtering


Gianluca Varenni wrote:

I think I found the problem:

Yup, I just discovered that myself.

I've checked in a change that fixes it to do

(000) ldb      [3]
(001) lsh      #8
(002) tax
(003) ldb      [2]
(004) or       x
(005) st       M[0]
(006) tax
(007) txa
(008) add      #24
(009) st       M[1]
(010) ldb      [x + 0]
(011) jset     #0x8             jt 12   jf 17
(012) jset     #0x4             jt 17   jf 13
(013) jset     #0x80            jt 14   jf 17
(014) ld       M[1]
(015) add      #2
(016) st       M[1]
(017) ld       [4]
(018) jeq      #0x69000000      jt 19   jf 29
(019) ldx      M[0]
(020) ldb      [x + 0]
(021) jset     #0x4             jt 29   jf 22
(022) ldx      M[0]
(023) ldb      [x + 0]
(024) jset     #0x8             jt 25   jf 29
(025) ldx      M[1]
(026) ldh      [x + 6]
(027) jeq      #0x800           jt 28   jf 29
(028) ret      #68
(029) ret      #0

Try that.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: