Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
help:technical:ircd [2015/06/25 19:25]
gatewayy
help:technical:ircd [2020/05/19 10:58] (current)
rubin [gitsync]
Line 3: Line 3:
 ssh into your server. ssh into your server.
  
-Then run: 
-  git clone https://github.com/evilnet/nefarious2.git 
  
-The system will begin to download the latest version of the nefarious ircu. 
  
 Before we continue, we'd like to make sure you have the packages needed for a successful install. Before we continue, we'd like to make sure you have the packages needed for a successful install.
Line 18: Line 15:
   libpcre3-dev   libpcre3-dev
   byacc   byacc
 +  gawk 
 +  
 The named packages above can be fetched (on a Debian based system) with apt-get: The named packages above can be fetched (on a Debian based system) with apt-get:
  
-  sudo apt-get install openssl libssl-dev autoconf automake flex libpcre3-dev byacc+  sudo apt-get install git openssl libssl-dev autoconf automake flex libpcre3-dev byacc gawk
  
 Note: The names of the packages above may vary, depending on your distribution. Note: The names of the packages above may vary, depending on your distribution.
 +
 +run:
 +  git clone https://github.com/evilnet/nefarious2.git
 +
 +The system will begin to download the latest version of the nefarious ircu.
  
 With that said, we now move on to getting the server up and running. With that said, we now move on to getting the server up and running.
Line 75: Line 78:
 read the unix manual to crontab for more information. read the unix manual to crontab for more information.
  
-====== Setting up Nefarious to work with DNS Blacklists (DNSBL) ======+====== Install iauthd.pl ======
  
-Nefarious now includes support for DNS Blacklisting (DNSBL) through a Perl script called iauthd.pl This script is include in the source nefarious2 was created when cloning the git repository to your server.+iauthd provides for DNSBL blocking to protect us from drones. This script is include in the source nefarious2 was created when cloning the git repository to your server.
  
 Requirements: Requirements:
Line 135: Line 138:
 ====== Please install the following cron jobs: ====== ====== Please install the following cron jobs: ======
  
-===== linesync ===== +===== gitsync ===== 
-linesync updates your server every hour with the latest k: lines, features, and server connection info. It is required. You should receive it from us when your testlink is approved([[:opers:admin|Opers can get it here...]])+gitsync updates your server every hour with the latest k: lines, features, and server connection info. It is required. There is a copy in nefarious2/tools/linesync/gitsync.sh it is best to symlink this to your ircd.conf directory, for example''ln -s /home/your/nefarious2/tools/linesync/gitsync.sh /home/your/ircd/gitsync.sh'' so it is easy to run and keep up to date. 
 + 
 +You must have an SSH key setup for the user that runs ircd. This is normally in ''~/.ssh/id_rsa.pub'' if not, run ''ssh-keygen'' and configure a key with empty password. Then, get an admin a copy of id_rsa.pub contents so he can add it to authorized access list of gitsync repository. 
 + 
 +Once you have been given access, you must initialize the repository: ''./gitsync.sh -i gitolite@afternet.org:gitsync'' 
 + 
 +If that works, you'll have our server list and additions added to your ircd.conf, and a new certificate (.pemfile.
  
 <code> <code>
-0 0 * * * /home/user/ircd/linesync.sh /home/user/ircd/ircd.conf /home/user/ircd/ircd.pid+0 0 * * * /home/user/ircd/gitsync.sh -s /home/user/.ssh/id_rsa -c yourserver.afternet.org-cert /home/user/ircd/ircd.conf /home/user/ircd/ircd.pid
 </code> </code>