Strikeback with iplog and nmap
-
Ok I installed it, but not seeing in the web gui anywhere. Do I have to restart pfsense?
-
Ok I installed it, but not seeing in the web gui anywhere. Do I have to restart pfsense?
Should not need to restart, just click pfsense logo to reload webgui and the it should be under services
-
This do look really nice, but i can not get this packet to work.
Have tried to get it to run on two different systems but end up with the same error ??? ???Here is the errors i get on both boxes:
Jul 17 18:37:00 php: /packages/strikeback/strikeback.php: The command 'rm /var/log/iplog' returned exit code '1', the output was 'rm: /var/log/iplog: No such file or directory'
Jul 17 18:37:00 php: /packages/strikeback/strikeback.php: The command 'mkdir /var/run/iplog' returned exit code '1', the output was 'mkdir: /var/run/iplog: File exists'
Jul 17 18:36:59 php: /packages/strikeback/strikeback.php: The command 'rm /usr/local/www/packages/strikeback/ENABLED' returned exit code '1', the output was 'rm: /usr/local/www/packages/strikeback/ENABLED: No such file or directory'Any pointers to get this to work, is much appreciated ;D
Hi Everyone and tommyboy180, i found the problem for this and it looks like you can not use Opera Browser 11.5 to activate strickback, when i tried to use other browser it works fin. Strange one, anyone else that can confirm this????
-
Ok same problem as other guy, using firefox – WTF would the browser have to do with system not finding stuff?
Jul 18 07:34:41 php: /packages/strikeback/strikeback.php: The command '/usr/local/etc/rc.d/iplog start' returned exit code '127', the output was '/usr/local/etc/rc.d/iplog: not found'
Jul 18 07:34:41 php: /packages/strikeback/strikeback.php: The command 'rm /usr/local/etc/rc.d/iplog-e' returned exit code '1', the output was 'rm: /usr/local/etc/rc.d/iplog-e: No such file or directory'
Jul 18 07:34:41 php: /packages/strikeback/strikeback.php: The command '/usr/bin/sed -i -e 's/iplog_enable="NO"/iplog_enable="YES"/g' /usr/local/etc/rc.d/iplog' returned exit code '1', the output was 'sed: /usr/local/etc/rc.d/iplog: No such file or directory'I pushed the clear log a few times, and sure enough it removes the enabled checkbox.
-
Ok same problem as other guy, using firefox – WTF would the browser have to do with system not finding stuff?
Hehe, jupp this one do not make sense to me either ???
But this behaver is expected, it is a 0.1 beta ;D
-
Don't get me wrong, I completely understand its .1 – looking forward to working out the bugs with you, etc.
Just letting you know getting the same error as other guy. If you want me to try doing it with IE, or any other browser just let me know. But it makes NO sense at all that browser would have anything to do with system reporting it can not find stuff.
Ok tried with IE9, Opera 11, Chrome, Firefox and Safari -- all the same thing, those errors in the system log. You have some other browser you would like me to try it with ;)
-
Hi,
sorry for asking this:
I cannot find this package in package manager. I am using amd64. is this only available for 386? -
Ok same problem as other guy, using firefox – WTF would the browser have to do with system not finding stuff?
Jul 18 07:34:41 php: /packages/strikeback/strikeback.php: The command '/usr/local/etc/rc.d/iplog start' returned exit code '127', the output was '/usr/local/etc/rc.d/iplog: not found'
Jul 18 07:34:41 php: /packages/strikeback/strikeback.php: The command 'rm /usr/local/etc/rc.d/iplog-e' returned exit code '1', the output was 'rm: /usr/local/etc/rc.d/iplog-e: No such file or directory'
Jul 18 07:34:41 php: /packages/strikeback/strikeback.php: The command '/usr/bin/sed -i -e 's/iplog_enable="NO"/iplog_enable="YES"/g' /usr/local/etc/rc.d/iplog' returned exit code '1', the output was 'sed: /usr/local/etc/rc.d/iplog: No such file or directory'I pushed the clear log a few times, and sure enough it removes the enabled checkbox.
Quick fix to get Strikeback running is to:
- Install Strikeback from the package manager
- pkg_add -r iplog
- Edit /usr/local/etc/iplog.conf and change the user from iplog to root
- Enable Strikeback from the UI
-
All those things should be done automatically.
During the install process pkg_add -r iplog is ran. The username is also changed to root (you can also do this via the GUI).
The only thing that I can think of is that when the pkg_add command is ran the command doesn't install iplog due to the freeBSD repo not being contacted or the connection being interrupted.I will be able to look into this more tomorrow.
-
All those things should be done automatically.
During the install process pkg_add -r iplog is ran. The username is also changed to root (you can also do this via the GUI).
The only thing that I can think of is that when the pkg_add command is ran the command doesn't install iplog due to the freeBSD repo not being contacted or the connection being interrupted.I will be able to look into this more tomorrow.
Also I had to manually add nmap .. it didn't pull it in for whatever reason
-
That means the FreeBSD repo is un-reliable. I'll look into other options.
-
I finished my testing. The package is working correctly.
First thing new users should do it go to the setting page and click save. This will overwrite the config file.
Next go back to the main strikeback page, Check enable, and click save. I tested on the latest version of RC3.I didn't run into any issue while testing.
-
not to hijack this thread, but I remember testing this package a couple of months ago and remember that iplog wouldn't auto-start on a reboot… Was this fix or is it still the case?
-
not to hijack this thread, but I remember testing this package a couple of months ago and remember that iplog wouldn't auto-start on a reboot… Was this fix or is it still the case?
You're not hijacking at all. You are right about the auto start. That item is now on my to-do list.
-
not to hijack this thread, but I remember testing this package a couple of months ago and remember that iplog wouldn't auto-start on a reboot… Was this fix or is it still the case?
You're not hijacking at all. You are right about the auto start. That item is now on my to-do list.
looking at my notes, i used this to auto start it i believe /usr/local/etc/rc.d/iplog.sh
its been awhile so I can't remember it worked correctly work not…#!/bin/sh # This file was automatically generated # by the pfSense service handler on other machine :). rc_start() { /usr/local/sbin/iplog -d -z } rc_stop() { /usr/bin/killall iplog } case $1 in start) rc_start ;; stop) rc_stop ;; restart) rc_stop rc_start ;; esac
-
overwriting the current iplog file in /usr/local/etc/rc.d/iplog will break the script. I'm working on an update now to solve this issue.
-
I like this. Thanks for releasing!
Just a small bug report, there is a typo "Stikeback" under the Services tab.
-
Is this package available for amd64 ?
Where can I download/test this package ? -
Hi, i try this package and when i execute strikeback i get this message
Warning: Invalid argument supplied for foreach() in /usr/local/www/packages/strikeback/parse.php on line 252
Nmap scan results (condensed)in the system log i have this
php: /packages/strikeback/strikeback.php: The command 'mkdir /usr/local/www/packages/strikeback/reports' returned exit code '1', the output was 'mkdir: /usr/local/www/packages/strikeback/reports: File exists'
php: /packages/strikeback/strikeback.php: The command 'mkdir /var/run/iplog' returned exit code '1', the output was 'mkdir: /var/run/iplog: File exists'
can you help me?
thanks
Simone -
Hi, i try this package and when i execute strikeback i get this message
Warning: Invalid argument supplied for foreach() in /usr/local/www/packages/strikeback/parse.php on line 252
Nmap scan results (condensed)in the system log i have this
php: /packages/strikeback/strikeback.php: The command 'mkdir /usr/local/www/packages/strikeback/reports' returned exit code '1', the output was 'mkdir: /usr/local/www/packages/strikeback/reports: File exists'
php: /packages/strikeback/strikeback.php: The command 'mkdir /var/run/iplog' returned exit code '1', the output was 'mkdir: /var/run/iplog: File exists'
Confirmed - Pfsense i386, 2.0-RC3