Whistle Master Posted January 3, 2016 Share Posted January 3, 2016 Module: p0f Version: 1.0 Features: Manage dependencies Live output Start on boot Run History Link to comment Share on other sites More sharing options...
saf Posted March 8, 2016 Share Posted March 8, 2016 Installed this (p0f 1.0) module today on nano 1.05 to SD card. When starting up, it seems to be unable to find the p0f.fp fingerprint file. It's looking for it in /etc/p0f but it's located at /sd/etc/p0f. When I changed the /pineapple/p0f/scripts/p0f.sh script so that the start command adds the '-f' switch (see below), it does start. However not really being familiar with this stuff yet, I'm not sure if this is the best way to solve the problem so I that it works properly if it was installed on internal storage. if [ "$1" = "start" ]; thenp0f -i ${MYINTERFACE} \ -o /pineapple/modules/p0f/log/output_${MYTIME}.log \ -f /sd/etc/p0f/p0f.fp Link to comment Share on other sites More sharing options...
kg6kvq Posted March 9, 2016 Share Posted March 9, 2016 I had the same issue and did ln -s /sd/etc/p0f/p0f.fp /etc/p0f/ .. had to create /etc/p0f as well Link to comment Share on other sites More sharing options...
Whistle Master Posted March 9, 2016 Author Share Posted March 9, 2016 I will fix that in the next version so that a sym link will be created at the installation of the dependencies. Link to comment Share on other sites More sharing options...
Sebkinne Posted March 9, 2016 Share Posted March 9, 2016 I will fix that in the next version so that a sym link will be created at the installation of the dependencies. Make sure that the symlink doesn't already exist -- I'm going to see and bake this into the next firmware. Best Regards, Sebkinne Link to comment Share on other sites More sharing options...
Just_a_User Posted January 21, 2018 Share Posted January 21, 2018 With firmware 2.0.2 - at time of writing requires a symlink to run on nano when installed to /sd/ ln -s /sd/usr/bin/p0f /usr/bin/p0f also needed to create a log dir in /pineapple/modules/p0f/ EDIT - the latest firmware 2.1.2 the history counter is working again ? Link to comment Share on other sites More sharing options...
handletwo0nne Posted July 5, 2018 Share Posted July 5, 2018 I had p0f working a long time ago. Now it never works. Any insight? Link to comment Share on other sites More sharing options...
Just_a_User Posted July 5, 2018 Share Posted July 5, 2018 4 minutes ago, handletwo0nne said: I had p0f working a long time ago. Now it never works. Any insight? did you read the posts before yours? Link to comment Share on other sites More sharing options...
handletwo0nne Posted July 8, 2018 Share Posted July 8, 2018 I did but I thought with the latest firmware I'd not need to do this but oi vey. I do love the P0f Link to comment Share on other sites More sharing options...
Forkish Posted July 9, 2018 Share Posted July 9, 2018 Is there a place to plug the results into to better unstand the often immense signature?  Link to comment Share on other sites More sharing options...
r4nd0mNE55 Posted July 18, 2018 Share Posted July 18, 2018 Just installed the module with an sdcard as the destination; had to manually create (/sd/modules/p0f/log) or the module wouldn't start. Please consider adding the extra test for the log directory; creating it if it doesn't exist. Like this: [ -d /pineapple/modules/p0f/log ] || mkdir /pineapple/modules/p0f/log  The whole script: #!/bin/sh #2015 - Whistle Master export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sd/lib:/sd/usr/lib export PATH=$PATH:/sd/usr/bin:/sd/usr/sbin MYTIME=`date +%s` MYINTERFACE=`uci get p0f.run.interface` if [ "$1" = "start" ]; then [ -d /pineapple/modules/p0f/log ] || mkdir /pineapple/modules/p0f/log p0f -i ${MYINTERFACE} -o /pineapple/modules/p0f/log/output_${MYTIME}.log elif [ "$1" = "stop" ]; then killall -9 p0f fi  Link to comment Share on other sites More sharing options...
Whistle Master Posted August 24, 2018 Author Share Posted August 24, 2018 During the git migration of the modules, all empty folders were just skipped: logs, dumps, scans, etc. This will be fixed soon for all modules. Link to comment Share on other sites More sharing options...
ApplePie Posted September 27, 2019 Share Posted September 27, 2019 Pineapple v2.6.1 with p0f v1.3: I had to edit the file /pineapple/modules/p0f/scripts/p0f.sh and insert the following option for p0f -f /etc/p0f/p0f.fp to be able to run the p0f module in the WiFi Pineapple web interface. Link to comment Share on other sites More sharing options...
brunomotta Posted January 25, 2020 Share Posted January 25, 2020 On 9/27/2019 at 4:16 AM, ApplePie said: Pineapple v2.6.1 with p0f v1.3: I had to edit the file /pineapple/modules/p0f/scripts/p0f.sh and insert the following option for p0f -f /etc/p0f/p0f.fp to be able to run the p0f module in the WiFi Pineapple web interface. Thanks a lot! now the module works. Great! Link to comment Share on other sites More sharing options...
witquicked Posted March 5, 2021 Share Posted March 5, 2021 On 9/26/2019 at 7:16 PM, ApplePie said: Pineapple v2.6.1 with p0f v1.3: I had to edit the file /pineapple/modules/p0f/scripts/p0f.sh and insert the following option for p0f -f /etc/p0f/p0f.fp to be able to run the p0f module in the WiFi Pineapple web interface. Yep. Just installed p0f and it definitely wasn't working until the config file is added as a parameter to tho command. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.