Koozali.org: home of the SME Server

blocking emule and other p2p software

Offline cool34000

  • *
  • 339
  • +0/-0
blocking emule and other p2p software
« Reply #15 on: September 01, 2006, 08:44:38 PM »
Hi there !

I'm very interrested in this contrib, so i'm wondering if it can work in server-only mode... And if is this contrib working on a SME v7.0 final up to date server ?

Thanks in advance for your replys

Janm

blocking emule and other p2p software
« Reply #16 on: September 02, 2006, 12:49:30 PM »
SME 7 Final gregswallow Contribs blocking emule and other p2p software


rpm -Uvh *.rpm
Preparing...                ########################################### [100%]
   1:ipp2p                  ########################################### [ 25%]
   2:e-smith-ipp2p          ########################################### [ 50%]
   3:kernel-module-ipp2p    ########################################### [ 75%]
   4:kernel-smp-module-ipp2p########################################### [100%]
/sbin/e-smith/config setprop masq
/sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...
/sbin/e-smith/config setprop masq ipp2p-ipp2p tcp
/sbin/e-smith/config setprop masq ipp2p-ares tcp
/sbin/e-smith/config setprop masq ipp2p-apple tcp
/sbin/e-smith/config setprop masq ipp2p-winmx tcp
/sbin/e-smith/config setprop masq ipp2p-soul tcp
/sbin/e-smith/config setprop masq ipp2p-bit tcp
/etc/rc7.d/S36masq restart

Shutting down IP masquerade and firewall rules:         Done!

Enabling IP masquerading: done
/sbin/e-smith/config show masq
masq=service
    DenylogTarget=drop
    Logging=none
    Stealth=no
    TCPMinimizeDelay=22
    Trace=disabled
    ipp2p-apple=tcp
    ipp2p-ares=tcp
    ipp2p-bit=tcp
    ipp2p-ipp2p=tcp
    ipp2p-soul=tcp
    ipp2p-winmx=tcp
    pptp=yes
    status=enabled
signal-event post-upgrade
signal-event reboot

Broadcast message from root (pts/0) (Sat Sep  2 12:40:17 2006):

The system is going down for reboot NOW!

Regards Jan

Offline gdbs

  • *
  • 96
  • +0/-0
blocking emule and other p2p software
« Reply #17 on: September 04, 2006, 11:33:58 AM »
you install the modul for smp and for i686??? why? you only have to install 1 of those... use uname -a to know which kernel you run...

Offline cool34000

  • *
  • 339
  • +0/-0
blocking emule and other p2p software
« Reply #18 on: September 05, 2006, 01:49:55 AM »
You could say it's a joke... No, it's a noob question...

I got that trying uname -a :
Code: [Select]
Linux sme 2.6.9-34.0.2.ELsmp #1 SMP Fri Jul 7 19:52:49 CDT 2006 i686 athlon i386 GNU/Linux

So, what am I ??? SMP, i386 or i686 ??? or maybe each one :idea:

Janm

blocking emule and other p2p software
« Reply #19 on: September 05, 2006, 04:52:25 AM »
uname -a
Linux www 2.6.9-34.0.2.ELsmp #1 SMP Fri Jul 7 19:52:49 CDT 2006 i686 i686 i386 GNU/Linux

Jan

Offline gdbs

  • *
  • 96
  • +0/-0
blocking emule and other p2p software
« Reply #20 on: September 05, 2006, 07:53:02 AM »
smp... but i386 and i686 compliant. that's why you can install i386 or i686 rpms.

But using smp rpms may be better for perfomances

someone to confirm this fact?

Janm

blocking emule and other p2p software
« Reply #21 on: September 05, 2006, 08:39:39 AM »
System Vital
Canonical Hostname sme.jm-data.dk
Listening IP 83.92.166.x
Kernel Version 2.6.9-34.0.2.ELsmp (SMP)
Distro Name  CentOS release 4.3 (Final) - SME Server 7.0
Uptime 58 minutes
Current Users 0
Load Averages 0.00 0.06 0.07

Network Usage
Device Received Sent Err/Drop
lo 1.14 MB 1.14 MB 0/0
bond0 0.00 KB 0.00 KB 0/0
eth0 1008.67 KB 7.56 MB 0/0
eth1 6.95 MB 827.14 KB 0/0
 
Hardware Information
Processors 2
Model Intel(R) Pentium(R) 4 CPU 3.00GHz
CPU Speed 2.99 GHz
Cache Size 2048 KB
System Bogomips 11975.82
PCI Devices 00:02.0 VGA compatible controller: Intel Corporation 945G/GZ Express Integrated Graphics Controller
00:1b.0 Audio device: Intel Corporation 82801G
00:1f.1 IDE interface: Intel Corporation 82801G
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH
05:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
3f:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express
 
IDE Devices hda: HL-DT-STDVD-ROM GDR8164B
SCSI Devices ATA ST3250620AS (Direct-Access)
USB Devices Linux 2.6.9-34.0.2.ELsmp uhci_hcd UHCI Host Controller
Linux 2.6.9-34.0.2.ELsmp uhci_hcd UHCI Host Controller
Linux 2.6.9-34.0.2.ELsmp uhci_hcd UHCI Host Controller
Linux 2.6.9-34.0.2.ELsmp uhci_hcd UHCI Host Controller
Linux 2.6.9-34.0.2.ELsmp ehci_hcd EHCI Host Controller
 
 Memory Usage
Type Percent Capacity Free Used Size
Physical Memory   9%  2.25 GB 223.16 MB 2.47 GB
- Kernel + applications   4%    105.10 MB  
- Buffers   1%    25.88 MB  
- Cached   4%    92.19 MB  
Disk Swap   0%  1.94 GB 0.00 KB 1.94 GB
 
Mounted Filesystems
Mount Type Partition Percent Capacity Free Used Size
/ ext3 /dev/mapper/main-root  15% 181.92 GB 33.67 GB 227.13 GB
/dev/shm proc none  0% 1.23 GB 0.00 KB 1.23 GB
/dev/shm sysfs none  0% 1.23 GB 0.00 KB 1.23 GB
/dev/shm devpts none  0% 1.23 GB 0.00 KB 1.23 GB
/boot ext3 /dev/md1  19% 74.87 MB 18.69 MB 98.65 MB
/dev/shm tmpfs none  0% 1.23 GB 0.00 KB 1.23 GB
/dev/shm tmpfs none  0% 1.23 GB 0.00 KB 1.23 GB
Totals :    15% 183.23 GB 33.69 GB 228.46 GB

The System
Jan

Offline cool34000

  • *
  • 339
  • +0/-0
blocking emule and other p2p software
« Reply #22 on: September 05, 2006, 08:15:49 PM »
Thanks for your answer gdbs, now it's a bit clearer for me.

Offline gdbs

  • *
  • 96
  • +0/-0
blocking emule and other p2p software
« Reply #23 on: September 07, 2006, 03:46:20 PM »
Ok i've resolve my probleme... i didn't see that there's new kernel-module rpm for the last kernel update..........................  :hammer:

Can someone told me the difference between le kernel-hugemem-module and the kernel-module rpm???

Thx

jsk

blocking emule and other p2p software
« Reply #24 on: October 02, 2006, 05:07:16 PM »
Hi,
I've installed ipp2p followed by howto but ipp2p doesn't work.
After command /etc/rc7.d/S36masq restart the server answer:
Quote

Shutting down IP masquerade and firewall rules:         Done!

Enabling IP masquerading: iptables v1.2.11: Unknown arg `-j'
Try `iptables -h' or 'iptables --help' for more information.
/etc/rc.d/init.d/masq: line 146: REDIRECT: command not found
iptables v1.2.11: Unknown arg `-j'
Try `iptables -h' or 'iptables --help' for more information.
/etc/rc.d/init.d/masq: line 148: REDIRECT: command not found
done

 Please help me to fix the problem.

Regards
John

Offline gregswallow

  • *
  • 651
  • +1/-0
blocking emule and other p2p software
« Reply #25 on: October 02, 2006, 06:04:01 PM »
Are you sure you didn't do something else to iptables?  There is no "-j" in the instructions for ipp2p.

This maybe?
http://www.google.com/search?q=site%3Acontribs.org+%22Unknown+arg+-j%22

BTW, for people that have the smeupdates-testing repo enabled, someone on the Centos-devel list is making ipp2p packages for that kernel (.42.0.2.EL).  The files are here:
http://homen.vsb.cz/~hrb33/el4/hrb/stable/i386/
(no i586, just i686)
This was his message to the list:
http://lists.centos.org/pipermail/centos-devel/2006-August/002393.html

jsk

blocking emule and other p2p software
« Reply #26 on: October 02, 2006, 06:31:17 PM »
Thanks for your reply Greg.
Quote
Are you sure you didn't do something else to iptables? There is no "-j" in the instructions for ipp2p.

This maybe?
http://www.google.com/search?q=site%3Acontribs.org+%22Unknown+arg+-j%22

Quote
KegRaider
Just make sure the longer lines are not split on to 2 lines. I think that was my problem before.

I put all in one line and server answer is:
Quote
/etc/rc7.d/S36masq restart
Shutting down IP masquerade and firewall rules:         Done!
Enabling IP masquerading: done


Best regards
John