Æ÷Ç×°ø´ë ´º½º ¼¹öÀÇ ¼³Ä¡¿Í ¿î¿µ¿¡ °üÇÑ ¸ðµç °ÍÀ» Á¤¸®ÇÕ´Ï´Ù.
make world makedirs.sh make install
/news : news home /news/inn : source & compile /news/inn/contrib : contributed news-related software /news/inn/samples : sample configuration files /news/inn/site : site information /usr/news/bin : binary /usr/news/bin/rc.news : news bootup script /usr/news/local : news local binary (nothing right now) /usr/news/man : man pages /var/news/spool : news spool /var/news/etc : configuration files /var/news/run : innd directory /var/news/locks : lock directory /var/log/news : log /var/tmp : temporary spool
getlist -h news.postech.ac.kr active > /var/news/etc/active getlist -h news.postech.ac.kr active.times > /var/news/etc/active.times getlist -h news.postech.ac.kr newsgroups > /var/news/etc/newsgroups getlist -h news.postech.ac.kr distributions > /var/news/etc/distributions cp news:/lib/moderators /var/news/etc/moderators
awk < /afs/p/tmp/gov.us.fed \
'{ print "ctlinnd newgroup " $1 " y jay@postech.ac.kr" }' | sh -x
makehistory cd /var/news/etc mv history.n.dir history.dir mv history.n.pag history.pag
## Create the links for cross posted articles crosspost!:*:Tc,Ap,WR:/usr/news/bin/crosspost -s ## News overview overview!/cyberspam:*,!junk,!control*:Tc,WO:/usr/news/bin/overchan
FLAGS="-L -i0"
news.crit /var/log/news/news.crit news.err /var/log/news/news.err news.notice /var/log/news/news.notice
-r-sr-x--- 1 root news 7818 Oct 28 13:26 /usr/news/bin/inndstart
# su news -c /usr/news/bin/rc.news
2,7,12,17,22,27,32,37,42,47,52,57 * * * * /usr/news/bin/nntpsend >/dev/null 2>&1 30 1 * * * /usr/news/bin/news.daily delayrm expireover >/dev/null 2>&1 20 * * * * /usr/news/bin/rnews -U >/dev/null 2>&1 0 23 * * 1 /usr/news/bin/expireover -s >/dev/null 2>&1
*.info;mail.none;authpriv.none;news.none /var/log/messages
sitename[/exclude,exclude,...]\ :pattern,pattern...[/distrib,distrib,...]\ :flag,flag,...\ :param
ME:!*,!control,!junk/!local::
DEFS -I../include -DOVERSCREAM -DTIMER ## 18. actived configuration ## Where do you want actived installed? #### =()<_PATH_ACTIVED @<_PATH_ACTIVED>@>()= _PATH_ACTIVED /usr/news/bin/actived ## Where should actived put its pid file? #### =()<_PATH_ACTIVEDPID @<_PATH_ACTIVEDPID>@>()= _PATH_ACTIVEDPID /var/news/run/actived.pid
#### =()@>()= DEFS -I../include -DCLEAN_QP -DOVERSCREAM -DMISSING_PERL_BOOL #### =() @>()= CFLAGS $(DEFS) -pipe -m486 -O3 -fexpensive-optimizations #### =() @>()= DBZCFLAGS $(CFLAGS) -DMMAP #### =() @>()= YACC bison -y #### =() @>()= CTAGS ctags -t #### =() @>()= FORK vfork #### =() @>()= RES_STYLE TIMES #### =() @>()= ACT_STYLE MMAP #### =() @>()= MMAP_PTR void * #### =() @>()= RNEWS_SAVE_BAD DO #### =()<_ENV_UUCPHOST @<_ENV_UUCPHOST>@>()= _ENV_UUCPHOST HOSTNAME #### =() @>()= INEWS_PATH DONT #### =() @>()= INND_NICE_KIDS DONT #### =() @>()= REMEMBER_TRASH DONT #### =() @>()= NNRP_DBZINCORE_DELAY -1 #### =() @>()= NNRP_AUTH_SENDER DONT #### =() @>()= LIKE_PULLERS DO #### =() @>()= NNRP_CPUTIME_LIMIT 10 #### =() @>()= ICD_SYNC_COUNT 200 #### =() @>()= DEFAULT_CUTOFF 7 #### =() @>()= NNTPLINK_LOG DO #### =() @>()= IPADDR_LOG DONT #### =() @>()= SITE_BUFFER_SIZE (32 * 1024) #### =() @>()= MAX_CANCELS_TO_KEEP 2000 #### =() @>()= HIS_CACHE_SIZE (256 * 1024) #### =() @>()= U_INT64 unsigned long long #### =()<_PATH_COMPRESS @<_PATH_COMPRESS>@>()= _PATH_COMPRESS /bin/gzip #### =()<_PATH_COMPRESSEXT @<_PATH_COMPRESSEXT>@>()= _PATH_COMPRESSEXT .gz #### =()<_PATH_SPOOLTEMP @<_PATH_SPOOLTEMP>@>()= _PATH_SPOOLTEMP /var/news/spool/in.coming/tmp #### =() @>()= RNEWS_GROUP news #### =() @>()= INNWATCH_SPOOLSPACE 80000 #### =() @>()= INNWATCH_BATCHSPACE 8000 #### =() @>()= INNWATCH_SPOOLNODES 2000 #### =() @>()= INNWATCH_LIBSPACE 40000 #### =() @>()= INNWATCH_DF /bin/df --no-sync #### =()<_PATH_NEWSHOME @<_PATH_NEWSHOME>@>()= _PATH_NEWSHOME /inn #### =() @>()= ACTSYNC_HOST news.postech.ac.kr #### =() @>()= PERL_SUPPORT DO #### =() @>()= PERL_LIB -L/usr/lib/perl5/i386-linux/5.003/CORE -lperl -lm #### =() @>()= PERL_INC -I/usr/lib/perl5/i386-linux/5.003/CORE
make
expire.ctl funnel.conf hosts.nntp inn.conf moderators news.daily newsfeeds : funnelÀ» »ç¿ëÇÒ °æ¿ì¿¡¸¸ funnelÀ» uncomment ÇÑ´Ù. nnrp.access nntpsend.ctl pgpverify rc.news : DOFUNNELÀ» false·Î ÇØ ÁÖ¾ú´Ù. innlog.pl : innreport·Î ´ëÄ¡µÇ¾î ÀÖ´Ù. innreport »ç¿ë¹ýÀ» ÂüÁ¶ÇÑ´Ù. (innreport ¹öÀüÀÌ Á» ³´´Ù.)
/usr/bin/pgp /usr/bin/pgpsort /usr/bin/stealth /usr/doc/pgp-2.6.3-3i /var/lib/pgp
#### =()<_PATH_PGP @<_PATH_PGP>@>()= _PATH_PGP /usr/bin/pgp
make update
cd site make install inncheck
*/5 * * * * /usr/news/bin/checkactd >/dev/null 2>&1 */10 * * * * /usr/news/bin/checkinnd >/dev/null 2>&1 */10 * * * * /usr/news/bin/checkfunnel >/dev/null 2>&1 3,23,43 * * * * /usr/news/bin/clean_nov >/dev/null 2>&1 10 11 * * * /usr/news/bin/rotatefunnel >/dev/null 2>&1
DEFS -I../include -DCLEAN_QP -DOVERSCREAM MAX_CANCELS_TO_KEEP 2000 _PATH_PERL /usr/lib/perl5.004/bin/perl PERL_LIB `/usr/lib/perl5.004/bin/perl -MExtUtils::Embed -e ldopts` PERL_INC -I/usr/lib/perl5.004/i586-linux/5.00404/CORE
# make
# make update
Makefile expire.ctl innlog.pl news.daily renumber signcontrol
-r-sr-x--- 1 root news 8056 Oct 29 15:23 inndstart*
$pgp = '/usr/bin/pgp';
pgp -ka PGPKEYS
pgp -kv
pgp -kr keyname
newgroup:group-admin@isc.org:news.*:verify-news.announce.newgroups
$ pgpverify < /tmp/sample.control news.announce.newgroups
/bin/sh PROG=newgroup set "--" group-admin@isc.org "" /tmp/sample.control (. ./parsecontrol "$@"; echo $ACTION)
/usr/news/bin/convertconfig /usr/news/bin/innfeed /usr/news/bin/procbatch /usr/news/bin/startinnfeed /var/news/spool/out.going : backlog file µð·ºÅ丮 /var/news/etc/funnel.conf : configuration ÆÄÀÏ
news-spool: /var/news/spool/articles
pid-file: Innfeed.pid
debug-level: 0
use-mmap: false
log-file: innfeed.log
stdio-fdmax: 0
backlog-directory: /var/news/spool/out.going
backlog-rotate-period: 60
backlog-ckpt-period: 30
backlog-newfile-period: 600
dns-retry: 900
dns-expire: 86400
close-period: 3600
gen-html: false
status-file: innfeed.status
connection-stats: false
host-queue-highwater: 10
stats-period: 600
stats-reset: 43200
max-reconnect-time: 3600
initial-reconnect-time: 30
article-timeout: 600
response-timeout: 300
initial-connections: 1
max-connections: 6
max-queue-size: 25
streaming: true
no-check-high: 95.0000
no-check-filter: 50.0
no-check-low: 90.0000
port-number: 119
backlog-limit: 0
backlog-factor: 1.10
backlog-limit-highwater: 0
dynamic-method: 3
dynamic-backlog-filter: 0.7
dynamic-backlog-low: 25.0
dynamic-backlog-high: 50.0
no-backlog: false
peer POSnews {
ip-name: news.postech.ac.kr
}
/usr/news/bin/innfeed -C
POSnews/news.postech.ac.kr\
:*,!junk,!control*\
:Tm:funnel!
funnel!:!*:Tf,Wnm*:funnel
DOFUNNEL=true
10 11 * * * /usr/news/bin/rotatefunnel >/dev/null 2>&1
#define NNTP_PORT 120
226: (void)sprintf(buff, "(nnrpd) %s %s", ClientHost, what);
^^^^^^^
#includevoid main() { char *argv[6]; argv[0] = "/usr/news/bin/nnrpd"; argv[1] = "-s "; argv[2] = NULL; (void) execv(argv[0], argv); _exit(1); }
nntp stream tcp nowait root /usr/news/bin/startnnrpd startnnrpd
Postech:news.postech.ac.kr::-t120 -T3500 -P119
# ps ax | grep nnrpd 701 ? S 0:01 -(nnrpd) ys.postech.ac.kr list
/var/news/etc/innreport.pl /home/httpd/html/news /home/httpd/html/news/pics
/var/news/etc/innreport.pl /var/news/etc/innreport.conf /var/news/etc/innreport_inn.pm /home/httpd/html/news /home/httpd/html/news/pics
#rm -f ${OLD_LOG}
## Summarize syslog information
BASE=`basename ${SYSLOG_NOTICE}`
OLD_SYSLOG=${OLD}/${BASE}.0
if [ -s ${OLD_SYSLOG} ] ; then
echo Syslog summary:
# ${PERL} ${NEWSLIB}/innlog.pl -c -g -d -a < ${OLD_SYSLOG}
${PERL} ${NEWSLIB}/innreport.pl ${OLD_SYSLOG} ${OLD_LOG}
echo ---------
echo ''
fi
rm -f ${OLD_SYSLOG} ${OLD_LOG}
${PERL} ${NEWSLIB}/innreport.pl -f ${NEWSLIB}/innreport.conf ${OLD_SYSLOG} ${OLD_LOG}
/remember/:7 *:A:0:0:0 *:U:1:1:1 *:M:1:2:90 comp.os.linux.answers:A:1:60:60
# mailer for news Mnews, P=/usr/news/bin/m2n, F=lsDFM, A=m2n -n $u # Added for mail to news gateway. -jem R$=N.$* $#news $: $1.$2 Posting to news
postech-test : "|/usr/news/bin/m2n -n postech.test"
20 * * * * /usr/news/bin/shrinkfile -s 10m /tmp/gate.log > /dev/null 2>&1
/usr/local/bin/hmcodec | /usr/news/bin/rnews
-r-sr-sr-x 1 news uucp 22567 Nov 5 15:36 /usr/news/bin/rnews
label [labelname]
[command] [options]
end
groupdef [groupname]
[command] [options]
end
| ¸í·É¾î | INBOUND | OUTBOUND | GROUPDEF | GLOBAL |
| alias | - | Yes | - | Yes |
| filter | Yes | - | - | Yes |
| nomismatch | Yes | - | - | - |
| maxconnect | Yes | - | - | - |
| maxcross | - | Yes | - | - |
| maxpath | - | Yes | - | - |
| maxsize | - | Yes | - | - |
| mincross | - | Yes | - | - |
| minpath | - | Yes | - | - |
| minsize | - | Yes | - | - |
| rtflush | - | Yes | - | - |
| groupref | - | Yes | Yes | - |
| addgroup | - | Yes | Yes | - |
| delgroup | - | Yes | Yes | - |
| requiregroup | - | Yes | Yes | - |
| delgroupany | - | Yes | Yes | - |
| addspam | Yes | - | - | Yes |
| delspam | Yes | - | - | Yes |
newsgroupname:expirerate[:options]
label domainname maxqueue options
news.postech.ac.kr postech 141.223.7.47 postech
Comments and suggestions will be welcomed,
please feel free to send mail to me!