소스 검색

We probably don't need port 9999 for irc

Bob Mottram 9 년 전
부모
커밋
34a576923b
4개의 변경된 파일3개의 추가작업 그리고 11개의 파일을 삭제
  1. 0
    1
      doc/EN/installation.org
  2. BIN
      man/freedombone.1.gz
  3. 2
    4
      src/freedombone
  4. 1
    6
      website/EN/installation.html

+ 0
- 1
doc/EN/installation.org 파일 보기

@@ -181,7 +181,6 @@ On your internet router, typically under firewall settings, open the following p
181 181
 | XMPP    |       5269 |
182 182
 | XMPP    | 5280..5281 |
183 183
 | IRC     |       6697 |
184
-| IRC     |       9999 |
185 184
 | Git     |       9418 |
186 185
 | Email   |         25 |
187 186
 | Email   |        587 |

BIN
man/freedombone.1.gz 파일 보기


+ 2
- 4
src/freedombone 파일 보기

@@ -4080,7 +4080,6 @@ function configure_firewall_for_irc {
4080 4080
     fi
4081 4081
     iptables -A INPUT -p tcp --dport $IRC_PORT  -j ACCEPT
4082 4082
     iptables -I INPUT -p tcp --dport 1024:65535 --sport $IRC_PORT -j ACCEPT
4083
-    iptables -A INPUT -p tcp --dport 9999 -j ACCEPT
4084 4083
     save_firewall_settings
4085 4084
     echo 'configure_firewall_for_irc' >> $COMPLETION_FILE
4086 4085
 }
@@ -7148,7 +7147,7 @@ function install_irc_server {
7148 7147
     sed -i 's|;CertFile = /etc/ssl/certs/server.crt|CertFile = /etc/ssl/certs/ngircd.crt|g' /etc/ngircd/ngircd.conf
7149 7148
     sed -i 's|;DHFile = /etc/ngircd/dhparams.pem|DHFile = /etc/ssl/certs/ngircd.dhparam|g' /etc/ngircd/ngircd.conf
7150 7149
     sed -i 's|;KeyFile = /etc/ssl/private/server.key|KeyFile = /etc/ssl/private/ngircd.key|g' /etc/ngircd/ngircd.conf
7151
-    sed -i "s/;Ports =.*/Ports = $IRC_PORT, 9999, $IRC_ONION_PORT/g" /etc/ngircd/ngircd.conf
7150
+    sed -i "s/;Ports =.*/Ports = $IRC_PORT, $IRC_ONION_PORT/g" /etc/ngircd/ngircd.conf
7152 7151
     sed -i "s/;Name = #ngircd/Name = #${PROJECT_NAME}/g" /etc/ngircd/ngircd.conf
7153 7152
     sed -i "s/;Topic = Our ngircd testing channel/Topic = ${PROJECT_NAME} chat channel/g" /etc/ngircd/ngircd.conf
7154 7153
     sed -i 's/;MaxUsers = 23/MaxUsers = 23/g' /etc/ngircd/ngircd.conf
@@ -7181,7 +7180,7 @@ function install_irc_server {
7181 7180
 
7182 7181
     IRC_ONION_HOSTNAME=
7183 7182
     if [[ $ONION_ONLY != "no" ]]; then
7184
-        sed -i "s/;Ports =.*/Ports = $IRC_PORT, 9999/g" /etc/ngircd/ngircd.conf
7183
+        sed -i "s/;Ports =.*/Ports = $IRC_PORT/g" /etc/ngircd/ngircd.conf
7185 7184
         IRC_ONION_HOSTNAME=$(add_onion_service irc ${IRC_PORT} ${IRC_PORT})
7186 7185
     else
7187 7186
         IRC_ONION_HOSTNAME=$(add_onion_service irc ${IRC_PORT} ${IRC_ONION_PORT})
@@ -9667,7 +9666,6 @@ function install_final {
9667 9666
                      XMPP     5269
9668 9667
                      XMPP     5280-5281
9669 9668
                      IRC      6697
9670
-                     IRC      9999
9671 9669
                      Git      9418
9672 9670
                      Email    25
9673 9671
                      Email    587

+ 1
- 6
website/EN/installation.html 파일 보기

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2016-01-05 Tue 15:59 -->
6
+<!-- 2016-01-06 Wed 14:52 -->
7 7
 <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta  name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title></title>
@@ -542,11 +542,6 @@ On your internet router, typically under firewall settings, open the following p
542 542
 </tr>
543 543
 
544 544
 <tr>
545
-<td class="org-left">IRC</td>
546
-<td class="org-right">9999</td>
547
-</tr>
548
-
549
-<tr>
550 545
 <td class="org-left">Git</td>
551 546
 <td class="org-right">9418</td>
552 547
 </tr>