]> git.ipfire.org Git - ipfire-2.x.git/commit
BUG 11318: Fix deletion of temporary files from IPTables-GUI
authorMatthias Fischer <matthias.fischer@ipfire.org>
Sun, 16 Apr 2017 21:01:33 +0000 (23:01 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Apr 2017 10:22:18 +0000 (11:22 +0100)
commit77cdccf4c0a2b1c0a2b8d6e4aab86fbcbd5439b9
treee42d97a5a5083c4498c4e62d6cabeec3ad323a5b
parentac69a292a8b41224b31e7dd8c0335e3d9b604129
BUG 11318: Fix deletion of temporary files from IPTables-GUI

For details see:
https://bugzilla.ipfire.org/show_bug.cgi?id=11318

Temporary files for 'iptables', 'iptablesmangle' and 'iptablesnat' created by
'iptables.cgi' were not deleted after use but stayed in '/srv/weg/ipfire/html/'.

As a workaround I changed 'getipstat.c' to create these files in '/var/tmp' and the
"open (file..." and "rm" commands in 'iptables.cgi'.

Works here.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/iptables.cgi
src/misc-progs/getipstat.c