资源描述
Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,*,*,按一下以編輯母片標題樣式,按一下以編輯母片本文樣式,第二階層,第三階層,第四階層,第五階層,*,國 立 交 通 大 學,計 算 機 中 心,陳 昌 盛,E-mail:cschencc.nctu.edu.tw,Usenet News,系統的運作與管理,Usenet News,系統的運作與管理,課程大綱,Outline,1.,Usenet News,系統簡介,2.,News system INN,的相關操作設定,3.其它類似,News system,的簡介,4.新近的,News system,的發展趨勢,Usenet News,系統簡介,(1),Usenet News,相關資訊,/,文件,RFC 977,1036,977:,傳送協定的規範,1036:,Usenet,文件的規範,(,e.g.,檔頭,header),FAQ(e.g,INN,Dnews,),newsgroups,news.admin.*,主要談,行政管理性質.,news.software.*,主要,系統技術,news,臺灣本地的技術討論區,本资料来源,Usenet News,系統簡介,(2),Usenet News,系統簡介,(3),Usenet News,是什麼,?,Usenet,是一個邏輯型態的網路,logical vs physical network,傳統的 8 大分支,comp,humanity,misc,news,rec,sci,soc,talk,另類分支架構,e.g.alt.*,區域性架構,tw,hk,can,de,fj,fr,kr,.,其他,臺灣,BBS,與,NetNews,系統的結合,Usenet,的一般課題,(1),Usenet News,程式分類(,Server,Agent,Client),系統,server(INN,DNews,.),傳送程式,(,push vs pull model),Push,傳送,:,innfeed,nntplink,.,Pull,傳送,:,suck,nntpget,閱覽程式,(,線上,vs,離線 閱覽),netscape,ie,tin,Usenet News,傳送方式,mailing,UUCP,NNTP(RFC 977),Usenet,的一般課題,(2),News,文章的檔頭,(,RFC 1036),Required headers,Optional headers,News,文章的分類,normal articles(moderated vs un-moderated),control messages(cancel,newgroup,rmgroup,checkgroups,sendsys,version),如何新建一個,newsgroup,送,newgroup control message,Usenet,的一般課題,(3),articles refused or rejected(NNTP),refused(round 1,存在,history database,),rejected(round 2),pseudo newsgroups(active),control,junk,control.cancel,control.newgroup,control.rmgroup,Usenet,的一般課題,(4),轉換應用程式(,application gateway),mail2news,news2mail,bbs2news,anti-spam vs filtering,匿名問題,(,anonymous posting),cancel bot(automatic cancel),PGP verify(control messages),Filtering,NoCem(No-See-Them),Cleanfeed,Usenet Newsserver,的規畫,Usenet Newsserver,的規畫,Network,Memory,Disk,CPU,UPSsystem,Memory size,128Mbytes(themore,the better),HardDisk size,Diskcapacity 12G bytes(themore,the better),SCSIII,Wide(the newer,the better),Inode number=2kbytes/inode,Filesystem(hardware orsoftware disk array),News,系統的運,作,作與管理,課,課題,In-coming News(,接收,),Unbatching/decompression,Filing,.,Indexingsupport,Out-going newsfeeds(,外送,),Expiration(,清理過期,文,文章,),Archive(,永久保存,),系統記錄,與,與製做統,計,計報告,關於,news,站的管理,建立外界,連,連絡用的,e-mail address,newsadmin,usenet,abuse,例如,newsadminnews.nctu.edu.tw,建立,newspeering,關係,認識你的,news,上游管理,者,者,建立第二,個,個備援站(,redundant backupsite),Usenet server INN,的建置,Usenet Newssoftware,的取得,ftp:/nctuccca.edu.tw/Packages/news/*,INNServer,的安裝,INNREADME,INNInstallation Guide(install.ms),INNFAQPart8:AppendixA:Normans,installguide,Master/slaveservers,INN,中典型的,系,系統目錄,僅量分散,原,原則,NewsLibraryDirectory,子目錄,/,usr/local/news/,bin,etc,lbin,lib,locks,man,run,var,NewsSpool Directory,子目錄,/,news/,archive,articles,ing,out.going,over.view,NewsLogDirectory,子目錄,/,var/log/news,INN,上必須編,輯,輯設定的,檔,檔案,inn.conf,hosts.nntp,nnrp.access,newsfeeds,innfeed.conf,active,history(*),expire.ctl,innwatch.ctl,control.ctl,overview.fmt,moderators,innreport.conf(,外加選項,功,功能,),INN,的相關系,統,統設定,(1),接收,(,In-coming connection),hosts.nntp,nnrp.acesss,儲存與內,部,部處理(,filing),active,control.ctl,外送(,out-going newsfeeding),newsfeed,innfeed.conf(or nntpsend.ctl,),加掛特殊,功,功能程式(,overchan,crosspost,inpath,autoresponder,),newsfeed,INN,的相關系統,設,設定,(2),定期清理(,expiration;news.daily),expire.ctl,系統監督(,background,程式,),innwatch.ctl,系統報告(,news.daily),innreport.conf,其他次要功,能,能設定,moderators,passwd.nntp,.,INN.conf,的設定,範例,#,pathhost:,如果不定,default,就是,FQDN,pathhost:netnews.NCTU.edu.tw,organization:NationalChiaoTungUniversity,Taiwan,server:localhost,INN,的,hosts.nntp,設定,格式,:,:,範例,news.edu.tw:,192.83.166.5:,ccnews.nctu.edu.tw:!*,tw*,nctu.*,nthu.*,INN,的,nnrp.access,標準格式,:,範例,#-,Default isno access,noway to authentication,and nogroups.,*:-no-:-no-:!*,#-GeneralIP addressranges for most Taiwanssites,*.tw:R:*,!junk,!control*,!tw.bbs.adm.*,!alt.binaries.*,#-NCTU-National ChiaoTungUniversity,140.113.*:Read:*,!junk,!control*,!twbbs.adm.*,*nctu.edu.tw:Read Post:*,!junk,!control*,!twbbs.adm.*,INN,的,newsfeeds,設定,(1),標準格式,site/exclude,exclude,.,:pattern,pattern./distrib,distrib.,:flag,flag.,:param,詳細說明,請,請參閱,manpage-newsfeeds(5),INN,的,newsfeeds,設定,(2),範例,ME:!*/!local:,#Create the linksforcross-posted articles,xpost:*:Tc,Ap,WR,B4096/1024:/usr/local/news/bin/crosspost,#,Newsoverview,NOV!:*:Tc,WO,B4096/1024:/usr/local/news/bin/overchan,#,innfeed-0.10.1,86/04/22,innf!:!*:Tc,Wnm*,B4096/1024,:/usr/local/news/lbin/startinnfeed-c/news/innfeed/innfeed.conf,#-,CC1/news.nctu.edu.tw,ccnews.nctu.edu.tw,:*,!control*,!junk,:Tm,G20:innf!,關於,feed,型態 特,別,別說明,FeedType,Tc,channelmode,Tm,funnel mode,Tf,filemode,Tp,program(or pipe)mode,Tx,explodermode,INN,的,expire.ctl,設定,格式,/,remember/:,範例,/,remember/:10,#Keepfor1-10 days,allow Expires headers towork.,#General expirepolicyformostnewsgroups,*:A:0:0:0,*:U:1:1:31,*:M:1:7:31,tw.*:U:1:7:31,*.answers:M:1:31:31,INN,的,control.ctl,設定,格式,:,action 型態,cancel,newgroup,rmgroup,ihave/sendme,sendsys,checkgrup,version,“,“all”,範例,all:*:*:mail,checkgroups:*:*:log=checkgroups,sendsys:*:*:log=sendsys,newgroup:ltcnews.cc.nctu.edu.tw:tw.*:doit=newgroup,r
展开阅读全文