Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Anons that already been using the i2p dark-net default IRC and participating on #occupy and indignados
- movements came to some type of consensus:
- To create our own IRC network inside of the dark-net with our own anonymous ways not only dedicated
- to be secure and anonymous but also represent the kind of freedom and consensus, leaderless and
- decentralization we want on the rest of the internet and in our societies. For this we
- are creating and linking together volunteer IRC servers inside the i2p dark-net and with this
- avoid DOS attacks and the recent privacy concerns anons had in the last months. More about this
- on another release but in the mean time join us and lets all build a new world starting from
- IRC.
- HOW TO LOG INTO THE ANONYMOUS NEW IRC SERVERS!
- USING GNU/LINUX - Ubuntu: (if using other distro just check http://www.i2p2.de/download.html) and skip the install part of this doc.
- Adding the PPA via the command line and installing I2P
- Open a terminal and enter:
- sudo apt-add-repository ppa:i2p-maintainers/i2p
- This command will add the PPA to /etc/apt/sources.list.d and fetch the gpg key that the repository has been signed with. The GPG key ensures that the packages have not been tampered with since being built.
- Notify your package manager of the new PPA by entering
- sudo apt-get update
- This command will retrieve the latest list of software from each repository that is enabled on your system, including the I2P PPA that was added with the earlier command.
- You are now ready to install I2P!
- sudo apt-get install i2p
- Adding the PPA Using Synaptic
- Open Synaptic (System -> Administration -> Synaptic Package Manager).
- Once Synaptic opens, select Repositories from the Settings menu.
- Click the Other Sources tab and click Add and paste:
- ppa:i2p-maintainers/i2p
- into the APT-line field and click Add Source. Click the Close button then Reload.
- In the Quick Filter box, type in i2p and press enter. When i2p is returned in the results list, right click i2p and select Mark for Installation. After doing so you may see a Mark additional required changes? popup. If so, click Mark then Apply.
- now SETUP ANONS IRC
- download this script to make things easier or copy and paste into a .sh file
- -------------------------- START filename: add_irc_tunnel.sh and chmod +x ------------------
- #!/usr/bin/env bash
- if [[ "$#" -lt "3" ]]; then
- cat << EOF
- USAGE:
- ./$(basename $0) <path> <host> <port>
- ARGS:
- path ....... Full path to your i2p tunnel list, if you have already
- ran I2P before this script, you may have to use
- /home/<user>/.i2p/i2ptunnel.config
- host ....... The IRC server's address you want to access
- port ....... A local open port to use
- EXAMPLE:
- ./$(basename $0) "/etc/i2p/i2ptunnel.config" "irc.anon-anarchist-action.i2p" "6669"
- EOF
- exit 0
- fi
- die() { # shout bloody messages
- echo -e "\e[1;31mERROR:\e[0;31m $1 \e[0m \n"
- exit 1
- }
- run_checks() { # brain check
- [[ "${I2PTUNNEL##*/}" != "i2ptunnel.config" ]] && die "Wrong file"
- [[ ! -w "$I2PTUNNEL" ]] && die "$I2PTUNNEL : No write permission."
- [[ "$IRC_HOST" != @(*.*) ]] && die "$IRC_HOST : Not a valid hostname."
- [[ "$LOCAL_PORT" -eq 6668 || "$LOCAL_PORT" -lt 1024 || "$LOCAL_PORT" -gt 65535 ]] && die "$LOCAL_PORT : Invalid port."
- [[ "$NUM" -lt 7 ]] && die "$NUM : Not a valid tunnel identifier."
- }
- add_tunnel() {
- cat >> "$I2PTUNNEL" << EOF
- tunnel.${NUM}.name=IRC Proxy
- tunnel.${NUM}.description=
- tunnel.${NUM}.type=ircclient
- tunnel.${NUM}.sharedClient=false
- tunnel.${NUM}.interface=127.0.0.1
- tunnel.${NUM}.listenPort=${LOCAL_PORT}
- tunnel.${NUM}.targetDestination=${IRC_HOST}
- tunnel.${NUM}.i2cpHost=127.0.0.1
- tunnel.${NUM}.i2cpPort=7654
- tunnel.${NUM}.option.inbound.nickname=IRC Proxy
- tunnel.${NUM}.option.outbound.nickname=IRC Proxy
- tunnel.${NUM}.option.i2cp.closeIdleTime=1200000
- tunnel.${NUM}.option.i2cp.closeOnIdle=true
- tunnel.${NUM}.option.i2cp.delayOpen=true
- tunnel.${NUM}.option.i2cp.newDestOnResume=false
- tunnel.${NUM}.option.i2cp.reduceIdleTime=600000
- tunnel.${NUM}.option.i2cp.reduceOnIdle=true
- tunnel.${NUM}.option.i2cp.reduceQuantity=1
- tunnel.${NUM}.option.i2p.streaming.connectDelay=1000
- tunnel.${NUM}.option.i2p.streaming.maxWindowSize=16
- tunnel.${NUM}.option.inbound.length=3
- tunnel.${NUM}.option.inbound.lengthVariance=0
- tunnel.${NUM}.option.outbound.length=3
- tunnel.${NUM}.option.outbound.lengthVariance=0
- tunnel.${NUM}.startOnLoad=true
- EOF
- }
- #[ VARIABLES ]#
- I2PTUNNEL=$1 # path to our i2ptunnel.config file
- IRC_HOST=$2 # our irc i2p hostname
- LOCAL_PORT=$3 # our local port
- # A default i2p installation already has 7 tunnels, labeled from 0 -> 6
- # default is set to num=7 unless our 4th argument changes it.
- NUM=${4:-7}
- #[ MAIN ]#
- run_checks # make sure the user used their brain before keyboard
- add_tunnel # add our irc tunnel to their i2p tunnel list
- echo "Done."
- exit 0
- ------------------------------ END --------------------------------------
- IMPORTNAT: make sure you stop your i2p server before running this script if not it will not work
- sudo /etc/init.d/i2p stop
- ok now to this script when you run it as "sudo" or with toor priviledges
- the options are"
- ./add_irc_tunnel "/etc/i2p/i2ptunnel.config" "irc.anon-anarchist-action.i2p" "6669"
- or
- ./add_irc_tunnel "/home/$yourusername_here/.i2p/i2ptunnel.config" "irc.anon-anarchist-action.i2p" "6669"
- NOTE: this name irc.anon-anarchist-action.i2p is propagating now inside the dark-net i2p so you
- may have to use the b32 address for more on this see the end of this note.
- OK: now you can start your i2p server again
- sudo /etc/init.d/i2p start
- now download X-chat, iircII, Kvirc, BitchX or whatever is the IRC client you like to use
- and configure it to use:
- host: localhost
- port: 6669
- and to auto join channels:
- #aaa
- #anonops
- #AnonAnarchistAction
- #opmonsanto
- etc for more channels when you are already log into IRC type
- /list
- or start your own ;-)
- here there is an image with how should it look on the i2p config:
- at the i2ptunnel tab look for the client tunnels you will see http https and two IRC ones..
- open the IRC you just created.
- http://img580.imageshack.us/img580/4655/anonirci2phowto.png
- ---- NOTE ----
- The name irc.anon-anarchist-action.i2p is propagating it may take up to 4-5 days
- in the mean time you can use the b32 address(like ip address on the internet but anonymous)
- so put this instead of the name on the same field:
- lighzva3g3qtph5xqw5wotzntg7dejqrtmxwepyrke73ljrjjsea.b32.i2p
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement