I haven't had a chance to test it. I'm on an internal pen test. Right
now its 3 am and I'm working on a report YUCK!

I can test it when I get home this weekend and get you some feedback.
Will that work?

Best Regards,

Eric Milam
Senior Security Assessor
Accuvant Labs
emi...@accuvant.com 
Cell: 925-783-2773
Corp: 303-298-0600


-----Original Message-----
From: boun...@canonical.com [mailto:boun...@canonical.com] On Behalf Of 
LocutusOfBorg
Sent: Tuesday, November 29, 2011 12:08 AM
To: Eric Milam
Subject: [Bug 817101] Re: ettercap produces Error 11 and runs out of resources

what about my build?

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/817101

Title:
  ettercap produces Error 11 and runs out of resources

Status in “ettercap” package in Ubuntu:
  Fix Released

Bug description:
  OS: Ubuntu 10.04 2GB RAM 2 Processors (Is patched with the latest
  updated from the repos)

  Issue:
  I was poisoning 22 victims, ettercap lasted roughly 10 minutes before it 
closed with the following message:
  ERROR : 11, Resource temporarily unavailable
  [ec_threads.c:ec_thread_new:203]

   not enough resources to create a new thread in this process

  I found this in my research, apparently its from the Ettercap forums/bug list 
from 2004:
  "It's a known issue because pthread_exit seems to not free correctly threads' 
memory. 
  We are investigating this problem."

  My etter.conf has the ec_uid & gid set to 0 and the proper iptables
  redirs uncommented.

  I have experienced this issue with ettercap installs from both the
  Ubuntu repos & compiling from source.

  ulimit is set to unlimited:
  root@blank:~# ulimit -Ha
  core file size          (blocks, -c) unlimited
  data seg size           (kbytes, -d) unlimited
  scheduling priority             (-e) 20
  file size               (blocks, -f) unlimited
  pending signals                 (-i) 16382
  max locked memory       (kbytes, -l) 64
  max memory size         (kbytes, -m) unlimited
  open files                      (-n) 1024
  pipe size            (512 bytes, -p) 8
  POSIX message queues     (bytes, -q) 819200
  real-time priority              (-r) 0
  stack size              (kbytes, -s) unlimited
  cpu time               (seconds, -t) unlimited
  max user processes              (-u) unlimited
  virtual memory          (kbytes, -v) unlimited
  file locks                      (-x) unlimited

  As a workaround I set my max threads to 123,456,789 up from 39K. It
  still ran out of resources after about 15 minutes.

  I am not a developer, but in reading up on pthreads, it looks like you
  have to specify "joinable" if you use pthread_join and the code does
  not appear to do this. However, I know nothing about pthreads and am
  still learning the basics of C.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/817101/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/817101

Title:
  ettercap produces Error 11 and runs out of resources

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/817101/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to