#20 Fix for iptables actions failing when run concurrently.

open
nobody
None
5
2011-09-24
2011-09-24
Anonymous
No

Actions that call iptables fail when they are run at the same time by separate threads. I have added a lock to disallow prevent the problem. The patch should be applied to server/action.py

There is another patch for this problem at https://sourceforge.net/tracker/?func=detail&aid=2857096&group_id=121032&atid=689046 but it is more extensive and causes another problem detailed in the link provided. My patch changes as little as possible to fix the problem.

Discussion


  • Anonymous
    2011-09-24

    patch adding locking to executeCmd1

     
    Last edit: Anonymous 2013-10-05