mmaraya / port-mirroring

OpenWrt package for copying network packets without iptables
BSD 2-Clause "Simplified" License
103 stars 32 forks source link

Buffer Overflow and Crash after few seconds #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configure port-mirroring with TEE protocol
2. start
3.

What is the expected output? What do you see instead?

10:51:49[info] port-mirroring::main, mirroring_type:[remote][TEE], 
mirroring_source_num:[1], target:[192.168.16.12], filter:[], 
opt_promiscuous:[0].

*** buffer overflow detected ***: port-mirroring terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fadf4c76f47]
/lib/x86_64-linux-gnu/libc.so.6(+0x109e40)[0x7fadf4c75e40]
port-mirroring[0x402f2f]
port-mirroring[0x4030e1]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7fadf516ae9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fadf4c603fd]

What version of the product are you using? On what operating system?
Last stable version of port-mirroring on Ubuntu 12.04.4 LTS 64bits

Please provide any additional information below.

Original issue reported on code.google.com by antonin....@gmail.com on 5 Jun 2014 at 9:10

GoogleCodeExporter commented 9 years ago
Thanks for your report. Actually I didn't tested this in 64bit OS before. I 
will check ASAP.

Original comment by sa...@imfirewall.us on 6 Jun 2014 at 3:03

mmaraya commented 8 years ago

Tested e5c8c50 on Ubuntu 64-bit and no buffer overflows reported. One of the earlier security bug fixes must have resolved this. Will keep open for another day while test continues.

mmaraya commented 8 years ago

Unable to reproduce under Ubuntu 64-bit. Closing issue.