Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

firestarter; add patch to fix path to conntrack table in /proc

  • Loading branch information...
commit 10c48daec07b1a54f352145bef5dad665b3980e3 1 parent d28b81d
Phillip Smith authored May 29, 2012
11  firestarter/30-conntrack-proc-path.patch
... ...
@@ -0,0 +1,11 @@
  1
+--- firestarter-1.0.3/src/statusview.c.ORIG	2012-05-29 16:58:05.204114870 +1000
  2
++++ firestarter-1.0.3/src/statusview.c	2012-05-29 16:59:01.914116450 +1000
  3
+@@ -32,7 +32,7 @@
  4
+  
  5
+ #define DEV_FILE "/proc/net/dev"
  6
+ #define TCP_FILE "/proc/net/tcp"
  7
+-#define CONNTRACK_FILE "/proc/net/ip_conntrack"
  8
++#define CONNTRACK_FILE "/proc/net/nf_conntrack" /* http://www.kernelhardware.org/firestarter-on-centos-6/ */
  9
+ #define CONNTRACK_TTL 10 /* Number of refresh cycles a non-established connection is kept in the GUI */
  10
+ #define REFRESH_RATE 1 /* Time in seconds between updates */
  11
+ #define HISTORY_LENGTH 5 /* Number of samples to use when averaging the traffic rate */
9  firestarter/PKGBUILD
@@ -13,7 +13,7 @@
13 13
 
14 14
 pkgname=firestarter
15 15
 pkgver=1.0.3
16  
-pkgrel=12
  16
+pkgrel=13
17 17
 pkgdesc="GUI fron-end for iptables"
18 18
 arch=('i686' 'x86_64')
19 19
 license=('GPL2')
@@ -27,6 +27,7 @@ source=("http://downloads.sourceforge.net/firestarter/$pkgname-$pkgver.tar.gz"
27 27
         '12_firestarter_transparent_icon.patch'
28 28
         '18_fix_memleak.patch'
29 29
         '20-net-tools-ifconfig-format-change.patch'
  30
+        '30-conntrack-proc-path.patch'
30 31
         'events-log-fix.patch'
31 32
         'menu-toolbar-icons-fix.patch')
32 33
 md5sums=('f46860a9e16dac4b693bd05f16370b03'
@@ -34,6 +35,7 @@ md5sums=('f46860a9e16dac4b693bd05f16370b03'
34 35
          'b657c53280b30f1b4976ec01eff085e8'
35 36
          'b31efd1caf430d979e26abb2618a3659'
36 37
          '7bcd40b3690e3833078ea31a8a9935f1'
  38
+         '56d77ceb2a6b249c01922ccc46b12eb6'
37 39
          'acd91fefe00edb41dd38fcc91567707f'
38 40
          'ea9cd9b92939c554b26ccdfe735a2d90')
39 41
 
@@ -53,7 +55,10 @@ build() {
53 55
   
54 56
   # menu-toolbar-icons-fix.patch: fixed a couple menu and toolbar icons to follow GTK theme
55 57
   patch -Np1 -i ../menu-toolbar-icons-fix.patch
56  
-  
  58
+
  59
+  # path to the conn track table in /proc has changed
  60
+  patch -Np1 -i "$srcdir/30-conntrack-proc-path.patch"
  61
+
57 62
   # Configure, Build and Install to $pkgdir
58 63
   export LDFLAGS='-lX11'
59 64
   ./configure \

0 notes on commit 10c48da

Please sign in to comment.
Something went wrong with that request. Please try again.