| @jesse_ | 時間到囉 |
| @kevinwatt | //nod |
| @kevinwatt | 那開始囉. :) |
| @jesse_ | 等一下... |
| @jesse_ | 開始錄音了 :) |
| @kevinwatt | 喔... :) |
| @jesse_ | k |
| @jesse_ | 那請 kevinwatt 開始吧! |
| * jesse_ 拍手 |
| @kevinwatt | * What's INN? |
| @kevinwatt | INN 並不是指其字義上的"館",而是InterNet News的縮寫。 |
| @kevinwatt | 接下來要考一下古。 |
| @kevinwatt | 所謂的NetNews也就是大家熟知的Usenet。 |
| @kevinwatt | Usenet並不是Use 跟 Net兩個字所組成,而是已User's Net的角度去延伸 |
| @kevinwatt | 出Usenet這樣的詞彙。 |
| @jesse_ | 要公告廣播的 url... |
| @jesse_ | http://icecast.debian.org.tw:8000/D.ogg |
| @kevinwatt | jesse_: http://news.debian.org.tw/ircc.m3u |
| @kevinwatt | Usenet 是屬於網路應用上的概念,它的實體也就是我們所謂的NetNews。 |
| @kevinwatt | 從早期的惠多網(Fidonet)或是國內少數人曾使用過的BITNET 其實就已經存在Usenet |
| @kevinwatt | 的雛型了。 |
| @kevinwatt | 早期的層次比較簡單。已FidoType而言,當時在台灣存在著亞洲區ZD各縣市Host與單一站 |
| @kevinwatt | 台的Node。 |
| @kevinwatt | 由ZD負責對國外接轉信,HOST向ZD接轉信,而Node向Host接轉信。 |
| @kevinwatt | ZD->HOST->Node |
| @kevinwatt | 是一種樹狀結構的轉信方式。 |
| @kevinwatt | Usenet 在當時是衡跨FidoType與InterNet等多種網路的一種概念。 |
| @kevinwatt | 它將所有的資訊串連起來。可以使用NNRP連結,可以透過BBS張貼, |
| @kevinwatt | 甚至是透過其它的News轉入。 |
| @kevinwatt | Usenet裡有所謂群組的概念,也就是我們所稱呼的討論區。 |
| @kevinwatt | 全世界目前任有在使用的群組加起來超過四萬筆。 |
| @kevinwatt | 對於這部份的歷史國內有多位大師的文件都有詳細的記錄,故不在此詳細說明... |
| @kevinwatt | 當WWW在今日的盛行... 許多古老的服務漸漸沒落(像Gopher...),但Usenet依然健在。 |
| @kevinwatt | 其實是因為Usenet本身有許多不可抹滅的特性。 |
| @jesse_ | 廣播的 url : http://icecast.debian.org.tw:9000/D.ogg |
| @kevinwatt | 一直到現在Linux kernel之類的OSS軟體的開發多數也都還是仰賴Usenet的溝通, |
| @kevinwatt | 連微軟都有自己的Usenet討論群組。 |
| @kevinwatt | UNIX早期有幾個大型的新聞傳送軟體,Bnews、Cnews及INN。 |
| @kevinwatt | Bnews的最後一板應該是 1989-10-31 停止發行,而 Cnews 從 1988 年到現在目前 |
| @kevinwatt | 還依然有人在使用,然而新功能從1995年後就停止Release了。 |
| @kevinwatt | (目前你還是可以找到debian所提供的cnews deb package 已經是cr.g7-37了) |
| @kevinwatt | 比較新的新聞傳送軟體如Leafnode、DNews。 |
| @kevinwatt | 接下來,就是我們今天的主題。 |
| @kevinwatt | ======================================================================== |
| @kevinwatt | InterNetNews package (INN) 是一個 Usenet 上所使用的 News 系統。 |
| @kevinwatt | 一個包含了 innd、NNTP server、nnrpd,與newsreading server的系統。 |
| @kevinwatt | INN根據RFC 1036與RFC 977兩套規則發展。 |
| @kevinwatt | http://www.faqs.org/rfcs/rfc1036.html |
| @kevinwatt | http://www.faqs.org/rfcs/rfc977.html |
| @kevinwatt | 一個包含了 innd、NNTP server、nnrpd,與newsreading server的系統。 |
| @kevinwatt | INN的開發有兩種板本,STABLE 跟 CURRENT。 |
| @kevinwatt | STABLE的板本只會進行Bug 的修正, CURRENT 則是開發中的板本。 |
| @kevinwatt | 一般情況下, latest snapshot 的STABLE板本應該是較適合公開服務的。 |
| @kevinwatt | 前一個STABLE是2.3.5,而目前已經轉移到 INN 2.4.0 上了。 |
| @kevinwatt | INN 2.4.x 的Release將會把主力放在Bug的修正上。 |
| @kevinwatt | 在修改中的2.4.x,將來會直接進入2.5.x的序號。 |
| @kevinwatt | 目前而言最穩定的板本應該是2.4.x,而2.3.5的板本將不會再有更新的變動。 |
| @kevinwatt | =========================================================================== |
| @kevinwatt | * INN2安裝 |
| @kevinwatt | 你可以從這裡取得最新板的INN2 |
| @kevinwatt | ftp://ftp.isc.org/isc/inn/ |
| @kevinwatt | 或者, apt-get install inn2 inn2-inews |
| @kevinwatt | Debian unstable version已經使用一個相當新的STABLE INN2板本了。 |
| @kevinwatt | INN2跟INN明顯的不同是 INN2 可供非常複雜的News Server環境使用,是對大型 |
| @kevinwatt | 站台而言很值得參考使用的系統。 |
| @kevinwatt | Debian上的INN仍然存在,但是適用於比較簡單的環境。 |
| @kevinwatt | 在一開始安裝Debian's INN 啟動時只簡單的設定 本地端使用 。 |
| @kevinwatt | 你需要注意到其它Package的板本是否有大於目前的板本。 |
| @kevinwatt | ================================================================ |
| @kevinwatt | libc6 (>= 2.3.2-1) |
| @kevinwatt | GNU C Library |
| @kevinwatt | libperl5.8 (>= 5.8.0) |
| @kevinwatt | Shared Perl library. |
| @kevinwatt | libdb4.1 |
| @kevinwatt | Berkeley v4.1 Database Libraries [runtime] |
| @kevinwatt | debconf (>= 0.5) |
| @kevinwatt | Debian configuration management system |
| @kevinwatt | ================================================================ |
| @kevinwatt | 編輯/etc/news/inn.conf |
| @kevinwatt | # General Settings |
| @kevinwatt | domain: debian.org.tw |
| @kevinwatt | 然後再起動 |
| @kevinwatt | /etc/init.d/inn2 restart |
| @kevinwatt | 如果沒有問題,那麼就裝好了。如果有其它的問題,那麼就還沒裝好... (廢) |
| @kevinwatt | <問題時間> |
| @jesse_ | INN 是指 INN 1.x.x 嗎? |
| @kevinwatt | jesse_: 是的. 沒錯. :) |
| @kevinwatt | ========================================================================== |
| @kevinwatt | INSTALL FAQ:(沒裝好才需要處理) |
| @kevinwatt | <繼續> |
| @kevinwatt | cat /var/log/news/news.err這個ERROR MESSAGE。 |
| @kevinwatt | 如果你發現有這一行。 |
| @kevinwatt | Nov 13 07:01:51 hikari innd: SERVER cant dbzinit /var/lib/news/history |
| @kevinwatt | No such file or directory |
| @kevinwatt | 這個算是比較常見的問題。 |
| @kevinwatt | 排除它,建立history |
| @kevinwatt | cd /var/lib/news |
| @kevinwatt | rm history* |
| @kevinwatt | touch history |
| @kevinwatt | makedbz -i |
| @kevinwatt | rename history.n. history. history* |
| @kevinwatt | 把中間的 n 去除。 |
| @kevinwatt | makedbz 會因為 configure 下的參數而出現不同檔案, 只用 --with-perl |
| @kevinwatt | 會出現三個檔案, 分別是 history.n.hash history.n.dir history.n.index |
| @kevinwatt | =========================================================================== |
| @kevinwatt | 事實上在inn2的設定檔大部份都在 /etc/news下. |
| @kevinwatt | INN 的相關系統設定 |
| @kevinwatt | * 接收誰餵過來的信件 incoming.conf (設定餵過來的主機名稱與位置) |
| @kevinwatt | * 餵送出去 newsfeeds, innfeed.conf |
| @kevinwatt | * 定期清理 expire.ctl |
| @kevinwatt | * 系統監督 innwatch.ctl |
| @kevinwatt | * 系統報告 innreport.conf |
| @kevinwatt | 餵過來... 指的是上游下游間的轉信動作。 |
| @kevinwatt | <沒問題的話我們開始講解設定檔) |
| @jesse_ | 廣播的 url : http://icecast.debian.org.tw:9000/D.ogg |
| @kevinwatt | ## inn.conf -- INN configuration data |
| @kevinwatt | 在/etc/news/inn.conf |
| @kevinwatt | ## Format: |
| @kevinwatt | ## <parameter>:<whitespace><value> |
| @kevinwatt | ## <功能項>:<空白跟空白><設定值> |
| @kevinwatt | ## 你可以參考 inn.conf(5) 的 man page 對每一項參數進行管理。 |
| @kevinwatt | ## 範例檔基本上的目地分成兩種設定; 快速, 還有一些必要設定的參數 |
| @kevinwatt | ## (或者應該被設定在幾乎所有的案例當中的), |
| @kevinwatt | ## |
| @kevinwatt | ## 必要設定 |
| @kevinwatt | ## |
| @kevinwatt | ## 已下的參數都是需要設定的,縱使內定的值也許是可使用... |
| @kevinwatt | mta: "/usr/sbin/sendmail -oi -oem %s" |
| @kevinwatt | ## |
| @kevinwatt | ## 當然,就是設定你的MTA |
| @kevinwatt | ## |
| @kevinwatt | organization: "LastLoveSong InterNetNews site" |
| @kevinwatt | ## |
| @kevinwatt | ## 團體, 公會, 協會或單位名稱 |
| @kevinwatt | ## |
| @kevinwatt | ovmethod: tradindexed |
| @kevinwatt | ## |
| @kevinwatt | ## 指的是 "overview storage method" |
| @kevinwatt | ## |
| @kevinwatt | ## overview 用在提供索引來取得文件放置的位置,同時也要供NNRP軟體來查尋閱讀。 |
| @kevinwatt | ## |
| @kevinwatt | ## 目前有三種。 |
| @kevinwatt | ## |
| @kevinwatt | ## 我們針對其特性做介紹 |
| @kevinwatt | ## |
| @kevinwatt | ## 1. tradindexed 讀取快速 寫入慢 |
| @kevinwatt | ## |
| @kevinwatt | ## 2. buffindexed 用了緩衝區來儲存所有的 overvew 寫入快讀取慢,需設定 |
| @kevinwatt | ## buffindexed.conf |
| @kevinwatt | ## |
| @kevinwatt | ## 3. ovdb 是使用BerkeleyDB library建立的overview資料,需要 BerkeleyDB |
| @kevinwatt | ## library 2.6之後的板本(最好是3 or 4 )另外需設定 ovdb.conf |
| @kevinwatt | ## |
| @kevinwatt | hismethod: hisv6 |
| @kevinwatt | ## |
| @kevinwatt | ## history的記錄方式。事實上它只能夠設成hisv6,但這並不是內定的。 |
| @kevinwatt | ## 所以還一定要設定。 |
| @kevinwatt | ## |
| @kevinwatt | ## hisv6 是指 history v6 format,系統升級時需要按照這個固定格式。 |
| @kevinwatt | ## |
| @kevinwatt | pathhost: kevinwatt.ossug.org |
| @kevinwatt | ## 若為空時為FQDN,該設定主要會顯示出現在文章標頭的path。 |
| @kevinwatt | pathnews: /usr/lib/news |
| @kevinwatt | ## |
| @kevinwatt | ## 一般設定 |
| @kevinwatt | ## |
| @kevinwatt | ## 一般設定 |
| @kevinwatt | ## |
| @kevinwatt | #domain: ossug.org |
| @kevinwatt | ## 若domain沒設定的話,INN會自動設定 |
| @kevinwatt | #innflags: |
| @kevinwatt | mailcmd: /usr/lib/news/bin/innmail |
| @kevinwatt | server: u122-184.u61-70.giga.net.tw |
| @kevinwatt | ## default NNTP server |
| @kevinwatt | ## |
| @kevinwatt | # |
| @kevinwatt | ## Feed Configuration |
| @kevinwatt | ## 餵送設定,這個地方設定出去跟進來的資料。 |
| @kevinwatt | # |
| @kevinwatt | artcutoff: 10 |
| @kevinwatt | ## 這個設定應該跟 expire.ctl 裡的 /remember/ 項一樣。 |
| @kevinwatt | ## 預設值應該是10 |
| @kevinwatt | # |
| @kevinwatt | #bindaddress: |
| @kevinwatt | # |
| @kevinwatt | ## Which IP address innd(8) should bind itself to |
| @kevinwatt | ## 預設值是不設定 |
| @kevinwatt | # |
| @kevinwatt | #bindaddress6: |
| @jesse_ | 不一樣會怎麼樣嗎? |
| @kevinwatt | jesse_: 我也不知道.. 沒試過... XD |
| @kevinwatt | dontrejectfiltered: false |
| @kevinwatt | ## 一般innd若有設定article filters則會擋掉incoming articles。 |
| @kevinwatt | ## 除非是不要擋,不然不需要更動此項設定。 |
| @kevinwatt | hiscachesize: 256 |
| @kevinwatt | # |
| @kevinwatt | # 使用到多少K的記憶體做為history file的Cache |
| @kevinwatt | ignorenewsgroups: false |
| @kevinwatt | immediatecancel: false |
| @kevinwatt | linecountfuzz: 0 |
| @kevinwatt | maxartsize: 1000000 |
| @kevinwatt | maxconnections: 50 |
| @kevinwatt | #pathalias: |
| @kevinwatt | pgpverify: true |
| @kevinwatt | port: 119 |
| @kevinwatt | refusecybercancels: false |
| @kevinwatt | remembertrash: true |
| @kevinwatt | #sourceaddress: |
| @kevinwatt | #sourceaddress6: |
| @kevinwatt | verifycancels: false |
| @kevinwatt | wanttrash: false |
| @kevinwatt | wipcheck: 5 |
| @kevinwatt | wipexpire: 10 |
| @kevinwatt | # Article Storage |
| @kevinwatt | cnfscheckfudgesize: 0 |
| @kevinwatt | enableoverview: true |
| @kevinwatt | groupbaseexpiry: true |
| @kevinwatt | mergetogroups: false |
| @kevinwatt | overcachesize: 15 |
| @kevinwatt | #ovgrouppat: |
| @kevinwatt | storeonxref: true |
| @kevinwatt | useoverchan: false |
| @kevinwatt | wireformat: false |
| @kevinwatt | xrefslave: false |
| @kevinwatt | nfswriter: false |
| @kevinwatt | # Reading |
| @kevinwatt | allownewnews: true |
| @kevinwatt | articlemmap: false |
| @kevinwatt | clienttimeout: 600 |
| @kevinwatt | initialtimeout: 10 |
| @kevinwatt | msgidcachesize: 10000 |
| @kevinwatt | nnrpdcheckart: true |
| @kevinwatt | noreader: false |
| @kevinwatt | readerswhenstopped: false |
| @kevinwatt | readertrack: false |
| @kevinwatt | nfsreader: false |
| @kevinwatt | nfsreaderdelay: 60 |
| @kevinwatt | tradindexedmmap: true |
| @kevinwatt | nnrpdloadlimit: 16 |
| @kevinwatt | # Reading -- Keyword Support |
| @kevinwatt | # |
| @kevinwatt | # 這個功能主要是overview Options之一,用來做一些簡單的Word-Counting。 |
| @kevinwatt | # |
| @kevinwatt | # 啟動這個的時後若不停止INND和刪除正在執行的Overview Database, |
| @kevinwatt | # 新增時將有可能照成很多困擾.... |
| @kevinwatt | # |
| @kevinwatt | # 當然, 你也必需要完全支援這一項功能。 |
| @kevinwatt | keywords: false |
| @kevinwatt | # Whether the keyword generation support should be enabled |
| @kevinwatt | keyartlimit: 100000 |
| @kevinwatt | # Articles larger than this value in bytes will not have keywords generated |
| @kevinwatt | keylimit: 512 |
| @kevinwatt | # Maximum number of bytes allocated for keyword data |
| @kevinwatt | keymaxwords: 250 |
| @kevinwatt | # Maximum number of keywords that will be generated for an article |
| @kevinwatt | # Posting |
| @kevinwatt | addnntppostingdate: true |
| @kevinwatt | addnntppostinghost: true |
| @kevinwatt | checkincludedtext: false |
| @kevinwatt | complaints: news@lls.twbbs.org |
| @kevinwatt | # X-Complaints-To: 的設定。 |
| @kevinwatt | # 用來設定投訴信箱,請參考Header。 |
| @kevinwatt | # |
| @kevinwatt | fromhost: lls.twbbs.org |
| @kevinwatt | ## |
| @kevinwatt | ## 用來自動幫local的使用者建立e-mail addresses |
| @kevinwatt | ## |
| @kevinwatt | ## <user>@fromhost |
| @kevinwatt | ## |
| @kevinwatt | ## 這個設定同樣也會被inews跟mailpost這兩個cmds取用。 |
| @kevinwatt | ## |
| @kevinwatt | localmaxartsize: 1000000 |
| @kevinwatt | moderatormailer: kevinwatt@ossug.org |
| @kevinwatt | ## 管理者信箱 |
| @kevinwatt | nnrpdauthsender: false |
| @kevinwatt | #nnrpdposthost: |
| @kevinwatt | nnrpdpostport: 119 |
| @kevinwatt | spoolfirst: false |
| @kevinwatt | strippostcc: false |
| @kevinwatt | ## |
| @kevinwatt | ## Posting -- Exponential Backoff Algorithm(指數倒退演算法) |
| @kevinwatt | ## |
| @kevinwatt | ## 這是一種演算法,有點類似CSMA/CD所採用的Binary Exponential Backoff。 |
| @kevinwatt | ## 在這邊所使用的演算式為 |
| @kevinwatt | ## |
| @kevinwatt | ## sleep time = 1 + (previous sleep time * backoffk) |
| @kevinwatt | ## |
| @kevinwatt | ## 經由指數倒退演算法,nnrpd可以支援管理大量的張貼人數。 |
| @kevinwatt | ## 每一篇來自同一個IP的的文章會被壘積起來(延遲時間比照演算法的Sleeptime) |
| @kevinwatt | ## |
| @kevinwatt | ## 事實上,張貼認何東西。 文章都會被接受,但是效率會漸漸減少。 |
| @kevinwatt | ## |
| @kevinwatt | backoffauth: false |
| @kevinwatt | #backoffdb: |
| @kevinwatt | backoffk: 1 |
| @kevinwatt | backoffpostfast: 0 |
| @kevinwatt | backoffpostslow: 1 |
| @kevinwatt | backofftrigger: 10000 |
| @kevinwatt | Victor_: 直接在這邊問? |
| Victor_ | 我想問一下 現在的 news 架構還是樹狀的嗎? |
| Victor_ | 還是網狀的 :) |
| @kevinwatt | Victor_: 現在News的架構是網狀的. :) |
| Victor_ | 那會不會有 loop 的問題呢? |
| @kevinwatt | Victor_: Loop會有. 所以事實上有很多的機制來預防.... |
| Victor_ | kevinwatt: 是 news 本身 protocol 做掉的嗎? |
| @kevinwatt | Victor_: 不是. 是各系統的功能... |
| @kevinwatt | Victor_: 但NEWS會有Message ID. |
| Victor_ | kevinwatt: 了解了 ^^ 抱歉 請繼續 :pp |
| @jesse_ | path 應該也可以用來做 loop detection ? |
| @kevinwatt | jesse_: //nod |
| @kevinwatt | 不好意思. 由於打字跟講話同步比較累...有一些問題的完整回應是使用口述的方式. :) |
| * Victor_ 旁邊有別人 沒聽 XD |
| @kevinwatt | Victor_: .... (唔... 那我還是繼續...) |
| @kevinwatt | # Monitoring |
| @kevinwatt | # 這邊變數用來控制innwatch的表現。 |
| @kevinwatt | # innwatch這隻程式是用來監控INN。 |
| @kevinwatt | # 若有錯誤發生,將會通知 news 管理者。 |
| @kevinwatt | doinnwatch: true |
| @kevinwatt | # start innwatch(8) from rc.news |
| @kevinwatt | innwatchbatchspace: 800 |
| @kevinwatt | innwatchlibspace: 25000 |
| @kevinwatt | innwatchloload: 1000 |
| @kevinwatt | innwatchhiload: 2000 |
| @kevinwatt | innwatchpauseload: 1500 |
| @kevinwatt | innwatchsleeptime: 600 |
| @kevinwatt | innwatchspoolnodes: 200 |
| @kevinwatt | innwatchspoolspace: 8000 |
| @kevinwatt | # Logging |
| @kevinwatt | # 這些參數用來管理INN的Log記錄。 |
| @kevinwatt | # |
| @kevinwatt | docnfsstat: false |
| @kevinwatt | logartsize: true |
| @kevinwatt | logcancelcomm: false |
| @kevinwatt | logcycles: 3 |
| @kevinwatt | logipaddr: true |
| @kevinwatt | logsitename: true |
| @kevinwatt | nnrpdoverstats: false |
| @kevinwatt | nntpactsync: 200 |
| @kevinwatt | nntplinklog: false |
| @kevinwatt | status: 0 |
| @kevinwatt | timer: 0 |
| @kevinwatt | # System Tuning |
| @kevinwatt | badiocount: 5 |
| @kevinwatt | blockbackoff: 120 |
| @kevinwatt | chaninacttime: 600 |
| @kevinwatt | chanretrytime: 300 |
| @kevinwatt | datamovethreshold: 8192 |
| @kevinwatt | icdsynccount: 10 |
| @kevinwatt | keepmmappedthreshold: 1024 |
| @kevinwatt | #maxcmdreadsize: |
| @kevinwatt | maxforks: 10 |
| @kevinwatt | nicekids: 4 |
| @kevinwatt | nicenewnews: 0 |
| @kevinwatt | nicennrpd: 0 |
| @kevinwatt | pauseretrytime: 300 |
| @kevinwatt | peertimeout: 3600 |
| @kevinwatt | rlimitnofile: -1 |
| @kevinwatt | # Paths |
| @kevinwatt | # INN的檔案放置路逕。 |
| @kevinwatt | # |
| @kevinwatt | patharchive: /var/spool/news/archive |
| @kevinwatt | patharticles: /var/spool/news/articles |
| @kevinwatt | # News文章存放的路逕 |
| @kevinwatt | # |
| @kevinwatt | # 若您打算在 storage.conf 使用 tradspool method (storage.conf負責管理系統 |
| @kevinwatt | # 使用何種方式儲存文章。),那麼您News文章裡都是很小的檔案。 |
| @kevinwatt | # 所以如果要在ext2模式下很多管理者會將每個 block 分割為 2KB左右。 |
| @kevinwatt | # |
| @kevinwatt | # mke2fs -b 2048 -i 1024 /dev/hdb1 |
| @kevinwatt | # |
| @kevinwatt | # 當然啦,reiserfs在這方面的表現更好,不但對4K以下的小檔案搜尋快速 |
| @kevinwatt | # (採用Binary Search Tree) 而且inode的極限值可達4294967295。 |
| @kevinwatt | # |
| @kevinwatt | # 如果你要使用CNFS method (一樣是storage.conf的儲存模式),那麼您應該會建數 |
| @kevinwatt | # 個非常大的檔案,這個時後可能使用XFS效能會來的更好。 |
| @kevinwatt | # |
| @kevinwatt | pathbin: /usr/lib/news/bin |
| @kevinwatt | # |
| @kevinwatt | # 一些INN可用的執行檔,很多管理上需要使用的檔案也都放在這邊。 |
| @kevinwatt | # |
| @kevinwatt | # 如 inncheck、ctlinnd |
| @kevinwatt | # |
| @kevinwatt | pathcontrol: /usr/lib/news/bin/control |
| @kevinwatt | # |
| @kevinwatt | # 一些Feed的控制檔。 |
| @kevinwatt | # |
| @kevinwatt | # checkgroups.pl newgroup.pl sendme.pl senduuname.pl |
| @kevinwatt | # ihave.pl rmgroup.pl sendsys.pl version.pl |
| @kevinwatt | # |
| @kevinwatt | pathdb: /var/lib/news |
| @kevinwatt | # active、history跟newsgroups.. 等。 |
| @kevinwatt | # |
| @kevinwatt | pathetc: /etc/news |
| @kevinwatt | # |
| @kevinwatt | # 設定檔 |
| @kevinwatt | pathfilter: /etc/news/filter |
| @kevinwatt | pathhttp: /var/log/news |
| @kevinwatt | pathincoming: /var/spool/news/incoming |
| @kevinwatt | pathlog: /var/log/news |
| @kevinwatt | pathoutgoing: /var/spool/news/outgoing |
| @kevinwatt | pathoverview: /var/spool/news/overview |
| @kevinwatt | pathrun: /var/run/news |
| @kevinwatt | pathspool: /var/spool/news |
| @kevinwatt | pathtmp: /var/spool/news/incoming/tmp |
| @kevinwatt | <暫停> |
| @jesse_ | 廣播的 url : http://icecast.debian.org.tw:9000/D.ogg |
| @kevinwatt | 各位還有沒有甚麼問題... :) |
| @jesse_ | 我看 dot 是用 timehash ? |
| @jesse_ | kevinwatt: XD 去倒水啊.. ^^ |
| @kevinwatt | jesse_: 嗯... 對. 但cnfs比較快... XD |
| @jesse_ | timehash 就是那個一封信一個檔的方式嗎? |
| @kevinwatt | jesse_: 我等一下講/etc/news/storage.conf的時後會講道... :) |
| @jesse_ | k |
| @jesse_ | 繼續吧 |
| @jesse_ | 突然聽到背景音樂... |
| @kevinwatt | ## auth "<名稱>" { |
| @kevinwatt | ## hosts: "<由何處的機器所組成(hosts list)>" |
| @kevinwatt | ## auth: "<認證程式>" |
| @kevinwatt | ## res: "<resprog>" |
| @kevinwatt | ## default: "<identity>" |
| @kevinwatt | ## default-domain: "<email-domain>" |
| @kevinwatt | ## } |
| @kevinwatt | err.... |
| @kevinwatt | /etc/news/readers.conf |
| @kevinwatt | 讀取張貼權限設定檔 |
| @kevinwatt | ## auth "<名稱>" { |
| @kevinwatt | ## hosts: "<由何處的機器所組成(hosts list)>" |
| @kevinwatt | ## auth: "<認證程式>" |
| @kevinwatt | ## res: "<resprog>" |
| @kevinwatt | ## default: "<identity>" |
| @kevinwatt | ## default-domain: "<email-domain>" |
| @kevinwatt | ## } |
| @kevinwatt | ## access "<名稱>" { |
| @kevinwatt | ## users: "<userlist>" |
| @kevinwatt | ## newsgroups: "<newsgroups>" |
| @kevinwatt | ## read: "<read>" |
| @kevinwatt | ## post: "<post>" |
| @kevinwatt | ## access: "<perm>" |
| @kevinwatt | ## } |
| @kevinwatt | # |
| @kevinwatt | # auth 用來判斷群組內的使用者或群組外的。 |
| @kevinwatt | # access 則是管裡各群組的權限。 |
| @kevinwatt | auth "localhost" { |
| @kevinwatt | hosts: "localhost, 127.0.0.1, stdin" |
| @kevinwatt | default: "<localhost>" |
| @kevinwatt | } |
| @kevinwatt | access "localhost" { |
| @kevinwatt | users: "<localhost>" |
| @kevinwatt | newsgroups: "*" |
| @kevinwatt | access: RPA |
| @kevinwatt | } |
| @kevinwatt | auth "debian" { |
| @kevinwatt | hosts: "linux4.cc.ntu.edu.tw" |
| @kevinwatt | default: "<debian>" |
| @kevinwatt | } |
| @kevinwatt | access "debian" { |
| @kevinwatt | users: "<debian>" |
| @kevinwatt | newsgroups: "tw.*" |
| @kevinwatt | access: RP |
| @kevinwatt | } |
| @kevinwatt | # 限制來源 |
| @kevinwatt | # 沒有反指的區域被排除在外。 |
| @kevinwatt | auth "other" { |
| @kevinwatt | hosts: "*.tw, *.com, *.org, *.edu, *.cn, *.jp, *.hk" |
| @kevinwatt | default: "<other>" |
| @kevinwatt | } |
| @kevinwatt | access "other" { |
| @kevinwatt | users: "<other>" |
| @kevinwatt | newsgroups: "tw.*" |
| @kevinwatt | access: RP |
| @kevinwatt | } |
| @kevinwatt | ## 沒有列在裡面的也會被排除。 |
| @kevinwatt | #(忘了打進去) |
| @kevinwatt | auth "read-only" { |
| @kevinwatt | # 限制來源 |
| @kevinwatt | # de來的只可以貼test區 |
| @kevinwatt | hosts: "*.de" |
| @kevinwatt | default: "<readonly>" |
| @kevinwatt | } |
| @kevinwatt | access "read-only" { |
| @kevinwatt | hosts: "<readonly>" |
| @kevinwatt | read: "tw.*" |
| @kevinwatt | post: "tw.debian.test" |
| @kevinwatt | } |
| @kevinwatt | /etc/news/incoming.conf |
| @kevinwatt | 接收何人的餵信... |
| @kevinwatt | streaming: true # streaming allowed by default |
| @kevinwatt | max-connections: 8 # per feed |
| @kevinwatt | peer ME { |
| @kevinwatt | hostname: "localhost, 127.0.0.1" |
| @kevinwatt | } |
| @kevinwatt | peer debian { |
| @kevinwatt | hostname: "linux4.cc.ntu.edu.tw, 140.112.8.142" |
| @kevinwatt | } |
| @kevinwatt | peer buty { |
| @kevinwatt | hostname: "buty, 139.175.13.15" |
| @kevinwatt | } |
| @kevinwatt | group fast-sites { |
| @kevinwatt | max-connections: 15 |
| @kevinwatt | # Another peer. The ``max-connections'' value from the |
| @kevinwatt | # ``fast-sites'' group scope is used. |
| @kevinwatt | peer ossug.org { |
| @kevinwatt | hostname: ossug.org |
| @kevinwatt | } |
| @kevinwatt | peer netnews.nctu.edu.tw { |
| @kevinwatt | hostname: netnews.nctu.edu.tw |
| @kevinwatt | max-connections: 20 # he can really cook. |
| @kevinwatt | } |
| @kevinwatt | } |
| @kevinwatt | /etc/news/storage.conf |
| @kevinwatt | News的記錄方式 |
| @kevinwatt | # method <所選用的method方式> { |
| @kevinwatt | # newsgroups: <Group名稱> |
| @kevinwatt | # class: <storage_class> |
| @kevinwatt | # size: <文章最小Size>[,<文章最大Size>] |
| @kevinwatt | # expires: <最少保留時間>[,<最大保留時間>] |
| @kevinwatt | # options: <參數(僅供`cnfs'使用)> |
| @kevinwatt | # } |
| @kevinwatt | # |
| @kevinwatt | # <storage_class>是介於0~255的數字。 |
| @kevinwatt | # |
| @kevinwatt | # method的方式有五種 |
| @kevinwatt | # |
| @kevinwatt | # |
| @kevinwatt | # cnfs Cyclic News File System, 其效能應該是最快的(比trash慢) |
| @kevinwatt | # |
| @kevinwatt | # timehash /timecaf-nn/bb/aacc.CF 會依資料的抵達時間放入多筆資料 |
| @kevinwatt | # nn是<storage_class>的十六進位數。bbaacc則是到達時間的十 |
| @kevinwatt | # 六進位數。 |
| @kevinwatt | # |
| @kevinwatt | # timecaf 跟timehash相似,/time-nn/bb/cc/yyyy-aadd `yyyy'是序號式的 |
| @kevinwatt | # 十六進位數。 |
| @kevinwatt | # |
| @kevinwatt | # tradspool 目錄格式是/news/group/name/nnnnn。`news/group/name'是group |
| @kevinwatt | # 名稱,`nnnnn'則是一個序號式的名稱。 |
| @kevinwatt | # |
| @kevinwatt | # trash 丟棄 |
| @kevinwatt | # |
| @kevinwatt | method tradspool { |
| @kevinwatt | class: 1 |
| @kevinwatt | newsgroups: * |
| @kevinwatt | } |
| @kevinwatt | # |
| @kevinwatt | # 如果要使用 CNFS 的方式,要另外設定 CNFS 的一些參數。 |
| @kevinwatt | # |
| @kevinwatt | # FAQS 文章大於0, 小於3999。 |
| @kevinwatt | # SMALLAREA 文章大於0, 小於3999。 |
| @kevinwatt | # BIGAREA 文章大於4000,小於1000000。 |
| @kevinwatt | # |
| @kevinwatt | #method cnfs { |
| @kevinwatt | # newsgroups: gnu.* |
| @kevinwatt | # class: 1 |
| @kevinwatt | # size: 0,3999 |
| @kevinwatt | # expires: 4d1s |
| @kevinwatt | # options: FAQS |
| @kevinwatt | #} |
| @kevinwatt | #method cnfs { |
| @kevinwatt | # newsgroups: *,!gnu.*,!tw.debian |
| @kevinwatt | # class: 2 |
| @kevinwatt | # size: 0,3999 |
| @kevinwatt | # expires: 0s,4d |
| @kevinwatt | # options: SMALLAREA |
| @kevinwatt | #} |
| @kevinwatt | #method cnfs { |
| @kevinwatt | # newsgroups: tw.debian.* |
| @kevinwatt | # class: 3 |
| @kevinwatt | # size: 4000,1000000 |
| @kevinwatt | # options: BIGAREA |
| @kevinwatt | #} |
| @kevinwatt | 要設定CNFS除了這邊 |
| @kevinwatt | 要另外看到一個設定檔 /etc/news/cycbuff.conf |
| @kevinwatt | # 這個要根據 storage.conf 的設定來設。 |
| @kevinwatt | # 先用dd建一個1k為單位的512000k空間。 |
| @kevinwatt | # |
| @kevinwatt | # dd if=/dev/zero of=/export/cycbuffs/one bs=1024 count=512000 |
| @kevinwatt | # |
| @kevinwatt | # bs=bytes |
| @kevinwatt | # count=blocks寫入block數 |
| @kevinwatt | # |
| @kevinwatt | cycbuff:ONE:/export/cycbuffs/one:512000 |
| @kevinwatt | cycbuff:TWO:/export/cycbuffs/two:512000 |
| @kevinwatt | cycbuff:THREE:/export/cycbuffs/three:512000 |
| @kevinwatt | cycbuff:FOUR:/export/cycbuffs/four:512000 |
| @kevinwatt | # 參考storage.conf |
| @kevinwatt | # |
| @kevinwatt | # FAQS 存文章至少大於0, 小於3999。 |
| @kevinwatt | # SMALLAREA 存文章至少大於0, 小於3999。 |
| @kevinwatt | # BIGAREA 是存文章至少大於4000(最小),小於1000000(最大)。 |
| @kevinwatt | metacycbuff:BIGAREA:ONE,TWO |
| @kevinwatt | metacycbuff:SMALLAREA:THREE |
| @kevinwatt | metacycbuff:FAQS:FOUR |
| @jesse_ | 有問題.. |
| @kevinwatt | 請說... :) |
| @jesse_ | 像上面把 tw.debian.* 指定為 bigarea, 但要是信件太小呢? |
| @kevinwatt | jesse_: 太小會被丟到SMALLAREA裡 |
| @kevinwatt | jesse_: 可以發現到SMALLAREA的NewsGroup我們設成newsgroups: * |
| * kevinwatt 去WC |
| @jesse_ | 嗯, 看到了.. :) |
| @kevinwatt | 還有沒有別的問題??? |
| @kevinwatt | XD |
| @kevinwatt | 還是繼續? |
| @jesse_ | 繼續吧 :) |
| @kevinwatt | 好... |
| @kevinwatt | /etc/news/innfeed.conf & /etc/news/newsfeeds |
| @kevinwatt | ## 全域變數的設定。 |
| @kevinwatt | ## |
| @kevinwatt | pid-file: innfeed.pid # relative to pathrun |
| @kevinwatt | debug-level: 0 |
| @kevinwatt | use-mmap: false |
| @kevinwatt | log-file: innfeed.log # relative to pathlog |
| @kevinwatt | stdio-fdmax: 0 |
| @kevinwatt | ## Uncomment the next line to include the contents |
| @kevinwatt | ## of ``testfile'' at this point. |
| @kevinwatt | #$INCLUDE testfile |
| @kevinwatt | backlog-directory: innfeed # relative to pathspool |
| @kevinwatt | backlog-rotate-period: 60 |
| @kevinwatt | backlog-ckpt-period: 30 |
| @kevinwatt | backlog-newfile-period: 600 |
| @kevinwatt | dns-retry: 900 |
| @kevinwatt | dns-expire: 86400 |
| @kevinwatt | close-period: 86400 |
| @kevinwatt | gen-html: false |
| @kevinwatt | status-file: innfeed.status # relative to pathlog |
| @kevinwatt | connection-stats: false |
| @kevinwatt | host-queue-highwater: 200 |
| @kevinwatt | stats-period: 600 |
| @kevinwatt | stats-reset: 43200 |
| @kevinwatt | max-reconnect-time: 3600 |
| @kevinwatt | initial-reconnect-time: 30 |
| @kevinwatt | ## Defaults for all peers. These must all exist at |
| @kevinwatt | ## global scope. Any of them can be redefined |
| @kevinwatt | ## inside a peer or group definition. |
| @kevinwatt | ## |
| @kevinwatt | article-timeout: 600 |
| @kevinwatt | response-timeout: 300 |
| @kevinwatt | initial-connections: 1 |
| @kevinwatt | max-connections: 5 |
| @kevinwatt | max-queue-size: 5 |
| @kevinwatt | streaming: true |
| @kevinwatt | no-check-high: 95.0 |
| @kevinwatt | no-check-low: 90.0 |
| @kevinwatt | no-check-filter: 50.0 |
| @kevinwatt | port-number: 119 |
| @kevinwatt | drop-deferred: false |
| @kevinwatt | min-queue-connection: false |
| @kevinwatt | backlog-limit: 0 |
| @kevinwatt | backlog-factor: 1.10 |
| @kevinwatt | backlog-limit-highwater: 0 |
| @kevinwatt | dynamic-method: 3 |
| @kevinwatt | dynamic-backlog-filter: 0.7 |
| @kevinwatt | dynamic-backlog-low: 25.0 |
| @kevinwatt | dynamic-backlog-high: 50.0 |
| @kevinwatt | no-backlog: false |
| @kevinwatt | backlog-feed-first: false |
| @kevinwatt | # 餵給誰好味。 |
| @kevinwatt | peer debian { |
| @kevinwatt | ip-name: linux4.cc.ntu.edu.tw |
| @kevinwatt | max-connections: 10 |
| @kevinwatt | } |
| @kevinwatt | # 群組好味 |
| @kevinwatt | # |
| @kevinwatt | group lalalamysong { |
| @kevinwatt | max-connections: 7 |
| @kevinwatt | peer lls.twbbs.org { |
| @kevinwatt | # 如果沒設定, ip-name 會內定為 lls.twbbs.org |
| @kevinwatt | streaming: false |
| @kevinwatt | } |
| @kevinwatt | peer bbs.ossug.org { |
| @kevinwatt | ip-name: 61.70.122.184 |
| @kevinwatt | } |
| @kevinwatt | } |
| @kevinwatt | ## |
| @kevinwatt | ## newsfeeds - determine where Usenet articles get sent |
| @kevinwatt | ## |
| @kevinwatt | ## Format: |
| @kevinwatt | ## (1) site[/exclude,exclude...]\ |
| @kevinwatt | ## (2) :pattern,pattern...[/distrib,distrib...]\ |
| @kevinwatt | ## (3) :flag,flag...\ |
| @kevinwatt | ## (4) :parameter |
| @kevinwatt | ## |
| @kevinwatt | ## (1) |
| @kevinwatt | ## site通常是代稱,若在site後面加上!則會在NEWS文章中的path:以此種方式 |
| @kevinwatt | ## 顯示出sitename,不設定的話會以pathhost的設定為主。 |
| @kevinwatt | ## |
| @kevinwatt | ## exclude指的是文章header 的 path:中若文章有經過對方的位置,表示對方 |
| @kevinwatt | ## 已經有收到過這篇文章了。 |
| @kevinwatt | ## ex: |
| @kevinwatt | ## debian/linux4.cc.ntu.edu.tw,news.debian.org.tw\ |
| @kevinwatt | ## |
| @kevinwatt | ## (2) |
| @kevinwatt | ## pattern表示送文章的模式,在這邊將餵送groups的條件設妥。 |
| @kevinwatt | ## ex: |
| @kevinwatt | ## :!*,tw.*\ |
| @kevinwatt | ## |
| @kevinwatt | ## (3) |
| @kevinwatt | ## flag是用來訂定餵送時的限制,FLAG VALUES的種類多多。其中T type是拿來做 |
| @kevinwatt | ## 傳送模式所使用的。 |
| @kevinwatt | ## 在這邊只介紹一個,其它的可自行參考man newsfeeds。 |
| @kevinwatt | ## m Funnel (multiple entries feed into one) |
| @kevinwatt | ## |
| @kevinwatt | ## 將多個餵送的資料會整成一個資料區塊送出。(Funnel 漏斗,這邊的意思是指 |
| @kevinwatt | ## 如通過漏斗般移動) |
| @kevinwatt | ## |
| @kevinwatt | ## |
| @kevinwatt | ## ex: |
| @kevinwatt | ## :Tm |
| @kevinwatt | ## |
| @kevinwatt | ## (4) |
| @kevinwatt | ## parameter的設定要由FEED TYPES決定, |
| @kevinwatt | ## 如果是使用Tm的話可以這樣設。 |
| @kevinwatt | ## ex: |
| @kevinwatt | ## :innfeed! |
| @kevinwatt | ## |
| @kevinwatt | ## 在這邊會呼叫 |
| @kevinwatt | ## innfeed!:!*\ |
| @kevinwatt | ## :Tc,Wnm*\ |
| @kevinwatt | ## :/usr/lib/news/bin/startinnfeed |
| @kevinwatt | ## |
| @kevinwatt | ## |
| @kevinwatt | ME:!*/!local,!collabra-internal:: |
| @kevinwatt | #ME這行是設以下的餵信的初始值 |
| @kevinwatt | controlchan!\ |
| @kevinwatt | :!*,control,control.*,!control.cancel\ |
| @kevinwatt | :Tc,Wnsm:/usr/lib/news/bin/controlchan |
| @kevinwatt | # site必需跟innfeed.conf裡取的一樣。 |
| @kevinwatt | # |
| @kevinwatt | debian/linux4.cc.ntu.edu.tw,news.debian.org.tw\ |
| @kevinwatt | :!*,tw.*\ |
| @kevinwatt | :Tm:innfeed! |
| @kevinwatt | innfeed!:!*\ |
| @kevinwatt | :Tc,Wnm*\ |
| @kevinwatt | :/usr/lib/news/bin/startinnfeed |
| @kevinwatt | /etc/news/expire.ctl |
| @kevinwatt | ##這是用來設定文章保留天數的檔案,刪除的動做會在news.daily被啟動。 |
| @kevinwatt | ## |
| @kevinwatt | ## /remember/:<keep> 文章過期後會在 history 裡面最多保留幾天 |
| @kevinwatt | ## 設定一定的時間可避免old articles被再送回來。 |
| @kevinwatt | /remember/:14 |
| @kevinwatt | ## <patterns>:<modflag>:<keep>:<default>:<purge> |
| @kevinwatt | ## <patterns> 名稱 |
| @kevinwatt | ## <modflag> NewsGroup的種類。 |
| @kevinwatt | ## A 代表所有的。 |
| @kevinwatt | ## M 代表有人管。 |
| @kevinwatt | ## U 代表沒人管。 |
| @kevinwatt | ## <keep> 文章最少保留幾天。 |
| @kevinwatt | ## User指定的expire少於此的話以keep為準。 |
| @kevinwatt | ## <default> 文章一般保留幾天。 |
| @kevinwatt | ## |
| @kevinwatt | ## <purge> 文章最長保留幾天。 |
| @kevinwatt | ## User指定的expire多於此的話以purge為準。 |
| @kevinwatt | ## word "never." |
| @kevinwatt | ## 永不過期。 |
| @kevinwatt | *:A:1:10:never |
| @kevinwatt | tw.*:A:10:10:10 |
| @kevinwatt | tw.debian.*:A:never:never:never |
| @kevinwatt | /etc/news/innwatch.ctl |
| @kevinwatt | ## 會監控系統執行狀態的程式,必要的時後它可是會停止服務使用者的。 |
| @kevinwatt | 接下來講的這些比較清鬆... (覺得我會講到十二點...) |
| @jesse_ | XD |
| @kevinwatt | /var/lib/news/ 下面的檔案 |
| @kevinwatt | /var/lib/news/active |
| @jesse_ | mosix 可以下次講.. :P |
| @kevinwatt | active 的檔案格式 |
| @kevinwatt | [name] [High] [Low] [Flags] |
| @kevinwatt | control 0000000000 0000000001 n |
| @kevinwatt | control.cancel 0000000003 0000000001 n |
| @kevinwatt | control.checkgroups 0000000000 0000000001 n |
| @kevinwatt | control.newgroup 0000000000 0000000001 n |
| @kevinwatt | control.rmgroup 0000000000 0000000001 n |
| @kevinwatt | junk 0000000000 0000000001 n |
| @kevinwatt | local.general 0000000000 0000000001 y |
| @kevinwatt | local.test 0000000000 0000000001 y |
| @kevinwatt | tw.debian.general 0000000000 0000000001 y |
| @kevinwatt | tw.debian.test 0000000007 0000000008 y |
| @kevinwatt | tw.debian.hurd 0000000001 0000000002 y |
| @kevinwatt | 此檔案官方建議不要手動修改,最好是使用ctlinnd建立。 |
| @kevinwatt | [Flags] 可用的設定有 |
| @kevinwatt | * y |
| @kevinwatt | 該group允許使用者直接張貼與讀取。 |
| @kevinwatt | * m |
| @kevinwatt | 此group有專門的moderator(管理者),張貼的POST會先寄到moderator的手上。 |
| @kevinwatt | 由moderator審核後再丟出去。 |
| @kevinwatt | * n |
| @kevinwatt | 不允許張貼,但接受遠端的餵送。 |
| @kevinwatt | * x |
| @kevinwatt | 不允許張貼,但可由系統產生POST。 |
| @kevinwatt | * j |
| @kevinwatt | POST將會自動轉貼到junk區。 |
| @kevinwatt | * =foo.bar |
| @kevinwatt | 將該討論區的POST自動轉貼到 foo.bar 這個Group。(等於是有指名的j) |
| @kevinwatt | /etc/news/subscriptions |
| @kevinwatt | 此檔為推薦訂閱的NewsGroup |
| @kevinwatt | 在client第一次連結時如果有支援這項功能,下面的newsgroups會被推薦訂閱 |
| @kevinwatt | kevin@lls:/etc/news$ cat subscriptions |
| @kevinwatt | news.announce.newusers |
| @kevinwatt | news.newusers.questions |
| @kevinwatt | misc.test |
| @kevinwatt | misc.test.moderated |
| @kevinwatt | news.announce.newgroups |
| @kevinwatt | news.answers |
| @kevinwatt | /var/lib/news/newsgroups |
| @kevinwatt | lls:/var/lib/news# cat newsgroups |
| @kevinwatt | control Various control messages (no posting) |
| @kevinwatt | control.cancel Cancel messages (no posting) |
| @kevinwatt | control.checkgroups Hierarchy check control messages (no posting) |
| @kevinwatt | control.newgroup Newsgroup creation control messages (no posting) |
| @kevinwatt | control.rmgroup Newsgroup removal control messages (no posting) |
| @kevinwatt | junk Unfiled articles (no posting) |
| @kevinwatt | local.general Local general group |
| @kevinwatt | local.test Local test group |
| @kevinwatt | /etc/control.ctl |
| @kevinwatt | /etc/news/control.ctl |
| @kevinwatt | ## NCTU (Taiwan) |
| @kevinwatt | checkgroups:chen@cc.nctu.edu.tw:nctu.*:doit |
| @kevinwatt | newgroup:chen@cc.nctu.edu.tw:nctu.*:doit |
| @kevinwatt | rmgroup:chen@cc.nctu.edu.tw:nctu.*:doit |
| @kevinwatt | ## Debian Newsgroups (Debian Taiwan groups) |
| @kevinwatt | newgroup:news@debian.org.tw:tw.debian.*:doit |
| @kevinwatt | rmgroup:news@debian.org.tw:tw.debian.*:doit |
| @kevinwatt | ## Debian Newsgroups (Debian Taiwan groups) |
| @kevinwatt | newgroup:news@debian.org.tw:tw.debian.*:doit |
| @kevinwatt | rmgroup:news@debian.org.tw:tw.debian.*:doit |
| @kevinwatt | /etc/news/innreport.conf |
| @kevinwatt | innreport 是一套相當不錯的 inn log file 的統計及分析軟體 |
| @kevinwatt | /usr/lib/news/bin/ctlinnd |
| @kevinwatt | 重新載入設定檔。 |
| @kevinwatt | ctlinnd reload [config] [reason] |
| @kevinwatt | ex: |
| @kevinwatt | #ctlinnd reload active balabala |
| @kevinwatt | #ctlinnd reload newsfeeds newfeed |
| @kevinwatt | #ctlinnd reload incoming.conf newcoming.. |
| @kevinwatt | 新增一個討論群組。 |
| @kevinwatt | ctlinnd reload [groupname] |
| @kevinwatt | #ctlinnd newgroup tw.debian.abc |
| @kevinwatt | 刪除一個討論群組。 |
| @kevinwatt | ctlinnd rmgroup [groupname] |
| @kevinwatt | #ctlinnd rmgroup tw.debian.abc |
| @kevinwatt | 刪除一篇指定Message-ID 的POST。 |
| @kevinwatt | ctlinnd cancel [Message-ID] |
| @kevinwatt | #ctlinnd cancel 3BCBF4B3.8AD48C8F@linux.org.hk |
| @kevinwatt | 暫停服務 |
| @kevinwatt | ctlinnd pause [reason] |
| @kevinwatt | #ctlinnd pause stop... |
| @kevinwatt | 暫停服務並關閉history |
| @kevinwatt | ctlinnd throttle [reason] |
| @kevinwatt | #ctlinnd throttle balabala |
| @kevinwatt | 繼續服務 |
| @kevinwatt | ctlinnd go [reason] |
| @kevinwatt | #ctlinnd go balabala |
| @kevinwatt | go可以讓已暫停服務繼續服務但reason必需要跟暫停時所下的一樣。 |
| @kevinwatt | 其它套件介紹: suck |
| @kevinwatt | lls:/etc/suck# cat get-news.conf |
| @kevinwatt | # Your default local NNTP server. |
| @kevinwatt | server: kevinwatt.ossug.org |
| @kevinwatt | servtype: inn2.3 |
| @kevinwatt | remoteserver: quimby.gnus.org |
| @kevinwatt | outgoingfile: quimby.gnus.org |
| @kevinwatt | sedcmd: /^NNTP-Posting-Host:\|^NNTP-Posting-Date:\|^X-Complaints-To:\|^Xref:\|^X-Trace:\|^X-Server-Date:/d |
| @kevinwatt | suckoptions: -q -n |
| @kevinwatt | lls:/etc/suck# cat sucknewsrc |
| @kevinwatt | gnu.gcc.announce 16 |
| @kevinwatt | gnu.gcc.help 8450 |
| @kevinwatt | gnu.gcc 1029 |
| @kevinwatt | gnu.gcc.bug 11 |
| @kevinwatt | 呼........ |
| * jesse_ 拍手 |
| tsung | 還有結束音樂... |
| @jesse_ | ^^ |
| tsung | 真是不錯的一堂課.. :) |
| @jesse_ | 多謝 kevinwatt ^^ |
| Victor_ | 辛苦囉 ^^ |
| @kevinwatt | jesse_: 唔... 下次換經理了. XD |
| @jesse_ | K 經理下次可以講 mosix ^^ |
| @jesse_ | 停止錄音囉! |
| @kevinwatt | jesse_: ...ㄟ.......... |
| @kevinwatt | //nod |
| Victor_ | 偷偷問一下 我可以跟 tw.debian.* 轉信嗎 ^^|| |
| @jesse_ | 我來試聽一下錄音.. :) |
| @kevinwatt | Victor_: 當然可以... XD |
| @jesse_ | 硬碟聲音真的很大.. XD |
| @jesse_ | 錄音 ok, 晚點來轉 ogg |
| Victor_ | 因為不知道他 permsission 的設定 :p |
| @kevinwatt | Victor_: 嗯... 轉信位置是? |
| Victor_ | kevinwatt: ptt.cc :) |
| @kevinwatt | Victor_: 要轉哪些group? |
| @kevinwatt | ptt.cc.ntu.edu.tw? XD |
| Victor_ | kevinwatt: XD |
| Victor_ | kevinwatt: 來個 announce, general 吧 :p (hurd 文章會很多嗎) |
| @kevinwatt | Victor_: 應該是每年會有一篇... (err....) |
| @jesse_ | @_@ |
| Victor_ | :p |
| * kevinwatt 每年貼一篇。 |
| Victor_ | 呃 那其他的該不會... XD |
| @jesse_ | 我還沒弄 moto.dot 的轉信.. :P |
| @kevinwatt | 嗯... news.debian.org.tw還沒有到config去打廣告... :P |
| @kevinwatt | unknown host ptt.cc.ntu.edu.tw |
| @kevinwatt | 好像錯了... err... |
| kcwu | just ptt.cc |
| @kevinwatt | Oops. |
| * kcwu 有空再來看 log 教學 |
| @jesse_ | log 我整理好後會放到 http://ircconf.debian.org.tw/ 上 |
| @jesse_ | 語音也會壓成 ogg 檔放在那裡 |
| Victor_ | 耶 新板成立 等文章:p |
| @kevinwatt | 耶... (news.debian.org.tw成立4個月來第一個轉信達成...) |
| @jesse_ | 賀! |
| Victor_ | 第一個.. ^^; |