Package: debtorrent Version: 0.1.5 Severity: serious
This software do not work at all. If I run "apt-get update", it output this kind of crap: W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/stable/main/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/stable/contrib/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/stable/non-free/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/proposed-updates/main/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/proposed-updates/contrib/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/proposed-updates/non-free/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/testing-proposed-updates/main/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/testing-proposed-updates/contrib/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/testing-proposed-updates/non-free/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/unstable/main/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/unstable/contrib/binary-i386/Packages.gz 404 Not Found W: Failed to fetch http://localhost:9988/ftp.fi.debian.org/pub/debian/dists/unstable/non-free/binary-i386/Packages.gz 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. When I open URL http://localhost:9988/ with my web browser, it show a table that says: "no torrents". I try remember to include enough scripts and config files with this bugreport. A file called "firewall" is a shell script, that is run during boot process. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (1100, 'testing'), (990, 'stable'), (500, 'testing-proposed-updates'), (500, 'proposed-updates'), (101, 'testing'), (99, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core) Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages debtorrent depends on: ii adduser 3.107 add and remove users and groups ii python 2.5.2-1 An interactive high-level object-o ii python-support 0.7.7 automated rebuilding support for P Versions of packages debtorrent recommends: ii apt-transport-debtorrent 0.2.0 an APT transport for communicating pn python-crypto <none> (no description available) -- no debconf information -- Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv "Boku wa ongakuka dentaku katate ni. Tashitari. Hiitari. Sousa shite. Sakkyoku suru. Kono botan oseba ongaku kanaderu." Kraftwerk
#SECURITY #deb ftp://security.debian.org/debian-security/ stable updates/main updates/contrib updates/non-free deb http://security.debian.org etch/updates main contrib non-free deb-src http://security.debian.org etch/updates main contrib non-free ############################## # VOLATILE # deb ftp://ftp.fi.debian.org/debian-volatile etch/volatile main contrib non-free deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free deb ftp://ftp.fi.debian.org/debian-volatile etch-proposed-updates/volatile main contrib non-free deb http://volatile.debian.org/debian-volatile etch-proposed-updates/volatile main contrib non-free #deb ftp://ftp.fi.debian.org/debian-volatile testing/volatile main contrib non-free #deb http://volatile.debian.net/debian-volatile testing/volatile main contrib non-free #deb ftp://ftp.fi.debian.org/debian-volatile testing-proposed-updates/volatile main contrib non-free #deb http://volatile.debian.net/debian-volatile testing-proposed-updates/volatile main contrib non-free ############################################ # Backports # http://backports.org/ #deb http://www.backports.org/debian etch-backports main contrib non-free # # ############################################ # # deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main #deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main #deb http://ftp.jyu.fi/debian/ etch main non-free contrib #deb-src http://ftp.jyu.fi/debian/ etch main non-free contrib #deb http://security.debian.org/ etch/updates main contrib non-free #deb-src http://security.debian.org/ etch/updates main contrib non-free ############################## # STABLE # deb http://localhost:9988/ftp.fi.debian.org/pub/debian stable main contrib non-free deb ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian stable main contrib non-free deb ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian etch main contrib non-free #deb ftp://ftp.fi.debian.org/pub/debian etch main contrib non-free deb ftp://ftp.sunet.se/pub/Linux/distributions/debian stable main contrib non-free deb ftp://ftp.debian.org/debian stable main contrib non-free # STABLE PROPOSED UPDATES deb http://localhost:9988/ftp.fi.debian.org/pub/debian proposed-updates main contrib non-free deb ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian proposed-updates main contrib non-free deb ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian proposed-updates main contrib non-free #deb ftp://ftp.fi.debian.org/pub/debian proposed-updates main contrib non-free deb ftp://ftp.sunet.se/pub/Linux/distributions/debian proposed-updates main contrib non-free deb http://ftp.debian.org/debian proposed-updates main contrib non-free ######################## # TESTING # Dont forget to put this in /etc/apt.conf: # # APT::Default-Release "stable"; # #deb ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian testing main deb http://localhost:9988/ftp.fi.debian.org/pub/debian stable main contrib non-free deb ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian testing main contrib non-free deb ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian lenny main contrib non-free #deb ftp://ftp.fi.debian.org/pub/debian lenny main contrib non-free deb ftp://ftp.sunet.se/pub/Linux/distributions/debian testing main contrib non-free deb ftp://ftp.debian.org/debian testing main contrib non-free # TESTING PROPOSED UPDATES deb http://localhost:9988/ftp.fi.debian.org/pub/debian testing-proposed-updates main contrib non-free deb ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian testing-proposed-updates main contrib non-free deb ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian testing-proposed-updates main contrib non-free #deb ftp://ftp.fi.debian.org/pub/debian testing-proposed-updates main contrib non-free deb ftp://ftp.sunet.se/pub/Linux/distributions/debian testing-proposed-updates main contrib non-free deb ftp://ftp.debian.org/debian testing-proposed-updates main contrib non-free # SECURITY deb http://security.debian.org lenny/updates main contrib non-free deb-src http://security.debian.org lenny/updates main contrib non-free ######################## # UNSTABLE # Dont forget to put this in /etc/apt.conf: # # APT::Default-Release "stable"; # deb http://localhost:9988/ftp.fi.debian.org/pub/debian unstable main contrib non-free deb ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian unstable main contrib non-free deb ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian unstable main contrib non-free #deb ftp://ftp.fi.debian.org/pub/debian unstable main contrib non-free deb ftp://ftp.sunet.se/pub/Linux/distributions/debian unstable main contrib non-free deb ftp://ftp.debian.org/debian unstable main contrib non-free ######################## # EXPERIMENTAL # Dont forget to put this in /etc/apt.conf: # # APT::Default-Release "stable"; # #deb ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian experimental main contrib non-free #deb ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian experimental main contrib non-free #deb ftp://ftp.fi.debian.org/pub/debian experimental main contrib non-free #deb ftp://ftp.sunet.se/pub/Linux/distributions/debian experimental main contrib non-free #deb ftp://ftp.debian.org/debian experimental main contrib non-free ############################################################################## ############################################################################## ## SOURCE SOURCES ## ######################## # TESTING # Dont forget to put this in /etc/apt.conf: # # APT::Default-Release "stable"; # deb-src ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian testing main contrib non-free deb-src ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian lenny main contrib non-free deb-src ftp://ftp.fi.debian.org/pub/debian lenny main contrib non-free deb-src ftp://ftp.sunet.se/pub/Linux/distributions/debian testing main contrib non-free deb-src ftp://ftp.debian.org/debian testing main contrib non-free # TESTING PROPOSED UPDATES deb-src ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian testing-proposed-updates main contrib non-free deb-src ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian testing-proposed-updates main contrib non-free deb-src ftp://ftp.fi.debian.org/pub/debian testing-proposed-updates main contrib non-free deb-src ftp://ftp.sunet.se/pub/Linux/distributions/debian testing-proposed-updates main contrib non-free deb-src http://ftp.debian.org/debian testing-proposed-updates main contrib non-free ######################## # UNSTABLE # Dont forget to put this in /etc/apt.conf: # # APT::Default-Release "stable"; # deb-src ftp://ftp.jyu.fi/pub/mirrors/ftp.debian.org/debian unstable main contrib non-free deb-src ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian unstable main contrib non-free deb-src ftp://ftp.sunet.se/pub/Linux/distributions/debian unstable main contrib non-free deb-src ftp://ftp.debian.org/debian unstable main contrib non-free ######################## # mentors # deb-src http://mentors.debian.net/debian unstable main contrib non-free ############################################################################## ############################################################################## ## UNOFFICIAL ## Find more here: ## http://www.apt-get.org/ ## #deb http://ftp.debian-unofficial.org/debian stable main contrib non-free restricted #deb http://ftp.debian-unofficial.org/debian testing main contrib non-free restricted #deb http://ftp.debian-unofficial.org/debian unstable main contrib non-free restricted ############################################ # Agnula/DeMuDi # http://www.agnula.org/ # http://demudi.agnula.org/ # Agnula/DeMuDi stable #deb http://demudi.agnula.org/packages/demudi stable main # Agnula/DeMuDi development #deb http://demudi.agnula.org/packages/demudi testing main # Agnula/DeMuDi demudi #deb http://demudi.agnula.org/packages/demudi demudi main # Agnula/DeMuDi sources #deb-src http://demudi.agnula.org/packages/custom custom main #deb http://apt.agnula.org/demudi stable main local extra #deb http://apt.agnula.org/demudi stable main #deb http://apt.agnula.org/demudi testing main local extra #deb http://apt.agnula.org/demudi testing main #deb http://apt.agnula.org/demudi demudi main local extra #deb http://apt.agnula.org/demudi demudi main #deb ftp://ftp.unix-ag.org/pub/mirrors/demudi stable demudi #deb ftp://ftp.unix-ag.org/pub/mirrors/demudi unstable demudi #deb http://http.demudi.org/ stable demudi #deb http://http.demudi.org/ unstable demudi ############################################ # grep-dctrl of Antti-Juhani Kaijanaho #deb http://antti-juhani.kaijanaho.fi/dctrl-tools-experimental/ ./ # ibid's editor #deb http://antti-juhani.kaijanaho.fi/ie/debian/ stable/ #deb-src http://antti-juhani.kaijanaho.fi/ie/debian/ stable/ # XIMIAN GNOME #deb ftp://trumpetti.atm.tut.fi/ximian/debian stable main #deb ftp://ftp.ximian.com/pub/debian stable main #deb ftp://red-carpet.ximian.com/pub/debian stable main # Thin Keramik, NewStep and other KDE styles for Debian. #deb http://debian.neo.pl/wfmh stable main contrib non-free #deb http://debian.neo.pl/wfmh testing main contrib non-free #deb http://debian.neo.pl/wfmh unstable main contrib non-free # ccgo deb http://ccdw.org/~cjj/files/debs/ ./ # lookat deb http://users.skynet.be/wagemakers/debian/ etch contrib #deb http://users.skynet.be/wagemakers/debian/ sid contrib # DECSS #deb ftp://ftp.dodds.net/debian woody css ############################################################################### # AVIFILE, MPLAYER ETC. deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia stable main deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia testing main deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia sid main deb http://www.debian-multimedia.org etch main deb http://www.debian-multimedia.org stable main deb http://www.debian-multimedia.org testing main deb http://www.debian-multimedia.org sid main deb-src http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia stable main deb-src http://www.debian-multimedia.org sid main # ############################################################################### # MPLAYER #deb http://debian.kcore.org ./ #http://tonelli.sns.it/pub/mplayer/sarge/ ./ # VLC (and for DVD: wxvlc libdvdcss2) #deb http://download.videolan.org/pub/videolan/debian sid main #deb-src http://download.videolan.org/pub/videolan/debian sid main # libcaca #deb http://sam.zoy.org/debian sid main #deb-src http://sam.zoy.org/projects/debian sid main # SILC-CLIENT deb ftp://ftp.silcnet.org/silc/client/deb/ ./ # GRUB WITH VGA SPLASH SCREEN #deb http://people.debian.org/~ingo/grub/unstable/ ./ # JAVA #deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian woody non-free #deb http://jopa.studentenweb.org/debian ./ #deb ftp://www.tux.org/pub/java/debian unstable main non-free #deb ftp://www.tux.org/pub/java/debian testing main non-free #deb ftp://www.tux.org/pub/java/debian stable main non-free # DEBIAN OPTIMIZED FOR PENTIUM #deb http://ftp.fsn.hu/debian-i586 potato main # OpenOffice.org in Finnish: #deb http://www.hunspell-fi.org/debian/ unstable/ #deb-src http://www.hunspell-fi.org/debian/ unstable/ #deb http://www.lemi.fi/voikko/debian/ sarge/ #deb-src http://www.lemi.fi/voikko/debian/ sarge/ #deb http://elonen.iki.fi/code/unofficial-debs/ ./ # TeX refs deb http://www.miwie.org/ ./ # Latin Modern fonts for TeX and X Window System, too. #deb http://people.via.ecp.fr/~flo/debian sid/binary-all/ #deb-src http://people.via.ecp.fr/~flo/debian sid/source/ ######################################################### # Gürkan "tarzeau" Sengün # Do this to get the latest apt-lines: # nc linuks.mine.nu 23 # or: # telnet linuks.mine.nu #deb ftp://ftp.ch.debian.org/debian/ sid main #deb http://gnu.ethz.ch/debian/ ./ #deb-src ftp://ftp.ch.debian.org/debian/ sid main ##deb http://www.linuks.mine.nu/i_debian/ ./ ##deb http://telesto.lug-ag.ch/~gurkan/debian/ ./ ##deb-src http://www.linuks.mine.nu/debian/ ./ ##deb-src http://io.debian.net/~tar/debian/ ./ # Emacs Tiny Tools #deb http://vbeffara.free.fr/debian/ ./ # Gammu #deb http://debian.cihar.com/ unstable gammu # GnoCHM #deb http://chinese.alioth.debian.org gnochm/ #deb-src http://chinese.alioth.debian.org gnochm/ # Lame #deb http://www.rarewares.org/debian/packages/stable ./ #deb http://www.rarewares.org/debian/packages/unstable ./ # XMMS2 #deb http://exodus.xmms.se/debian etch main #deb http://exodus.xmms.se/debian stable main #deb http://exodus.xmms.se/debian testing main #deb http://exodus.xmms.se/debian unstable main #deb http://exodus.xmms.se/debian sid main #deb http://genesis.xmms.se/debian etch main #deb http://genesis.xmms.se/debian stable main #deb http://genesis.xmms.se/debian testing main #deb http://genesis.xmms.se/debian unstable main #deb http://genesis.xmms.se/debian sid main # TeX Live #deb http://www.tug.org/texlive/Debian/ pool/ #deb-src http://www.tug.org/texlive/Debian/ pool/ #deb http://www.tug.org/texlive/Debian/ updpkg/ #deb http://www.tug.org/texlive/Debian/ cm-super/ #deb http://www.tug.org/texlive/Debian/ latex-cjk/ #deb http://www.tug.org/texlive/Debian/ ipe/ #deb http://www.tug.org/texlive/Debian/ check/ #deb http://www.tug.org/texlive/Debian/ tufonts/ #deb http://www.tug.org/texlive/Debian/ luatex/ #deb http://www.tug.org/texlive/Debian/ context/ # LaTeX-CJK #deb http://chinese.alioth.debian.org latex-cjk/ #deb-src http://chinese.alioth.debian.org latex-cjk/ # Curve style for LaTeX deb http://www.lrde.epita.fr/debian/ unstable/i386/ deb-src http://www.lrde.epita.fr/debian/ sid/source/ # CJKUnifonts deb http://apt.debian.org.tw unstable main deb-src http://apt.debian.org.tw unstable main # GTK-Qt Theme Engine #deb ftp://ftp.ekhis.org/ekhis/ staging main # DSPAM #deb http://linux.freenet.ath.cx/debian unstable main contrib non-free # Opera deb http://deb.opera.com/opera/ stable non-free deb http://deb.opera.com/opera/ testing non-free deb http://deb.opera.com/opera/ unstable non-free # Terminal # http://www.os-cillation.com/index.php?id=42&L=5 # http://www.os-works.com/view/debian/ #deb http://www.os-works.com/debian sarge main #deb http://www.os-works.com/debian stable main #deb http://www.os-works.com/debian testing main #deb http://www.os-works.com/debian unstable main #deb-src http://www.os-works.com/debian stable main #deb-src http://www.os-works.com/debian testing main #deb-src http://www.os-works.com/debian unstable main # Some fonts: #deb http://tuxfonts.free.fr/debs ./ ######################################################################### # Audacious #deb http://vdlinux.sourceforge.jp/ experimental audacious #deb-src http://vdlinux.sourceforge.jp/ experimental audacious # etch #deb http://static.audacious-media-player.org/debian etch main #deb-src http://static.audacious-media-player.org/debian etch main # unstable #deb http://static.audacious-media-player.org/debian sid main #deb-src http://static.audacious-media-player.org/debian sid main ######################################################################### # BMPx #deb http://www.kaduk.net/mateusz/debian/sid ./ #deb-src http://www.kaduk.net/mateusz/debian/sid ./ # netlcdclient deb http://users.servicios.retecal.es/luisllorente/web/debian ./ deb-src http://users.servicios.retecal.es/luisllorente/web/debian ./ ##### # ROX deb ftp://ftp.berlios.de/pub/rox4debian binary/ # RareWares/Debian Multi-Media Repository for Unstable #deb http://www.rarewares.org/debian/packages/unstable/ ./ ####################### # Norbert Preining # # for texlive #deb http://people.debian.org/~preining/TeX/ tl2007/ #deb-src http://people.debian.org/~preining/TeX/ src/ # for lmodern #deb http://people.debian.org/~preining/TeX/ lmodern/ #deb-src http://people.debian.org/~preining/TeX/ lmodern/ # for context #deb http://people.debian.org/~preining/TeX/ context/ #deb-src http://people.debian.org/~preining/TeX/ context/ #deb http://people.debian.org/~preining/TeX/ cm-super/ #deb-src http://people.debian.org/~preining/TeX/ cm-super/ #deb http://people.debian.org/~preining/TeX/ jadetex/ #deb-src http://people.debian.org/~preining/TeX/ jadetex/ #deb http://people.debian.org/~preining/TeX/ luatex/ #deb-src http://people.debian.org/~preining/TeX/ luatex/ # Automatix2 #deb http://www.getautomatix.com/apt etch main # FBReader — e-book reader #deb http://www.fbreader.org/desktop/debian etch main # GWhere deb http://www.gwhere.org/download/debian unstable main deb-src http://www.gwhere.org/download/debian unstable main # Last.fm -client deb http://apt.last.fm/ debian stable deb http://apt.last.fm/ debian testing # TEI-emacs stuff: #deb http://tei.oucs.ox.ac.uk/teideb/binary/ ./
#!/bin/sh # ytti (at) iki (dot) fi, toimii mulla, ei välttämättä sulla, avh. # Alkuperäinen konfis oli joskus täällä: http://ytti.fi/firewall # Juhapekka "naula" Tolvanen # http://iki.fi/juhtolv # juhtolv (at) iki (dot) fi : # Muokkasin tätä ja tää yhä toimii mulla muttei välttämättä sulla. # Mitään takuuta en anna enkä ota vastuuta seurauksista. # Aina häviää - ihan joka päivä. PATH='/usr/sbin:/sbin:/usr/bin:/bin' export PATH ##################################################### # Sallitaan tunnetuilta DHCP-palvelimilta yhteydet #iptables -I INPUT 1 -s 130.234.185.2 -j ACCEPT case "$1" in start) #for m in iptable_filter ip_tables ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_REJECT ipt_multiport ipt_state ipt_LOG #do # modprobe $m #done if [ $2 ]; then int=$2; else int=`tail -n1 /proc/net/route|sed "s/\([^ ]\+\).*/\1/"`; fi echo int=$int mie="`ifconfig $int|grep 'inet addr'|sed -e 's/.*inet addr:\([0-9\.]\+\).*/\1/'`/32" #mie="130.234.191.114/32" echo mie=$mie #if test "$mie" != "130.234.191.114/32" #then # echo Something is wrong with your IP-number. Exiting ... # exit 1 #fi # tiputetan kaikki iptables -F iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP # luodaan loggaava tiputusketju iptables -N droplog iptables -F droplog iptables -A droplog -m limit -j LOG --log-level debug iptables -A droplog -j DROP # sallitaan localhostissa liikenne molempiin suuntiin iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT ##################################################### # sallitaan yhteydet ulospäin iptables -A OUTPUT -s $mie -o $int -j ACCEPT # sallitaan muodostetut yhteydet tilatietoisesti sisään iptables -A INPUT -m state --state ESTABLISHED,RELATED -d $mie -i $int -j ACCEPT # sallitaan ICMP-viestit sisään iptables -A INPUT -p icmp -m limit --limit 1/second -d $mie -i $int -j ACCEPT # sallitaan ssh sisään iptables -A INPUT -p tcp -d $mie --dport ssh -i $int -j ACCEPT # sallitaan yhteydet porttiin 10000, jonka takana on debtorrent #iptables -A FORWARD -p tcp -d $mie --dport 10000 -i $int -j ACCEPT #iptables -t mangle -A INPUT -p tcp -d $mie --dport 9988 --sport 10000 -i $int -j ACCEPT #iptables -t mangle -A FORWARD -p tcp -d $mie --sport 9988 --dport 10000 -i $int -j ACCEPT # sallitaan irkiltä ident-pyynnöt #iptables -A INPUT -p tcp -s irc.jyu.fi -d $mie --dport auth -i $int -j ACCEPT # sallitaan tunnetuilta IRC-servereiltä ident-pyynnöt # (lisää nuo IRC-serverit IRC-klienttisi konfikseen): #IRCSERVERS_IRCNET="irc.jyu.fi irc.cs.hut.fi aapo.it.lut.fi irc.stealth.net" #IRCSERVERS_IRCNET="irc.saunalahti.fi miekka.saunalahti.fi irc.jyu.fi irc.cs.hut.fi aapo.it.lut.fi irc.stealth.net" #IRCSERVERS_FREENODE="orwell.freenode.net" #IRCSERVERS_DALNET="irc.dal.net ced.se.eu.dal.net powertech.no.eu.dal.net matrix.de.eu.dal.net starburst.nl.eu.dal.net tiscali.uk.eu.dal.net gaston.se.eu.dal.net brain.hub.eu.dal.net" #IRCSERVERS_AFSMGNET="angel.afsmg.co.uk anya.afsmg.co.uk buffy.afsmg.co.uk cordelia.afsmg.co.uk dawn.afsmg.co.uk faith.afsmg.co.uk spike.afsmg.co.uk ukhub.afsmg.co.uk ushub.afsmg.co.uk zander.afsmg.co.uk" #IRCSERVERS_AFSMGNET="buffy.afsmg.co.uk cordelia.afsmg.co.uk" #IRCSERVERS="$IRCSERVERS_IRCNET" #IRCSERVERS="$IRCSERVERS_AFSMGNET" #IRCSERVERS="$IRCSERVERS_AFSMGNET $IRCSERVERS_FREENODE" #IRCSERVERS="$IRCSERVERS_IRCNET $IRCSERVERS_AFSMGNET" #IRCSERVERS="$IRCSERVERS_IRCNET $IRCSERVERS_DALNET" #IRCSERVERS="$IRCSERVERS_IRCNET $IRCSERVERS_FREENODE $IRCSERVERS_DALNET" #IRCSERVERS="$IRCSERVERS_FREENODE" #for i in $IRCSERVERS #do # iptables -A INPUT -p tcp -s $i -d $mie --dport auth -i $int -j ACCEPT #done # Sallitaan koneen sisällä yhteys ircd:hen: #iptables -A INPUT -p tcp -s $mie -d $mie --dport ircd -i $int -j ACCEPT #iptables -A INPUT -p tcp -s $mie -d $mie --dport ircd -i lo -j ACCEPT # hylätään ident ja socks, eikä logata iptables -A INPUT -p tcp -m multiport -d $mie --dport auth,socks -i $int -j REJECT # sallitaan ftp erikseen ftp.funet.fi:in kanssa, jotta ls-komento toimisi # (tilapäinen ratkaisu. käännä ip_conntrack_ftp -moduli kun kerkiät) #iptables -A INPUT -p tcp -d $mie -s ftp.funet.fi --sport ftp -i $int -j ACCEPT #iptables -A INPUT -p tcp -d $mie -s ftp.funet.fi --sport ftp-data -i $int -j ACCEPT # hylätään socks, eikä logata iptables -A INPUT -p tcp -m multiport -d $mie --dport socks -i $int -j REJECT # logataan tiputetut iptables -A INPUT -j droplog ##################################################### # Sallitaan tunnetuilta DHCP-palvelimilta yhteydet #iptables -I INPUT 1 -s 130.234.185.2 -j ACCEPT ;; stop) iptables -F iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -F droplog iptables -X droplog #modprobe -r ipt_REJECT ipt_multiport ipt_state ipt_LOG ip_conntrack_ftp ip_conntrack iptable_filter ip_tables ;; restart) $0 stop ; $0 start ;; p2p) if [ $2 ]; then int=$2; else int=`tail -n1 /proc/net/route|sed "s/\([^ ]\+\).*/\1/"`; fi echo int=$int mie="`ifconfig $int|grep 'inet addr'|sed -e 's/.*inet addr:\([0-9\.]\+\).*/\1/'`/32" #mie="130.234.191.114/32" echo mie=$mie #if test "$mie" != "130.234.191.114/32" #then # echo Something is wrong with your IP-number. Exiting ... # exit 1 #fi # Sallitaan Napster/OpenNap-liikenne #for n in `seq 6699 6799` #do # iptables -A INPUT -p tcp -d $mie --dport $n -i $int -j ACCEPT #done # Sallitaan Gnutella- ja OpenFT-liikenne #for o in 3825 1764 2216 #do # iptables -A INPUT -p tcp -d $mie --dport $o -i $int -j ACCEPT #done # Sallitaan aMule-liikenne #for p in 4662 #do # iptables -A INPUT -p tcp -d $mie --dport $p -i $int -j ACCEPT #done #for q in 4672 #do # iptables -A INPUT -p udp -d $mie --dport $q -i $int -j ACCEPT #done # Sallitaan SoulSeek-liikenne #for r in `seq 2234 2239` #do # iptables -A INPUT -p tcp -d $mie --dport $r -i $int -j ACCEPT #done # Sallitaan BitTorrent -liikenne: for s in `seq 6881 6999` 6666 12466 do iptables -A INPUT -p tcp -d $mie --dport $s -i $int -j ACCEPT done iptables -A INPUT -p udp -d $mie --dport 12466 -i $int -j ACCEPT # Sallitaan Peercast -liikenne: #for t in 7144 7145 #do # iptables -A INPUT -p tcp -d $mie --dport $s -i $int -j ACCEPT #done # Sallitaan DC++ -liikenne: ##for s in 411 555 `seq 1025 32000` #for s in 411 555 #do # iptables -A INPUT -p tcp -d $mie --dport $s -i $int -j ACCEPT #done ;; reload) $0 start ;; Pre-Up) iptables -F iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP ##################################################### # Sallitaan tunnetuilta DHCP-palvelimilta yhteydet #iptables -I INPUT 1 -s 130.234.185.2 -j ACCEPT ;; status) iptables -L ;; adv-status) iptables -L -v --line-numbers ;; *) echo "Usage: $0 {start|stop|restart|reload|status|adv-status}" >&2 exit 1 #;; esac exit 0
############################################################################### # D E B T O R R E N T C O N F I G U R A T I O N ############################################################################### # # This is a Windows-style INI file for configuring DebTorrent. # # Values that are strings are written surrounded by quotes, and the decoding # routine automatically strips any quotes from the values. Booleans are # written as integers, with 0 being false, anything else is true. Decimal # numbers are read in as floats. Anything other than strings, integers, and # floats may have unpredictable results. Lines beginning with a '#' are # considered comments and are ignored, as are blank lines. There are no # sections, all configuration variables are global. # # This file should be placed in /etc/debtorrent # # $Id: debtorrent-client.conf 299 2007-10-17 03:48:40Z camrdale-guest $ # ############################################################################### # L O C A T I O N S ############################################################################### # # Download Directory # # The directory to save the downloaded files in. If left blank then the user's # home directory will be used. # # download_dir = "" # # SaveAs Style # # How to name the torrent download directories: # 1 -- <mirror>_dists_<suite>_<section>_binary-<arch> # 2 -- <mirror> # # WARNING: A SaveAs Style of 2 is experimental and may result in problems. # # saveas_style = 1 # # Cache Directory # # The directory to use to get/store cache files. If left blank then a # .DebTorrent directory in the user's home directory will be used. # # cache_dir = "" # # Expire Cache Data # # The number of days after which you wish to expire old cached data so that it # will no longer be used. Set this to 0 to always use old cached data. # # expire_cache_data = 30 # # Log Directory # # The directory to write the output logs to. If left blank, the cache # directory will be used. # # log_dir = "" # # Log Level # # The log level to write output logs at. The possible values are: # # 50 -- Critical # 40 -- Error # 30 -- Warn (default) # 20 -- Info # 10 -- Debug # # log_level = 10 ############################################################################### # R A T E L I M I T S ############################################################################### # # Maximum Upload Rate # # The maximum rate to upload at: # # -1 -- try to set the rate automatically # 0 -- no limit # > 0 -- number of KB/s to limit the uploading rate to # # max_upload_rate = 0 # # Maximum Download Rate # # The maximum rate to download at, in kB/s. Set to 0 to not limit the download # rate. # # max_download_rate = 0 # # Upload Rate Fudge # # The time equivalent of writing to kernel-level TCP buffer, for rate # adjustment (in seconds). # # upload_rate_fudge = 5.0 # # TCP Ack Fudge # # To account for the part of the upload bandwidth that is due to TCP # acknowledgements sent for downloaded packets, the TCP Ack Fudge fraction of # the downloaded bytes will be added to the uploaded bytes for the upload rate # calculations. # # tcp_ack_fudge = 0.03 # # Maximum Rate Period # # The maximum amount of time to guess the current rate estimate represents # (in seconds). # # max_rate_period = 20.0 # # Upload Unit Size # # When limiting the upload rate, how many bytes to send at a time. # # upload_unit_size = 1460 ############################################################################### # T O R R E N T C O N N E C T I O N S ############################################################################### # # Bind # # A comma-separated list of IPs and hostnames to bind to listen on locally for # connections from peers. Leaving this blank will cause it to listen on all # IPs and hostnames. # # bind = "" # # IP # # The IP to report you have to the tracker. Normally the tracker can # successfully determine all peers external IP addresses, so this can be left # blank. The only exception is when the peer and tracker are behind the same # NAT, in which case this should be set to the external IP address of the NAT. # # ip = "" # # Minimum Port # # The minimum port to try listening on. Only one port in the range given by # the minimum and maximum will be used. # #minport = 10000 minport = 10020 # # Maximum Port # # The maximum port to try listening on. Only one port in the range given by # the minimum and maximum will be used. # # maxport = 60000 maxport = 10025 # # Random Port # # Whether to choose randomly inside the port range instead of counting up # linearly. # # random_port = 1 random_port = 1 # # IPv6 Enabled # # Allow the client to connect to peers via IPv6. # # ipv6_enabled = 0 # # IPv6 Binds v4 # # Whether an IPv6 server socket will also field IPv4 connections. # # ipv6_binds_v4 = 0 # # Timeout # # Time to wait between closing sockets which nothing has been received on # (in seconds). # # timeout = 300.0 timeout = 300.0 # # Timeout Check Interval # # Time to wait between checking if any connections have timed out (in seconds). # # timeout_check_interval = 60.0 timeout_check_interval = 60.0 ############################################################################### # E N C R Y P T I O N ############################################################################### # # These variables control the use of encryption by the client. Encyption can # be used to speed up downloads for clients on ISPs that attempt to filter or # shape bittorrent downloads. To see the recommended encryption level for your # ISP, go to: # # http://www.azureuswiki.com/index.php/Bad_ISPs # # The encryption levels listed here: # # http://www.azureuswiki.com/index.php/Avoid_traffic_shaping # # correspond to DebTorrent configuration variables of: # # Encryption # Level crypto_allowed crypto_only crypto_stealth # ---------- -------------- ----------- -------------- # 0 0 0 0 # 1 (default) 1 0 0 # 2 1 1 0 # 4 1 1 1 # # The encryption standard followed, developed by Azureus, is available at: # # http://www.azureuswiki.com/index.php/Message_Stream_Encryption # # DebTorrent supports both header-only and full-stream encryption, though # header-only is only supported in one of DebTorrent's four encryption # modes. # # These modes are: # # 0. No encryption permitted. The client won't make or accept any encrypted # connections. # # 1. Encryption enabled (default). The client will accept incoming # encrypted connections, and will make outgoing encrypted connections # if the tracker tells it that the peer requires it (and if the tracker has # the extensions to do so). In this mode, the client will recognize # header-only encryption. # # 2. Encrypted connections only. This restricts the client to only # connecting via encrypted links, and only via full stream encryption. # This may drastically affect the ability of the client to connect to # peers with a tracker that doesn't support the crypto extensions. # # 4. Full stealth encryption. Like the above mode, except it also modifies # tracker communications so that (assuming peers are coded properly) the # client will never receive any unencrypted incoming connection attempts. # If the tracker doesn't support the crypto extensions, this will also # effectively firewall the client. # ############################################################################### # # Crypto Allowed # # Whether to allow the client to accept encrypted connections. The default # value for this option is determined by the presence of the python "Crypto" # module (debian package "python-crypto") necessary for encryption to work. # It is therefore not recommended that you change the default, unless you want # to specifically disable encryption. # # crypto_allowed = 0 # # Crypto Only # # Whether to only create or allow encrypted connections. # # crypto_only = 0 # # Crypto Stealth # # Whether to prevent all non-encrypted connection attempts. # # crypto_stealth = 0 ############################################################################### # A P T R E Q U E S T S ############################################################################### # # APT Port # # The port to listen for APT requests on. # # apt_port = 9988 apt_port = 9988 # # Apt Bind # # A comma-separated list of IPs and hostnames to bind to listen on locally for # connections from Apt clients. Leaving this blank will cause it to listen on # all IPs and hostnames. # # apt_bind = "" apt_bind = "localhost" # # Show InfoPage # # Whether to display an information and statistics page when the APT # requester's root dir is loaded. If enabled, the page can be viewed at: # # http://localhost:9988/ # # where 9988 is the port specified for listening for APT requests. # # show_infopage = 1 # # InfoPage Redirect # # A URL to redirect the info page to. The Show InfoPage option must be set to # True (1) for this to work. # # infopage_redirect = "" # # favicon # # The file containing x-icon data to return when a browser requests # favicon.ico from the APT request listener. # # favicon = "" # # Display Path # # Whether to display the full path or the torrent contents for each torrent on # the InfoPage. # # display_path = 0 # # Allow Get # # Add a /file?info_hash=<hash> url that allows users to download the dtorrent # file from the APT request listener's info page. # # allow_get = 0 # # Min Time Between Log Flushes # # The minimum time it must have been since the last log flush to do another # one (in seconds). # # min_time_between_log_flushes = 3.0 # # HUP Monitor # # Whether to reopen the log file upon receipt of a HUP signal. # # hupmonitor = 0 # # Allowed IPs # # A file containing IPs to only allow connections from. The file must contain # a single subnet data on each line in the format: # # aa.bb.cc.dd/len # # Leaving this option empty allows all IPs to connect to the APT listener # (except for those listed in the Banned IPs ranges). # # allowed_ips = "" # # Banned IPs # # A file containing IPs to NOT allow connections from. The file must contain # IP range data on each line in the format: # # xxx:xxx:ip1-ip2 # # banned_ips = "" # # Parse IP Files # # The number of seconds between reloading of Allowed and Banned IP lists # for the APT request listener. # # parse_ip_files = 60 ############################################################################### # B A C K U P H T T P D O W N L O A D E R ############################################################################### # # Disable HTTP Downloader # # Whether to disable the backup HTTP downloader. # # WARNING: Disabling this may seriously impact the ability of the client to # find some packages. It is only intended for testing purposes. # # disable_http_downloader = 0 ############################################################################### # O T H E R T H I N G S ############################################################################### # # Separate All # # Whether to separate the architecture:all packages into a separate torrent: # # 0 -- Don't separate, only run a single torrent for all packages # 1 -- Separate, and run the architecture:all torrent # 2 -- Separate, and run the non-architecture:all torrent # 3 -- Separate, and run both torrents # # separate_all = 0 ############################################################################### # E N D O F N O R M A L O P T I O N S ############################################################################### # # WARNING: The variables in the sections below control some of the inner # workings of the bittorrent client. You should not need to change # any of them, and it is NOT recommended that you change them unless # you are VERY familiar with bittorrent, as poor choices for some of # the variables can have bad results, such as other clients refusing # to connect to you. # ############################################################################### ############################################################################### # B I T T O R R E N T O P T I O N S ############################################################################### # # KeepAlive Interval # # The number of seconds to wait between sending keepalive message to peers. # # keepalive_interval = 120.0 # # Download Slice Size # # The number of bytes to ask a peer for in a request. The default is 16384 # which is 16K or 2^14. # # download_slice_size = 16384 # # Maximum Slice Length # # The maximum length slice to send to peers, in bytes, larger requests are # ignored. The default value is 131702 which is 128K or 2^17. # # max_slice_length = 131072 # # Maximum Message Length # # The maximum length (in bytes) prefix encoding you'll accept over a # connection. Larger values get the connection dropped. The default value is # 8,388,608 which is 8M or 2^23. # # max_message_length = 8388608 # # Rarest First Cutoff # # The number of downloaded pieces at which to switch from random piece # selection to a rarest first piece policy. # # rarest_first_cutoff = 2 # # Rarest First Priority Cutoff # # The number of peers which need to have a piece before completing other # partial pieces takes priority over the rarest first piece policy. # # rarest_first_priority_cutoff = 5 # # Breakup Seed Bitfield # # Whether to send an incomplete bitfield and then fill it in with have # messages, instead of sending a complete (all 1's) bitfield. This is used # in order to get around some bad ISP manipulations. # # breakup_seed_bitfield = 1 # # Snub Time # # The number of seconds to wait for data to come in over a connection before # assuming it's semi-permanently choked. # # snub_time = 30.0 ############################################################################### # I N C E N T I V E M E C H A N I S M ############################################################################### # # Max Uploads # # The maximum number of peers to upload to at once. # # max_uploads = 7 # # Minimum Uploads # # The number of uploads to fill out to with extra optimistic unchokes. # # min_uploads = 4 # # Round Robin Period # # The number of seconds between the client's switching upload targets. # # round_robin_period = 30 # # Auto Kick # # Whether to allow the client to automatically kick/ban peers that send bad # data. # # auto_kick = 1 # # Security # # Whether to enable extra security features intended to prevent abuse. Enabling # this feature will prevent the client from accepting multiple connections from # the same IP address for the same torrent. It will also result in a banned # peer's IP address being banned from all connections for the duration of the # torrent. With Security set to 0, the ban would only apply to the combination # of IP address and Peer ID sending bad data. # # security = 1 ############################################################################### # T R A C K E R C O N N E C T I O N S ############################################################################### # # Default Tracker # # The default tracker address to use for new torrents that don't specify one. # # default_tracker = "http://dttracker.debian.net:6969/announce" # # Rerequest Interval # # The time to wait between requesting more peers from the tracker (in seconds). # # rerequest_interval = 300 # # Min Peers # # The minimum number of peers to not do tracker rerequesting when above. # # min_peers = 20 # # Max Initiate # # The number of peers at which to stop initiating new connections to peers. # # max_initiate = 40 # # Maximum Connections # # The absolute maximum number of peers to connect with. Set this to 0 to # disable the limit and allow all connections. # # max_connections = 0 # # HTTP Timeout # # The number of seconds to wait before assuming that an HTTP connection to a # tracker has timed out. # # http_timeout = 60 ############################################################################### # F I L E S Y S T E M ############################################################################### # # Buffer Reads # # Whether to buffer disk reads. # # buffer_reads = 1 # # Write Buffer Size # # The maximum amount of space to use for buffering disk writes, in megabytes. # Set this to 0 to disable disk write buffering. # # write_buffer_size = 4 # # Maximum Files Open # # The maximum number of files to keep open at a time. Setting this to 0 will # impose no limit on the number of open files. # # max_files_open = 50 # # Check Hashes # # Whether to re-check hashes of data already downloaded during startup. # # check_hashes = 1 # # Double Check # # Whether to double-check data being written to the disk for errors (may # increase CPU load). # # double_check = 1 # # Triple Check # # Whether to thoroughly check data being written to the disk (may slow disk # access). # # triple_check = 0 # # Lock Files # # Whether to lock files the client is working with. # # lock_files = 1 # # Lock While Reading # # Whether to lock access to files being read. # # lock_while_reading = 0 # # Auto Flush # # The number of minutes between automatic flushes to disk. Setting this to 0 # will flush the most frequently allowed (currently once per minute). # # auto_flush = 0 ############################################################################### # A D V A N C E D F E A T U R E S ############################################################################### # # Super Seeder # # Whether to use special upload-efficiency-maximizing routines (only for # dedicated seeds). # # super_seeder = 0 # # Dedicated Seed ID # # The code to send to a tracker identifying this client as a dedicated seed. # # dedicated_seed_id = ""
############################################################################### # D A E M O N D E F A U L T S ############################################################################### # # This file specifies some default options to use when running the # debtorrent-client daemon from the init.d script. # # # Enable # # Whether to start the debtorrent-client in daemon mode from the init.d script. # The only allowed values are "true" and "false". # DEBTORRENT_ENABLE=true # # User # # The user to run the debtorrent-client daemon as. # DEBTORRENT_USER=debtorrent # # Configuration File # # The configuration file to use. If left blank then a file in the .DebTorrent # directory in the user's home directory will be used. # DEBTORRENT_CONFIG_FILE=/etc/debtorrent/debtorrent-client.conf # # Download Directory # # The directory to save the downloaded files in. If left blank then the user's # home directory will be used. # DEBTORRENT_DOWNLOAD_DIR=/var/cache/debtorrent # # Cache Directory # # The directory to use to get/store cache files. If left blank then a # .DebTorrent directory in the user's home directory will be used. # DEBTORRENT_CACHE_DIR=/var/cache/debtorrent/.DebTorrent # # Log Directory # # The directory to write the output logs to. If left blank, the cache # directory will be used. # DEBTORRENT_LOG_DIR=/var/log/debtorrent
############################################################################### # T R A C K E R D A E M O N D E F A U L T S ############################################################################### # # This file specifies some default options to use when running the # debtorrent-tracker daemon from the init.d script. # # # Enable # # Whether to start the debtorrent-tracker in daemon mode from the init.d # script. The only allowed values are "true" and "false". # DEBTORRENT_TRACKER_ENABLE=false # # User # # The user to run the debtorrent-tracker daemon as. # DEBTORRENT_TRACKER_USER=debtorrent # # Configuration File # # The configuration file to use. If left blank then a file in the .DebTorrent # directory in the user's home directory will be used. # DEBTORRENT_TRACKER_CONFIG_FILE=/etc/debtorrent/debtorrent-tracker.conf # # Cache Directory # # The directory to use to get/store cache files. If left blank then a # .DebTorrent directory in the user's home directory will be used. # DEBTORRENT_TRACKER_CACHE_DIR=/var/cache/debtorrent/.DebTorrent # # Log Directory # # The directory to write the output logs to. If left blank, the cache # directory will be used. # DEBTORRENT_TRACKER_LOG_DIR=/var/log/debtorrent

