usr/local/bin/dhcpctrl
usr/local/bin/extrahdctrl
usr/local/bin/getipstat
+usr/local/bin/getiptstate
#usr/local/bin/iowrap
usr/local/bin/ipfirereboot
usr/local/bin/ipsecctrl
* centerim-4.22.1
* clamav-0.93
* cmake-2.4.8
-* collectd-4.3.0
* collectd-4.4.0
* coreutils-5.96
* cpio-2.6
* rrdtool-1.2.15
* rsync-2.6.9
* rtorrent-0.7.9
-* samba-3.0.28a
* samba-3.0.29
* sane-1.0.19
* sane-1.0.19-kmod
my %netsettings=();
&General::readhash("${General::swroot}/ethernet/settings", \%netsettings);
-open (ACTIVE, 'iptstate -1rbt |') or die 'Unable to open ip_conntrack';
+open (ACTIVE, '/usr/local/bin/getiptstate |') or die 'Unable to open ip_conntrack';
my @active = <ACTIVE>;
close (ACTIVE);
ipsecctrl timectrl dhcpctrl snortctrl \
applejuicectrl rebuildhosts backupctrl \
logwatch openvpnctrl outgoingfwctrl \
- wirelessctrl getipstat qosctrl launch-ether-wake \
+ wirelessctrl getipstat getiptstate qosctrl launch-ether-wake \
redctrl syslogdctrl extrahdctrl sambactrl upnpctrl tripwirectrl \
smartctrl clamavctrl addonctrl pakfire mpfirectrl
--- /dev/null
+/* IPFire helper program - IPStat
+ *
+ * Get the list from IPTABLES -L
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <sys/types.h>
+#include <fcntl.h>
+#include "setuid.h"
+
+
+int main(void)
+{
+ if (!(initsetuid()))
+ exit(1);
+
+ safe_system("/usr/sbin/iptstate -1rbt");
+ return 0;
+}
+