Can u post the results of
iptables -t filter -S sudo iptables -t nat -S
Seems some problem with in this piece of code.
for cmd, tables in s: for table in tables: current_table, _err = self.execute('%s-save' % (cmd,), '-c', '-t', '%s' % (table,), run_as_root=True, attempts=5) current_lines = current_table.split('\n') new_filter = self._modify_rules(current_lines, tables[table]) self.execute('%s-restore' % (cmd,), '-c', run_as_root=True, process_input='\n'.join(new_filter), attempts=5) LOG.debug(_("IPTablesManager.apply completed with success"))
I need output of the above commands to debug further.
jagan
Can u post the results of
iptables -t filter -S
sudo iptables -t nat -S
Seems some problem with in this piece of code.
for cmd, tables in s:
current_ table, _err = self.execute( '%s-save' % (cmd,), '-c',
'-t', '%s' % (table,),
run_as_ root=True,
attempts= 5)
current_ lines = current_ table.split( '\n')
new_filter = self._modify_ rules(current_ lines,
tables[ table])
self. execute( '%s-restore' % (cmd,), '-c', run_as_root=True,
process_ input=' \n'.join( new_filter) ,
attempts= 5)
LOG.debug( _("IPTablesMana ger.apply completed with success"))
for table in tables:
I need output of the above commands to debug further.
jagan