Fw: [情報] PttBBS 相關轉信程式資訊與 itoc 差別 (1)

看板Maple (BBS架站)作者 ( )時間6年前 (2017/12/16 03:33), 編輯推噓0(000)
留言0則, 0人參與, 6年前最新討論串1/1
※ [本文轉錄自 holishing 信箱] 作者: r2.bbs@r2.clam.ml (r2.bbs@r2.clam.ml) 標題: [情報] PttBBS 相關轉信程式資訊與 itoc 差別 (1) 時間: Sat Dec 16 03:23:10 2017 作者: r2 (r2) 看板: itoc 標題: [情報] PttBBS 相關轉信程式資訊與 itoc 差別 (1) 時間: Sat Dec 16 02:19:35 2017 # 1. 程式碼資訊相關 目前測試中相關原始碼: https://github.com/clamtestbbs/pttbbs-inndtest/ (fork form https://github.com/ptt/pttbbs ) 如何恢復功能:revert 相關程式修改, 及調整 conflict 的部分 pttbbs 拔轉信前最後一次版本紀錄 https://github.com/ptt/pttbbs/tree/cc5cf85 拔轉信後相關的 commit log: (防止轉到有網頁版本的站台上, 暫移除 Author 那欄@@ 將 commit 欄位後變得版本號直接加到 https://github.com/ptt/pttbbs/commit/ 後面,即可線上檢視 GitHub 網頁版本紀錄 commit 524cced5b2afc20ef9af7570067887fc93a9cd23 Date: Fri Jun 17 19:12:08 2016 +0800 Delete obsolete innd in dailybackup.pl. https://github.com/ptt/pttbbs/commit/524cce > -------------------------------------------------- commit 93418d2464237b6cfc56ae3f293a1129d18b603f Date: Fri Jun 17 18:30:54 2016 +0800 Remove obsolete innd which causes infinite loop. https://github.com/ptt/pttbbs/commit/93418d > -------------------------------------------------- commit 9e78c68152159e3324679f8fd92a1a5e2a05bc7f Date: Thu Jul 16 18:26:07 2015 +0800 Remove innd description on board list header. https://github.com/ptt/pttbbs/commit/9e78c6 > -------------------------------------------------- commit eb576132e737761848959e40e185dcd25c79c053 Date: Wed Jul 8 18:10:08 2015 +0800 Remove innd support in mbbsd. Removed BRD_NOTRAN and BRD_LOCALSAVE. Also removed related code. https://github.com/ptt/pttbbs/commit/eb5761 > -------------------------------------------------- commit 6ad941c731961c475192adc30795b512e5e14ad3 Date: Tue Nov 4 15:22:29 2014 +0800 Misc update due to source repository changes (moved to github). Also removed innbbsd references. https://github.com/ptt/pttbbs/commit/6ad941 > -------------------------------------------------- commit ed71cbf390ea9b314e9506ba647c0104ef77a465 Date: Mon Nov 3 18:54:49 2014 +0800 Remove innbbsd. Alice: What is innbbsd? Bob: Something when BBS servers were acted as Newsgroup readers. Eve: Then why do we keep it? No one is interested in maintaining innbbsd, especially Group.NCTU.edu.tw is now dead. https://github.com/ptt/pttbbs/commit/ed71cb > -------------------------------------------------- # 2. 轉信程式大致包含哪些 source code 的 innbbsd/ 大致包含 antisplam.h clibrary.h daemon.c echobbslib.c innbbsconf.h inntobbs.c nocem.c rfc931.c bbslib.c closeonexec.c daemon.h externs.h innbbsd.c inntobbs.h nocem.h bbslib.h connectsock.c dbz.c file.c innbbsd.h Makefile pmain.c bbslink.c COPYRIGHT.nocem dbz.h his.c inncheck.pl mkhistory.c port.c bbsnnrp.c ctlinnbbsd.c dbztool.c his.h inndchannel.c nntp.h receive_article.c 可以參考 https://github.com/clamtestbbs/pttbbs-inndtest/tree/r2.inndtest/innbbsd 利用 pmake/bmake 來編譯/install後會安裝到 (BBS家目錄)/innd/ 這個地方 =================== 另外在 sample 底下也有 innd/ 這個範例目錄,主要包含了: bbsname.bbs Makefile ncmperm.bbs newsfeeds.bbs nodelist.bbs ntu.active 其中此部分跟 Maple-itoc 用的轉信程式明顯的差異在於 1. 這邊設定的檔案皆是直接來工作站用vi/vim/nano等編輯器直接設定 但 Maple-itoc 則是去 (0)Admin 之類的地方設定 (工作站下編輯器反而無法直接編輯 or 要在其他特殊模式下編輯? [待確認]) 2. PttBBS 停止維護轉信功能前用的轉信程式 底下有 [站台名稱].active 的相關檔案來設定 high-number 等等東西 也就是可以對照連到 news server 後輸入 list 指令會看到的東西: $ telnet news.tnfsh.tn.edu.tw Trying 210.70.137.5... Connected to news.tfcis.org. Escape character is '^]'. 200 news.tnfsh.tn.edu.tw InterNetNews NNRP server INN 2.4.6 ready (posting ok). list_ 215 Newsgroups in form "group high low flags". ...(略) TFCIS.alumni.Tainan.NCTU 0000002279 0000000779 y TFCIS.chat 0000000202 0000000153 y TFCIS.club.TFCIS 0000000721 0000000384 y TFCIS.comp.ACM 0000000038 0000000039 y TFCIS.comp.OS 0000000426 0000000427 y TFCIS.comp.Programming 0000000068 0000000069 y TFCIS.comp.lang.CnCPP 0000000123 0000000124 y ...(略) TFCIS.personal.itoc 0000005139 0000004068 y > ------------------------- 因此 ntu.active 範例裡面的資料內容就直接顯示 tw.bbs.chat 0000000000 0000000000 y 來對應 newsfeeds.bbs 範例裡的 # newsgroups board news server #------------------------------------- -------------- ----------- #tw.bbs.test test ntu 再對應 nodelist.bbs 範例裡的 # name hostname & domainname full name #------- ---------------------------------- ------------ #ptt2 ptt2.csie.ntu.edu.tw IHAVE(7777) Ptt2 #ntu news.ntu.edu.tw POST(119) NTU News Server 至於 ptt2 那行的意義,經過初步測試是推測要先設定這行 轉信程式才知道自己的 server 的資訊是什麼@@ (待確認) 其他設定詳細資訊還留到之後介紹@@ 但大致而言的確還是覺得 Maple-itoc 的轉信介面比較友善 XD # 3. (接收)轉信程式是怎麼來的? 看了一下才發現不論 Maple-itoc 還是 PttBBS 先前用的 都有 patch 其他作者寫的相關接收程式後, 放進來用的痕跡@@ (待確認 像是 NoCeM 擋信機制就有相關的版權頁..等 但都因為版本紀錄顯示很早期(2000年左右或更早)這方面的東西就在交流, 傳來傳去就更有不知原本那些 code 從那個神祕地方來的 fu.... 真要維護起來似乎也愈來愈難.... === 先記到這邊,之後ok的話應該會補充@@ -- ※ 發信站: 啊吐小站(r2.clam.ml), 來自: 140.116.101.37

12/16 02:21, 6年前 , 1F
itoc的設定介面的話麻煩自行先參考itoc大給精華區相關文章@@
12/16 02:21, 1F

12/16 02:23, 6年前 , 2F
目前敝測試站進度還在手動轉信階段,其他部分可能還要再摸索
12/16 02:23, 2F

12/16 02:29, 6年前 , 3F
ps. Maple-itoc 的 High-Number 在 BBS 中即可設定
12/16 02:29, 3F
※ 發信站: 批踢踢實業坊(ptt.cc) ※ 轉錄者: holishing (140.116.101.37), 12/16/2017 03:33:03
文章代碼(AID): #1QD2Dnzb (Maple)
文章代碼(AID): #1QD2Dnzb (Maple)