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
-
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
-
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
-
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
-
Si, sono italiano...
passa anche "di la" allora ;-)
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
-
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.
-
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
-
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
-
thx you so much for your work, i'll test it as soon as possible :)
-
works great with smeserver-ipp2p package :) thx again!
-
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
-
up up up :P
-
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.
-
no it wont.... that's why i'm ask for the upgraded version or the how to build it...
-
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..
-
what about the kernel 2.6.9-78.0.8.EL