Thursday, April 12, 2007

Quick Hack : P2P block on IPCop 1.4.15

I was trying to install P2P block v 2.5 on ipcop version 1.4.15 and it was not allowing me to do so
as p2p block was written to work for the following versions 1.4.8 to 1.4.11 .... and i found a quick hack for this and wanted to share with every one ..

Step 1 : login to ipcop using ssh and #vi /var/ipcop/general-functions.pl

Step 2 : change this line $General::version = '1.4.15'; to $General::version = '1.4.11';

Step 3 : tar xvzf p2pblock_ipcop_1.4.11.tar.gz

Step 4 : cd p2pblock

Step 5 : ./install

Step 6 : after the installation is successful please revert the General version back to 1.4.15
#vi /var/ipcop/general-functions.pl
#$General::version = '1.4.15';

and you are all set .. hope this is helpful :)

--CS

2 comments:

Giridhar Bandi said...

if the installation was successful ,you should be able to view the p2p blocker in the web interface after you restart the ipcop machine

Anonymous said...

Great article you got here. It would be great to read something more about that matter. The only thing that blog misses is some photos of some gizmos.
Katherine Flouee
Phone jammers