Koozali.org: home of the SME Server

ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)

Offline ClaudioG

  • 3
  • +0/-0
ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« on: October 16, 2008, 02:41:58 PM »
I have build rpm for ipp2p module for kernel in subject.

Applicable if:

# uname -a
Linux smeserver 2.6.9-67.0.7.ELsmp #1 SMP Sat Mar 15 06:54:55 EDT 2008 i686 athlon i386 GNU/Linux


http://www.girtech.com/smeserver/RPMS/7/ipp2p/ipp2p-0.8.2-4.el4.sme.i686.rpm
http://www.girtech.com/smeserver/RPMS/7/ipp2p/kmod-ipp2p-smp-0.8.2-1.2.6.9_67.0.7.EL.i686.rpm
http://www.girtech.com/smeserver/RPMS/7/ipp2p/kmod-ipp2p-0.8.2-1.2.6.9_67.0.7.EL.i686.rpm

For block all p2p traffic, add in /etc/rc.d/rc.local:
/sbin/iptables -I FORWARD -m ipp2p  --edk --kazaa --gnu --dc --bit --apple --winmx --soul --ares -j DROP

IMPORTANT: there is better way than rc.local

For testing:
- Install:
rpm -Uvh *.rpm

- Append to firewall:
/sbin/iptables -I FORWARD -m ipp2p  --edk --kazaa --gnu --dc --bit --apple --winmx --soul --ares -j denylog

- See blocked traffic:
tail -f /var/log/iptables/current

ClaudioG


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #1 on: October 16, 2008, 03:15:05 PM »
Hi ClaudioG (are you italian? if so, come also on the italian forum ;-))

nice work

please take a look here and here

manual modification of iptables is not necessary as there are db values to enable p2p filtering.

If you can, help the devs to maintain this rpm.

TIA
ciao
Stefano

Offline ClaudioG

  • 3
  • +0/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #2 on: October 16, 2008, 03:36:11 PM »
Si, sono italiano...
.......
Yes, I am Italian

I have seen bugzilla and contribs, but I think better:
a) wait sme 7.4
b) test smeserver-ipp2p (I find nothing in smedev...) with 7.4
c) make (and mantain) complete contrib

Would you share with us ipp2p contrib maintence?

Ciao
ClaudioG

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #3 on: October 16, 2008, 03:59:31 PM »
Si, sono italiano...

passa anche "di la" allora ;-)


Quote
I have seen bugzilla and contribs, but I think better:
a) wait sme 7.4
b) test smeserver-ipp2p (I find nothing in smedev...) with 7.4
c) make (and mantain) complete contrib

Would you share with us ipp2p contrib maintence?

me? I'm not involved in develop or maintain this contrib :-)

please subscribe the devs mailing list and, of course, bugzilla..

I'll wait for you in italian forum..

ciao
Stefano


Offline ClaudioG

  • 3
  • +0/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #5 on: October 20, 2008, 06:03:43 PM »
Hi,

src.rpm:

http://www.girtech.com/smeserver/RPMS/7/ipp2p/src/kmod-ipp2p-0.8.2-1.2.6.9_67.0.7.EL.src.rpm

As bugzilla,
You need this in your .rpmmacros file:
http://smeserver.cvs.sourceforge.net/*checkout*/smeserver/builds_bin/macros

Spec files come from:
http://smeserver.nethesis.it/releases/7/SRPMS/

For build, we follows:
http://www.centos.org/modules/newbb/viewtopic.php?forum=9&topic_id=4053&viewmode=flat

----
(thanks to Umberto Favari for this works).
----

ClaudioG

Offline nald

  • ***
  • 66
  • +0/-0
    • http://www.phisl.net
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #6 on: October 25, 2008, 05:41:40 AM »
Hi,

I tried to install the rpm that you sent and it really works... However, it will block everyone in the network... How am i going to enable a particular ip address that it will have full access in the internet.  I tried using this commands;

/sbin/iptables -I FORWARD -s 192.168.100.10 -m ipp2p  --edk --kazaa --gnu --dc --bit --apple --winmx --soul --ares -j ACCEPT

or

/sbin/iptables -A FORWARD -s 192.168.100.10 -m ipp2p  --edk --kazaa --gnu --dc --bit --apple --winmx --soul --ares -j ACCEPT

but it won't work...

Hope to hear your reply soon...Thanks very much...

Best Regards,
Nald
............

Offline gdbs

  • *
  • 96
  • +0/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #7 on: October 30, 2008, 03:01:57 PM »
thx you so much for your work, i'll test it as soon as possible :)

Offline gdbs

  • *
  • 96
  • +0/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #8 on: November 13, 2008, 09:14:32 AM »
works great with smeserver-ipp2p package :) thx again!

Offline gdbs

  • *
  • 96
  • +0/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #9 on: November 24, 2008, 12:21:18 PM »
Hi ClaudioG, sme 7.4 is out, do you think you'll be able to publish ipp2p compiled with the new kernel version?

just to know, is it complicate to build a package like that, and could you tell me how you do it please?

thx a lot

Offline gdbs

  • *
  • 96
  • +0/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #10 on: December 04, 2008, 03:56:54 PM »
up up up  :P

Offline mardarg3

  • 1
  • +0/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #11 on: December 08, 2008, 08:53:06 AM »
I installed ipp2p module on kernel 2.6.9-67.0.7 and it work fine.    :smile:
I have a question: if I will install the available updates from sme server (includind the kernel.i686     2.6.9-78.0.8.EL ) the ipp2p module will work or not?
Thank you.

Offline gdbs

  • *
  • 96
  • +0/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #12 on: December 08, 2008, 04:06:09 PM »
no it wont.... that's why i'm ask for the upgraded version or the how to build it...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #13 on: December 08, 2008, 04:13:56 PM »
no it wont.... that's why i'm ask for the upgraded version or the how to build it...

well.. OP told us all we need here

good luck

Ciao
Stefano

p.s. try to search bugzilla, maybe you'll find something there..

Offline hatsa

  • **
  • 25
  • +0/-0
Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
« Reply #14 on: January 06, 2009, 02:54:14 AM »
what about the kernel 2.6.9-78.0.8.EL