d'oh me -- I've read your original incorrectly (that you applied patch
and it didn't help ;-)) .
Just out of "research" -- could you please run in shell all 3 commands
in a single line like
iptables -N fail2ban-proftpd; iptables -A fail2ban-proftpd -j RETURN; iptables
-I INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j
fail2ban-proftpd
I would really not expect some out of order execution from Python's
os.system and it might be that real problem is buried deeper.
On Tue, 03 Nov 2009, Libor Klepáč wrote:
> Hi,
> there seems to be some problem with sequence of commands run from python.
> Maybe our server is too powerfull? (poweredge 2950 with two 4 core
> processors,
> old server was some old pentium4 with ht, there were no such problems)
> If i run those commands separately from command line ,there is no problem.
> But if whole (multiline) actionstart is run, there seems to be problem with
> order of commands.
> Problem is, that
> iptables -I INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j
> fail2ban-proftpd
> is run in time, when there is no such chain, so kernel tries to autoload
> module for it (but there is no such module) (you can try it by running this
> command)
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]