kxcode / ferret Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ferret
Automatically exported from code.google.com/p/ferret
Quickly crashes when compiled for 64-bit, such as on 64-bit BackTrack 5. it
gives an error message about "unknown record", then crashes.
unknown record
*** Segmentation fault
Register dump:
RAX: 0000000000000000 RBX: 00007f1f91954780 RCX: ffffffffffffffff
RDX: 0000000000000010 RSI: 00000000004409ce RDI: ffffffff00000000
RBP: 00007fff0d1ae370 R8 : 0000000000000007 R9 : ffffffff00000000
R10: 000000000140b5e0 R11: 0000000000000246 R12: 0000000000000007
R13: 00007fff0d1ae380 R14: 00000000004409cf R15: ffffffffffffff88
RSP: 00007fff0d1adce0
RIP: 00007f1f9162035e EFLAGS: 00010286
CS: 0033 FS: 0000 GS: 0000
Trap: 0000000e Error: 00000005 OldMask: 00000000 CR2: 00000000
FPUCW: 0000037f FPUSW: 00000000 TAG: 00000000
RIP: 00000000 RDP: 00000000
ST(0) 0000 0000000000000000 ST(1) 0000 0000000000000000
ST(2) 0000 0000000000000000 ST(3) 0000 0000000000000000
ST(4) 0000 0000000000000000 ST(5) 0000 0000000000000000
ST(6) 0000 0000000000000000 ST(7) 0000 0000000000000000
mxcsr: 1f80
XMM0: 000000000000000000000000000000ff XMM1: 000000000000000000000000000000ff
XMM2: 000000000000000000000000000000ff XMM3: 000000000000000000000000000000ff
XMM4: 000000000000000000000000000000ff XMM5: 000000000000000000000000000000ff
XMM6: 000000000000000000000000000000ff XMM7: 000000000000000000000000000000ff
XMM8: 000000000000000000000000000000ff XMM9: 000000000000000000000000000000ff
XMM10: 000000000000000000000000000000ff XMM11: 000000000000000000000000000000ff
XMM12: 000000000000000000000000000000ff XMM13: 000000000000000000000000000000ff
XMM14: 000000000000000000000000000000ff XMM15: 000000000000000000000000000000ff
Backtrace:
/lib/libc.so.6(_IO_vfprintf+0x3fbe)[0x7f1f9162035e]
/lib/libc.so.6(_IO_printf+0x9a)[0x7f1f9162753a]
bin/ferret(vJOTDOWN+0xcd6)[0x41f73b]
bin/ferret(JOTDOWN+0xc3)[0x41f9d0]
bin/ferret(process_icmpv6+0xc9)[0x421147]
bin/ferret(process_ipv6+0x2a0)[0x423670]
bin/ferret(dispatch_ethertype+0x1ad)[0x42066d]
bin/ferret(process_ethernet_frame+0x14a)[0x420cc9]
bin/ferret(process_frame+0x279)[0x42394d]
bin/ferret(_Z16pcapHandlePacketPhPK11pcap_pkthdrPKh+0xf4)[0x43b012]
/usr/lib/libpcap.so.0.8(+0x530f)[0x7f1f913a930f]
bin/ferret(_Z12process_liveP6FerretPKc+0x424)[0x43b7a2]
bin/ferret(main+0x61e)[0x43d1b9]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f1f915f5c4d]
bin/ferret[0x405bc9]
Memory map:
00400000-00449000 r-xp 00000000 00:14 91168
/mnt/hgfs/dev/ferret/bin/ferret
00649000-0064a000 r--p 00049000 00:14 91168
/mnt/hgfs/dev/ferret/bin/ferret
0064a000-0064e000 rw-p 0004a000 00:14 91168
/mnt/hgfs/dev/ferret/bin/ferret
013e6000-01440000 rw-p 00000000 00:00 0 [heap]
7f1f907ab000-7f1f90ba3000 rw-s 00000000 00:06 347803
socket:[347803]
7f1f90ba3000-7f1f913a4000 rw-p 00000000 00:00 0
7f1f913a4000-7f1f913d4000 r-xp 00000000 08:01 395289
/usr/lib/libpcap.so.1.0.0
7f1f913d4000-7f1f915d4000 ---p 00030000 08:01 395289
/usr/lib/libpcap.so.1.0.0
7f1f915d4000-7f1f915d5000 r--p 00030000 08:01 395289
/usr/lib/libpcap.so.1.0.0
7f1f915d5000-7f1f915d6000 rw-p 00031000 08:01 395289
/usr/lib/libpcap.so.1.0.0
7f1f915d6000-7f1f915d7000 rw-p 00000000 00:00 0
7f1f915d7000-7f1f91751000 r-xp 00000000 08:01 222
/lib/libc-2.11.1.so
7f1f91751000-7f1f91950000 ---p 0017a000 08:01 222
/lib/libc-2.11.1.so
7f1f91950000-7f1f91954000 r--p 00179000 08:01 222
/lib/libc-2.11.1.so
7f1f91954000-7f1f91955000 rw-p 0017d000 08:01 222
/lib/libc-2.11.1.so
7f1f91955000-7f1f9195a000 rw-p 00000000 00:00 0
7f1f9195a000-7f1f91970000 r-xp 00000000 08:01 256
/lib/libgcc_s.so.1
7f1f91970000-7f1f91b6f000 ---p 00016000 08:01 256
/lib/libgcc_s.so.1
7f1f91b6f000-7f1f91b70000 r--p 00015000 08:01 256
/lib/libgcc_s.so.1
7f1f91b70000-7f1f91b71000 rw-p 00016000 08:01 256
/lib/libgcc_s.so.1
7f1f91b71000-7f1f91c67000 r-xp 00000000 08:01 395437
/usr/lib/libstdc++.so.6.0.13
7f1f91c67000-7f1f91e67000 ---p 000f6000 08:01 395437
/usr/lib/libstdc++.so.6.0.13
7f1f91e67000-7f1f91e6e000 r--p 000f6000 08:01 395437
/usr/lib/libstdc++.so.6.0.13
7f1f91e6e000-7f1f91e70000 rw-p 000fd000 08:01 395437
/usr/lib/libstdc++.so.6.0.13
7f1f91e70000-7f1f91e85000 rw-p 00000000 00:00 0
7f1f91e85000-7f1f91e89000 r-xp 00000000 08:01 202
/lib/libSegFault.so
7f1f91e89000-7f1f92088000 ---p 00004000 08:01 202
/lib/libSegFault.so
7f1f92088000-7f1f92089000 r--p 00003000 08:01 202
/lib/libSegFault.so
7f1f92089000-7f1f9208a000 rw-p 00004000 08:01 202
/lib/libSegFault.so
7f1f9208a000-7f1f9208c000 r-xp 00000000 08:01 236
/lib/libdl-2.11.1.so
7f1f9208c000-7f1f9228c000 ---p 00002000 08:01 236
/lib/libdl-2.11.1.so
7f1f9228c000-7f1f9228d000 r--p 00002000 08:01 236
/lib/libdl-2.11.1.so
7f1f9228d000-7f1f9228e000 rw-p 00003000 08:01 236
/lib/libdl-2.11.1.so
7f1f9228e000-7f1f92310000 r-xp 00000000 08:01 271
/lib/libm-2.11.1.so
7f1f92310000-7f1f9250f000 ---p 00082000 08:01 271
/lib/libm-2.11.1.so
7f1f9250f000-7f1f92510000 r--p 00081000 08:01 271
/lib/libm-2.11.1.so
7f1f92510000-7f1f92511000 rw-p 00082000 08:01 271
/lib/libm-2.11.1.so
7f1f92511000-7f1f92531000 r-xp 00000000 08:01 198
/lib/ld-2.11.1.so
7f1f92686000-7f1f926d1000 r--s 00000000 00:05 1555
/dev/usbmon1
7f1f926d1000-7f1f9271c000 r--s 00000000 00:05 1563
/dev/usbmon2
7f1f9271c000-7f1f92721000 rw-p 00000000 00:00 0
7f1f9272c000-7f1f92731000 rw-p 00000000 00:00 0
7f1f92731000-7f1f92732000 r--p 00020000 08:01 198
/lib/ld-2.11.1.so
7f1f92732000-7f1f92733000 rw-p 00021000 08:01 198
/lib/ld-2.11.1.so
7f1f92733000-7f1f92734000 rw-p 00000000 00:00 0
7fff0d19d000-7fff0d1b2000 rw-p 00000000 00:00 0 [stack]
7fff0d1ff000-7fff0d200000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
Segmentation fault
Original issue reported on code.google.com by [email protected]
on 14 Apr 2012 at 4:18
What steps will reproduce the problem?
1. make
What is the expected output? What do you see instead?
Binary ferret to be created in bin dir
Error and make exit
What version of the product are you using? On what operating system?
r26
Please provide any additional information below.
emilam@LABS-EMM:~/Downloads/ferret$ make
gcc -g -Wall -rdynamic -c src/stream-aimoscar.c -o tmp/stream-aimoscar.o
In file included from src/stream-aimoscar.c:16:0:
src/stack-parser.h:68:83: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:68:83: warning: its scope is only this definition or
declaration, which is probably not what you want [enabled by default]
In file included from src/stream-aimoscar.c:16:0:
src/stack-parser.h:69:84: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:71:82: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:72:83: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:74:85: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:75:86: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:77:82: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:78:83: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:81:94: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:82:100: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:84:84: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:85:83: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:87:83: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:88:82: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:90:93: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:91:92: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:93:90: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:94:92: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:96:94: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:97:95: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:100:89: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
src/stack-parser.h:101:91: warning: ‘struct TCP_STREAM’ declared inside
parameter list [enabled by default]
In file included from src/stream-aimoscar.c:18:0:
src/ferret.h:31:89: warning: ‘struct TCP_STREAM’ declared inside parameter
list [enabled by default]
src/stream-aimoscar.c:1454:6: error: conflicting types for
‘parse_aim_oscar_to_server’
In file included from src/stream-aimoscar.c:16:0:
src/stack-parser.h:93:6: note: previous declaration of
‘parse_aim_oscar_to_server’ was here
src/stream-aimoscar.c:1458:6: error: conflicting types for
‘parse_aim_oscar_from_server’
In file included from src/stream-aimoscar.c:16:0:
src/stack-parser.h:94:6: note: previous declaration of
‘parse_aim_oscar_from_server’ was here
make: *** [tmp/stream-aimoscar.o] Error 1
Original issue reported on code.google.com by [email protected]
on 3 Sep 2013 at 9:33
What steps will reproduce the problem?
1. make - compiled successfully.
2. file created in bin folder.
3. seems to work fine.
4. when checked the .pcap file after few seconds size was 283MGb.
What is the expected output? What do you see instead?
the file was suppose to be up to few bytes within same amount of time.
What version of the product are you using? On what operating system?
ferret 3.0.1 and kali 1.0.5 and same happened when compiled manually.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 1 Dec 2013 at 1:23
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.