Skip to main content

Installing BitTorrent on Fedora Core 5



Ok fellas. This is pretty plain and simple.

[root@tarrydev ~]# yum -y install bittorrent
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
core 100% |=========================| 1.1 kB 00:00
extras [2/3]
extras 100% |=========================| 1.1 kB 00:00
updates [3/3]
updates 100% |=========================| 951 B 00:00 E updates 100% |=========================| 951 B 00:14
Reading repository metadata in from local files
primary.xml.gz 3% | | 24 kB 00:10 E primary.xml.gz 14% |=== | 112 kB 00:08 E primary.xml.gz 27% |====== | 208 kB 00:05 E primary.xml.gz 42% |========== | 328 kB 00:03 E primary.xml.gz 57% |============== | 440 kB 00:02 E primary.xml.gz 72% |================== | 560 kB 00:01 E primary.xml.gz 89% |====================== | 688 kB 00:00 E primary.xml.gz 100% |=========================| 767 kB 00:02
core : ################################################## 2207/2207
Added 2207 new packages, deleted 0 old in 12.84 seconds
primary.xml.gz 4% |= | 40 kB 00:06 E primary.xml.gz 17% |==== | 160 kB 00:05 E primary.xml.gz 25% |====== | 240 kB 00:04 E primary.xml.gz 35% |======== | 328 kB 00:03 E primary.xml.gz 43% |========== | 408 kB 00:03 E primary.xml.gz 52% |============= | 496 kB 00:02 E primary.xml.gz 61% |=============== | 576 kB 00:02 E primary.xml.gz 70% |================= | 664 kB 00:01 E primary.xml.gz 79% |=================== | 744 kB 00:01 E primary.xml.gz 88% |====================== | 832 kB 00:00 E primary.xml.gz 97% |======================== | 912 kB 00:00 E primary.xml.gz 100% |=========================| 937 kB 00:03
extras : ################################################## 2620/2620
Added 2620 new packages, deleted 0 old in 15.08 seconds
primary.xml.gz 100% |=========================| 0 B 00:30
ftp://ftp.tecnoera.com/pub/fedora/linux/updates/5/i386/repodata/primary.xml. gz: [Errno 4] Socket Error: timed out
Trying other mirror.
http://www.muug.mb.ca/pub/fedora/linux/core/updates/5/i386/repodata/primary. xml.gz: [Errno 12] Timeout:
Trying other mirror.
primary.xml.gz 4% |= | 8.0 kB 00:08 E primary.xml.gz 29% |======= | 48 kB 00:04 E primary.xml.gz 74% |================== | 120 kB 00:01 E primary.xml.gz 100% |=========================| 161 kB 00:01
updates : ################################################## 521/521
Added 521 new packages, deleted 0 old in 3.39 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for bittorrent to pack into transaction set.
bittorrent-4.4.0-1.fc5.no 80% |==================== | 32 kB 00:00 E bittorrent-4.4.0-1.fc5.no 100% |=========================| 40 kB 00:00
---> Package bittorrent.noarch 0:4.4.0-1.fc5 set to be updated
--> Running transaction check
--> Processing Dependency: python-crypto for package: bittorrent
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for python-crypto to pack into transaction set.
python-crypto-2.0.1-2.fc5 100% |=========================| 14 kB 00:00
---> Package python-crypto.i386 0:2.0.1-2.fc5 set to be updated
--> Running transaction check

Dependencies Resolved

============================================================================ =
Package Arch Version Repository Size
============================================================================ =
Installing:
bittorrent noarch 4.4.0-1.fc5 extras 1.1 M
Installing for dependencies:
python-crypto i386 2.0.1-2.fc5 extras 190 k

Transaction Summary
============================================================================ =
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.2 M
Downloading Packages:
(1/2): python-crypto-2.0. 21% |===== | 40 kB 00:01 E (1/2): python-crypto-2.0. 84% |===================== | 160 kB 00:00 E (1/2): python-crypto-2.0. 100% |=========================| 190 kB 00:00
(2/2): bittorrent-4.4.0-1 3% | | 40 kB 00:07 E (2/2): bittorrent-4.4.0-1 14% |=== | 160 kB 00:06 E (2/2): bittorrent-4.4.0-1 22% |===== | 240 kB 00:05 E (2/2): bittorrent-4.4.0-1 30% |======= | 328 kB 00:04 E (2/2): bittorrent-4.4.0-1 37% |========= | 408 kB 00:04 E (2/2): bittorrent-4.4.0-1 45% |=========== | 496 kB 00:03 E (2/2): bittorrent-4.4.0-1 53% |============= | 576 kB 00:02 E (2/2): bittorrent-4.4.0-1 61% |=============== | 664 kB 00:02 E (2/2): bittorrent-4.4.0-1 68% |================= | 744 kB 00:01 E (2/2): bittorrent-4.4.0-1 76% |=================== | 832 kB 00:01 E (2/2): bittorrent-4.4.0-1 84% |===================== | 912 kB 00:00 E (2/2): bittorrent-4.4.0-1 92% |======================= | 1.0 MB 00:00 E (2/2): bittorrent-4.4.0-1 99% |======================== | 1.1 MB 00:00 E (2/2): bittorrent-4.4.0-1 100% |=========================| 1.1 MB 00:04
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1ac70ce6
Public key for python-crypto-2.0.1-2.fc5.i386.rpm is not installed
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
Importing GPG key 0x1AC70CE6 "Fedora Project "
Key imported successfully
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: python-crypto ######################### [1/2]
Installing: bittorrent ######################### [2/2]

Installed: bittorrent.noarch 0:4.4.0-1.fc5
Dependency Installed: python-crypto.i386 0:2.0.1-2.fc5
Complete!

Installing the GUI

[root@tarrydev ~]# yum -y install bittorrent-gui
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
extras [2/3]
updates [3/3]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for bittorrent-gui to pack into transaction set.
bittorrent-gui-4.4.0-1.fc 100% |=========================| 13 kB 00:00
---> Package bittorrent-gui.noarch 0:4.4.0-1.fc5 set to be updated
--> Running transaction check

Dependencies Resolved

============================================================================ =
Package Arch Version Repository Size
============================================================================ =
Installing:
bittorrent-gui noarch 4.4.0-1.fc5 extras 107 k

Transaction Summary
============================================================================ =
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 107 k
Downloading Packages:
(1/1): bittorrent-gui-4.4 22% |===== | 24 kB 00:01 E (1/1): bittorrent-gui-4.4 100% |=========================| 107 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: bittorrent-gui ######################### [1/2]
Removing : BitTorrent ######################### [2/2]

Installed: bittorrent-gui.noarch 0:4.4.0-1.fc5
Complete!

For your Security Enhanced linux with Firewalling do the following to allow for the ports...


[root@tarrydev ~]# /sbin/iptables -I INPUT -p tcp --destination-port 6881:69 99 -j ACCEPT

SAVE

[root@tarrydev ~]# /sbin/iptables-save > /etc/sysconfig/iptables

List them tables

[root@tarrydev ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpts:6881:iatp-normalpri
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ssn
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:microsoft-ds
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited


You're done!

Comments

Popular posts from this blog

Security: VMware Workstation 6 vulnerability

vulnerable software: VMware Workstation 6.0 for Windows, possible some other VMware products as well type of vulnerability: DoS, potential privilege escalation I found a vulnerability in VMware Workstation 6.0 which allows an unprivileged user in the host OS to crash the system and potentially run arbitrary code with kernel privileges. The issue is in the vmstor-60 driver, which is supposed to mount VMware images within the host OS. When sending the IOCTL code FsSetVoleInformation with subcode FsSetFileInformation with a large buffer and underreporting its size to at max 1024 bytes, it will underrun and potentially execute arbitrary code. Security focus

Splunk that!

Saw this advert on Slashdot and went on to look for it and found the tour pretty neat to look at. Check out the demo too! So why would I need it? WHY NOT? I'd say. As an organization grows , new services, new data comes by, new logs start accumulating on the servers and it becomes increasingly difficult to look at all those logs, leave alone that you'd have time to read them and who cares about analysis as the time to look for those log files already makes your day, isn't it? Well a solution like this is a cool option to have your sysadmins/operators look at ONE PLACE and thus you don't have your administrators lurking around in your physical servers and *accidentally* messing up things there. Go ahead and give it a shot by downloading it and testing it. I'll give it a shot myself! Ok so I went ahead and installed it. Do this... [root@tarrydev Software]# ./splunk-Server-1.0.1-linux-installer.bin to install and this (if you screw up) [root@tarrydev Software]# /op...