Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: ClaudioG on October 16, 2008, 02:41:58 PM

Title: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: ClaudioG 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

Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: Stefano 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 (http://bugs.contribs.org/show_bug.cgi?id=38) and here (http://wiki.contribs.org/P2P_blocking)

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
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: ClaudioG 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
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: Stefano 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
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: CharlieBrady on October 17, 2008, 12:35:27 AM
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

Please also post a link to your src.rpm file. And please come to bugzilla and contribute to maintenance of the contrib there. Ciao.
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: ClaudioG 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
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: nald 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
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: gdbs on October 30, 2008, 03:01:57 PM
thx you so much for your work, i'll test it as soon as possible :)
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: gdbs on November 13, 2008, 09:14:32 AM
works great with smeserver-ipp2p package :) thx again!
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: gdbs 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
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: gdbs on December 04, 2008, 03:56:54 PM
up up up  :P
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: mardarg3 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.
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: gdbs 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...
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: Stefano 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 (http://forums.contribs.org/index.php/topic,42340.msg199495.html#msg199495)

good luck

Ciao
Stefano

p.s. try to search bugzilla, maybe you'll find something there..
Title: Re: ipp2p module for sme 7.3 (kernel 2.6.9-67.0.7.EL)
Post by: hatsa on January 06, 2009, 02:54:14 AM
what about the kernel 2.6.9-78.0.8.EL