#action Blog Add Blog ##Blog {{{#!blog king 2004-12-30T08:06:02 /var/log/messages ¿¡¼­ "martian source" ·Î±× °è¼Ó »Ñ·ÁÁú¶§ {{{ ½ºÇªÇÎµÈ ÆÐŶÀ̳ª ¼Ò½º¶ó¿ìÆÃ, Redirect ÆÐŶ¿¡ ´ëÇØ ·Î±×ÆÄÀÏ¿¡ Á¤º¸¸¦ ³²±â µµ·Ï ¼³Á¤ÀÌ µÇ¾îÀֱ⠶§¹®ÀÔ´Ï´Ù... sysctl -a ¶ó°í Çؼ­ net.ipv4.conf.eth0.log_martians=1·Î ¼³Á¤ µÇ¾îÀÖ´ÂÁö È®ÀÎÇغ¸±¸, 1·Î µÇ¾î ÀÖ´ø°É 0À¸·Î ¹Ù²ãÁÖ¸é ·Î±×±â·ÏÀ» ÇÏÁö ¾Ê½À´Ï´Ù. escada wrote.. : ll header: ff:ff:ff:ff:ff:ff:00:d0:59:4b:aa:76:08:00 : martian source 255.255.255.255 from 127.0.0.1, on dev eth0 : ll header: ff:ff:ff:ff:ff:ff:00:d0:59:4b:aa:76:08:00 : martian source 255.255.255.255 from 127.0.0.1, on dev eth0 : ll header: ff:ff:ff:ff:ff:ff:00:d0:59:4b:aa:76:08:00 : martian source 255.255.255.255 from 127.0.0.1, on dev eth0 : ll header: ff:ff:ff:ff:ff:ff:00:d0:59:4b:aa:76:08:00 : martian source 255.255.255.255 from 127.0.0.1, on dev eth0 : ll header: ff:ff:ff:ff:ff:ff:00:d0:59:4b:aa:76:08:00 : martian source 255.255.255.255 from 127.0.0.1, on dev eth0 : ll header: ff:ff:ff:ff:ff:ff:00:d0:59:4b:aa:76:08:00 : martian source 255.255.255.255 from 127.0.0.1, on dev eth0 : ll header: ff:ff:ff:ff:ff:ff:00:d0:59:4b:aa:76:08:00 : martian source 255.255.255.255 from 127.0.0.1, on dev eth0 : ll header: ff:ff:ff:ff:ff:ff:00:d0:59:4b:aa:76:08:00 : martian source 255.255.255.255 from 127.0.0.1, on dev eth0 : ll header: ff:ff:ff:ff:ff:ff:00:d0:59:4b:aa:76:08:00 : : À§ÀÇ ·Î±×´Â ¾î¶² Çö»óÀΰ¡¿©? : ºÎÆÃ½Ã¿Í Ä¿³Î¸Þ¼¼Áö·Î °è¼Ó ÄַܼΠ»Ñ·ÁÁö´øµ¥.. \}}} {{{ # sysctl -a | grep martian \}}} À» Çϸé ÇöÀç °ªÀ» È®ÀÎÇÒ ¼ö ÀÖ°í {{{ # sysctl -e net.ipv4.conf.all.log_martians=0 ¶Ç´Â /etc/sysctl.conf ÆÄÀÏ¿¡ ipv4.conf.all.log_martians = 0 À̶ó°í Àû¾îÁÖ°í # sysctl -p /etc/sysctl.conf ÇØÁÖ¸é µÈ´Ù \}}} }}} {{{#!blog king 2004-12-30T06:21:03 eepro100 "sleep mode" bug fix eepro100 diag ftp://ftp.scyld.com/pub/diag/eepro100-diag.c http://kkanari.org/linux/eepro100-diag.c diag run: eepro100-diag -e -f To fix run: eepro100-diag -G -w -w -w -f }}} {{{#!blog king 2004-12-30T02:30:48 ¸ð´ÏÀ§Å° º¸¾È¼³Á¤ °­È­ 1. »ç¿ëÀÚµî·Ï ¸øÇÔ {{{ # cd /wiki/data # chmod 500 user\}}} À§¿Í °°ÀÌ ÇØÁÖ¸é, µð·ºÅ丮 ÆÛ¹Ì¼Ç ¶§¹®¿¡ »ç¿ëÀÚ µî·ÏÀ» ÇÒ ¼ö ¾ø´Ù ¹°·Ð ¾î´À±ÛÀÌ´ø ÀÐ´Â°Ç ¸¶À½´ë·Î ÇÒ ¼ö ÀÖ´Ù. 2. config.php ¼³Á¤ {{{ $security_class="needtologin";\}}} ·Î±äÀ» ÇØ¾ß ÆäÀÌÁö¸¦ ¼öÁ¤/Ãß°¡ ÇÒ ¼ö ÀÖ°Ô ÇØ ³ù´Ù. }}} {{{#!blog king 2004-12-30T01:17:53 /etc/cron.d/sysstat {{{ [han313:/etc/cron.d]# cat sysstat # run system activity accounting tool every 10 minutes */10 * * * * root /usr/lib/sa/sa1 1 1 # generate a daily summary of process accounting at 23:53 53 23 * * * root /usr/lib/sa/sa2 -A \}}} }}} {{{#!blog king 2004-12-28T02:17:12 /lib/libc.so.6 {{{ ns root # /lib/libc.so.6 GNU C Library 20040808 release version 2.3.4, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6). Compiled on a Linux 2.6.8 system on 2004-12-19. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Thread-local storage support included. For bug reporting instructions, please see: . \}}} }}} {{{#!blog king 2004-12-24T07:04:42 ÇѾƾ⾾ Á¢¼Ó¹ý (6660~6669 Æ÷Æ®¸·Èù°÷) }}} {{{ ¼­¹ö : iz4u.hanirc.org (iz4u.net) Æ÷Æ® : 8080 }}} {{{#!blog king 2004-12-23T01:35:24 ¸¶·çŸ make.conf {{{ ns root # cat /etc/make.conf # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example #CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" #MAKEOPTS="-j2" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/" USE="-arts -kde -qt -doc -debug 3dnow X aac aalib acl acpi alsa apache2 avi berkdb bmp bzlib cjk cdr crypt curl db2 fam ftp gdbm gnome gpm gtk gtk2 iconv java joystick maildir mmx mpeg mozilla msn mysql ncurses nls nptl opengl perl png python sasl sdl sqlite svga tiff usb wmf xine xv xvid zlib multichar ssl readline pam oggvorbis encode truetype freetype libg++ libwww mad mikmod motif imlib xml2 jpeg ithreads imap" \}}} }}} {{{#!blog king 2004-12-20T14:18:40 fonts {{{ * À©µµ¿ì ±¼¸², ¹ÙÅÁ, ½Å±¼¸² http://onionmixer.net/~tongseob/font/gulim.ttc http://onionmixer.net/~tongseob/font/batang.ttc http://onionmixer.net/~tongseob/font/ngulim.ttf * À±µðÀÚÀÎ ÆùÆ® (unicode) http://onionmixer.net/~tongseob/font/YoonFonts.tar.gz * ÀºÁøü, Àº±Û²Ã http://onionmixer.net/~tongseob/font/ttf-alee_4.1.tar.gz http://onionmixer.net/~tongseob/font/un-fonts-core-1.0.tar.gz http://onionmixer.net/~tongseob/font/un-fonts-extra-1.0.1.tar.gz * bluetux http://onionmixer.net/~tongseob/font/jin3.pcf.gz http://onionmixer.net/~tongseob/font/jin4.pcf.gz \}}} }}} {{{#!blog king 2004-12-20T13:17:15 redhat-artwork gnome theme {{{ # emerge x11-themes/redhat-artwork \}}} }}} {{{#!blog king 2004-12-20T08:05:52 gentoo apache2 ¼³Ä¡ Here's a list of what I had to do to get apache "fully" working with SSL support: 1. create the folder "/etc/apache2/conf/ssl" 2. (re)emerge apache 3. create the folder "/usr/lib/apache2/logs" 4. create the folder "/var/cache/apache2" 5. Un-comment APACHE2_OPTS="-D SSL" in "/etc/conf.d/apache2". 6. /etc/init.d/apache2 restart }}} {{{#!blog king 2004-12-20T05:09:35 12¿ù ¼Â°ÁÖ ½ºÆÔ¹ß¼Û À¯µ¿ IP List (Blocking) attachment:KISA_20041220.TXT }}} {{{#!blog king 2004-12-19T06:57:04 USE Flags {{{ USE="-arts -kde -qt -doc -debug 3dnow X aac aalib acl acpi alsa apache2 avi berkdb bmp bzlib cjk cdr crypt curl db2 fam ftp gdbm gnome gpm gtk gtk2 iconv java joystick maildir mmx mpeg mozilla msn mysql ncurses nls nptl opengl perl png python sasl sdl sqlite svga tiff usb wmf xine xv xvid zlib multichar ssl readline pam oggvorbis encode truetype freetype libg++ libwww mad mikmod motif imlib xml2 jpeg ithreads imap" \}}} }}} {{{#!blog king 2004-12-16T03:12:14 unix time stamp to human time {{{ $ perl -e'$\="\n"; print scalar localtime(shift);' 1086628571.242 Mon Jun 7 13:16:11 2004 \}}} }}} {{{#!blog king 2004-12-16T01:28:10 bmp, xmms, winamp bluecurve skin attachment:bluecurve.zip }}} {{{#!blog king 2004-12-15T07:33:56 procps-3.2.4 ±ò¾ÒÀ»°æ¿ì ¾÷µ¥ÀÌÆ® µÇ´Â ÆÐÅ°Áö ¸®½ºÆ® {{{ [root@ns procps-3.2.4]# make install install -D --owner 0 --group 0 --mode a=rx uptime /usr/bin/uptime install -D --owner 0 --group 0 --mode a=rx tload /usr/bin/tload install -D --owner 0 --group 0 --mode a=rx free /usr/bin/free install -D --owner 0 --group 0 --mode a=rx w /usr/bin/w install -D --owner 0 --group 0 --mode a=rx top /usr/bin/top install -D --owner 0 --group 0 --mode a=rx vmstat /usr/bin/vmstat install -D --owner 0 --group 0 --mode a=rx watch /usr/bin/watch install -D --owner 0 --group 0 --mode a=rx skill /usr/bin/skill install -D --owner 0 --group 0 --mode a=rx snice /usr/bin/snice install -D --owner 0 --group 0 --mode a=rx kill /bin/kill install -D --owner 0 --group 0 --mode a=rx sysctl /sbin/sysctl install -D --owner 0 --group 0 --mode a=rx pmap /usr/bin/pmap install -D --owner 0 --group 0 --mode a=rx pgrep /usr/bin/pgrep install -D --owner 0 --group 0 --mode a=rx pkill /usr/bin/pkill install -D --owner 0 --group 0 --mode a=rx slabtop /usr/bin/slabtop install -D --owner 0 --group 0 --mode a=rx pwdx /usr/bin/pwdx install -D --owner 0 --group 0 --mode a=r uptime.1 /usr/share/man/man1/uptime.1 install -D --owner 0 --group 0 --mode a=r tload.1 /usr/share/man/man1/tload.1 install -D --owner 0 --group 0 --mode a=r free.1 /usr/share/man/man1/free.1 install -D --owner 0 --group 0 --mode a=r w.1 /usr/share/man/man1/w.1 install -D --owner 0 --group 0 --mode a=r top.1 /usr/share/man/man1/top.1 install -D --owner 0 --group 0 --mode a=r watch.1 /usr/share/man/man1/watch.1 install -D --owner 0 --group 0 --mode a=r skill.1 /usr/share/man/man1/skill.1 install -D --owner 0 --group 0 --mode a=r kill.1 /usr/share/man/man1/kill.1 install -D --owner 0 --group 0 --mode a=r snice.1 /usr/share/man/man1/snice.1 install -D --owner 0 --group 0 --mode a=r pgrep.1 /usr/share/man/man1/pgrep.1 install -D --owner 0 --group 0 --mode a=r pkill.1 /usr/share/man/man1/pkill.1 install -D --owner 0 --group 0 --mode a=r pmap.1 /usr/share/man/man1/pmap.1 install -D --owner 0 --group 0 --mode a=r sysctl.conf.5 /usr/share/man/man5/sysctl.conf.5 install -D --owner 0 --group 0 --mode a=r vmstat.8 /usr/share/man/man8/vmstat.8 install -D --owner 0 --group 0 --mode a=r sysctl.8 /usr/share/man/man8/sysctl.8 install -D --owner 0 --group 0 --mode a=r slabtop.1 /usr/share/man/man1/slabtop.1 install -D --owner 0 --group 0 --mode a=r pwdx.1 /usr/share/man/man1/pwdx.1 ldconfig cd /usr/bin/ && ln -f skill snice cd /usr/bin/ && ln -f pgrep pkill \}}} }}} {{{#!blog king 2004-12-15T07:22:05 12¿ù 1ÀÏ ½ºÆÔ¹ß¼Û À¯µ¿ IP List (Blocking) attachment:12-01.txt }}} {{{#!blog king 2004-12-15T06:43:13 ntop - network monitoring !!! http://www.ntop.org/ntop.html }}} {{{#!blog king 2004-12-15T01:04:03 winXP ¿¡¼­ msn ¸Þ½ÅÀú ÇѱÛÀÔ·Â ¿À·ù http://im.msn.co.kr/notice/view.asp?strSeq=45&page=1&strBbsCode=bbs1 }}} {{{#!blog king 2004-12-10T07:19:35 iptable »ç¿ë¹æ¹ý {{{ --begin script-- #!/bin/sh # ¿ì¼± ¸ðµç RuleÀ» Á¤¸®ÇÑ´Ù. /sbin/iptables -F # sshd ÀÀ´äÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i eth0 -p tcp --source-port 22 -j ACCEPT # ´ÙÀ½À¸·Î °¢°¢¿¡ ´ëÇÑ Á¤Ã¥À» ¼¼¿î´Ù. * ÁÖÀÇ»çÇ× : ¿ø°Ý¿¡¼­ ÀÛ¾÷ÇÏ¸é ¹Ù·Î DROP µÇ¹Ç·Î, ·ÎÄÿ¡¼­ ÀÛ¾÷ÇؾßÇÑ´Ù ´Ü, À§¿Í°°ÀÌ sshd Æ÷Æ®ÀÎ 22¹øÀ» ¿­¾îµÎ¾úÀ» °æ¿ì´Â ÀÛ¾÷°è¼Ó °¡´ÉÇÏ´Ù. /sbin/iptables -P INPUT DROP /sbin/iptables -P OUTPUT ACCEPT /sbin/iptables -P FORWARD DROP # localhost¿¡¼­ÀÇ trafficÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i lo -j ACCEPT # È®¸³µÈ ¿¬°á¿¡ ´ëÇÑ PacketÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i eth0 -p tcp ! --syn -j ACCEPT # DNS ÀÀ´äÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i eth0 -p tcp --source-port 53 -j ACCEPT /sbin/iptables -A INPUT -i eth0 -p udp --source-port 53 -j ACCEPT # ÀÎÁõ ¿¬°áÀ» °ÅºÎÇÑ´Ù(±×·¸Áö ¾ÊÀ» °æ¿ì ¸ÞÀϼ­¹ö°¡ ¿À·§µ¿¾È ŸÀӾƿô »óÅ°¡ µÉ °ÍÀÌ´Ù.) /sbin/iptables -A INPUT -i eth0 -p tcp --destination-port 113 -j REJECT # echo³ª ¸ñÀûÁö¿¡ µµÂø ¸øÇϰųª ½Ã°£ ÃÊ°úµÈ icmp packetµéÀ» ¹Þ¾ÆµéÀδÙ. /sbin/iptables -A INPUT -i eth0 -p icmp --icmp-type 0 -j ACCEPT /sbin/iptables -A INPUT -i eth0 -p icmp --icmp-type 3 -j ACCEPT /sbin/iptables -A INPUT -i eth0 -p icmp --icmp-type 11 -j ACCEPT --end script— \}}} }}} {{{#!blog king 2004-12-09T08:53:56 manpage »ç¿ë¹ý {{{ 1 Commands Those commands that can be executed by the user from within a shell. 2 System calls Those functions which must be performed by the ker- nel. 3 Library calls Most of the libc functions, such as qsort(3). 4 Special files Files found in /dev. 5 File formats and conventions The format for /etc/passwd and other human-readable files. 6 Games 7 Conventions and miscellaneous A description of the standard file system layout, network protocols, ASCII and other character codes, this man page, and other things. 8 System management commands Commands like mount(8), many of which only root can execute. 9 Kernel routines This is an obsolete manual section. Once it was thought a good idea to document the Linux kernel here, but in fact very little has been documented, and the documentation that exists is outdated already. There are better sources of information for kernel developers. \}}} }}} {{{#!blog king 2004-12-08T06:48:57 bluetux ¿ËÀÌ ¸¸µç ±Û²Ã [15:47] <±î³ª¸®|A50> http://wiki.enterprise1.co.kr/~terry/jin3.pcf.gz [15:47] <±î³ª¸®|A50> http://wiki.enterprise1.co.kr/~terry/jin4.pcf.gz [15:47] <±î³ª¸®|A50> http://wiki.enterprise1.co.kr/~terry/msn.png }}} {{{#!blog king 2004-12-08T02:05:46 cvs¼­¹ö ¼³Á¤Çϱâ [³ëÇÏ¿ì]cvs¼­¹ö ¼³Á¤Çϱâ | ³ëÇÏ¿ì 2004/08/20 20:36 http://blog.naver.com/skytango/100005088308 ¼³Á¤À̶ó±âº¸´Ù. À¢¸¸ÇÑ ¸®´ª½º¿¡´Â ´Ù ±ò·ÁÀÖÀ¸¹Ç·Î ±âµ¿ÇÏ´Â ¹ý Á¤µµ¸¦ Àû¾îº¾´Ï´Ù. cvs server ¼³Á¤¹æ¹ý 1. cvs °¡ ±ò·ÁÀÖ´ÂÁö È®ÀÎÇÑ´Ù. rpm -q | grep cvs ±ò·ÁÀÖÁö ¾Ê´Ù¸é cvs rpmÀ» ¹Þ¾Æ ¼³Ä¡ÇÑ´Ù. 2. CVSROOT¸¦ ȯ°æº¯¼ö·Î Àâ¾ÆÁØ´Ù. export CVSROOT=/home/cvs/ 3. /etc/xinetd.d/ ¿¡ ´ÙÀ½°ú °°Àº ÆÄÀÏÀ» Ãß°¡ ½ÃŲ´Ù. cvspserver service cvspserver { disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/bin/cvs server_args = -f --allow-root=/home/cvs pserver log_on_failure += USERID } 4. /etc/init.d ¿¡ °¡¼­ xinetd¸¦ ¸®·Îµå½ÃŲ´Ù. ./xinetd reload 5. cvs¸¦ ÃʱâÈ­ÇÑ´Ù. cvs init 6. /home/cvs/CVSROOT¿¡ °¡º¸¸é µð·ºÅ丮°¡ »ý¼ºµÇ¾î ÀÖ´Ù. }}} {{{#!blog king 2004-12-06T13:07:55 emerge error {{{ x31 nabi # emerge nabi-0.15.ebuild emerging by path implies --oneshot... adding --oneshot to options. *** emerging by path is broken and may not always work!!! Calculating dependencies *** You are emerging a masked package. It is MUCH better to use *** /etc/portage/package.* to accomplish this. See portage(5) man *** page for details. >>> Waiting 10 seconds before starting... >>> (Control-C to abort)... Continuing... in: 10 9 8 7 6 5 \}}} * ÇØ°á¹æ¹ý {{{ACCEPT_KEYWORDS="~x86" emerge \=nabi-0.15 \}}}ÀÌ·±½ÄÀ¸·Î ÀÔ·ÂÀ» ÇÏ¸é µÈ´Ù !!! }}} {{{#!blog king 2004-12-06T09:58:40 4DESK attachment:4DESK10SETUP.EXE }}} {{{#!blog king 2004-12-06T07:32:30 2004³â 12¿ù 6ÀÏ ÇöÀç ÇѾƾ⾾ ä³Î ÀÚµ¿Á¶ÀÎ ¸®½ºÆ® /j #blue /j #debian /j #gentoo /j #gnome /j #kida_ÆÒŬ·´ /j #kldp /j #linux /j #onion /j #perky /j #soojung /j #is.mina /j #gentoo_doc /j #CodeFest }}} {{{#!blog king 2004-12-02T16:42:29 gaim icon ¹Ù²Ù±â {{{ <±î³ª¸®|X31> onion_x31win: /usr/share/pixmaps/gaim/status/default/msn.png À̳ðÀÌ ¹öµð¾ÆÀÌÄÜ <±î³ª¸®|X31> (±³Ã¼ÇØ ÁֽøéµÇ¿ä) <±î³ª¸®|X31> onion_x31win: /usr/share/pixmaps/gaim/icons/online.png À̳ðÀº Æ®·¹ÀÌ ¾ÆÀÌÄÜ <±î³ª¸®|X31> Ä«ÇǸ¸ ÇÏ¸é ³¡ -0- \}}} attachment:msn.png }}} {{{#!blog king 2004-12-02T06:40:25 Install GNU/Linux without any CD, floppy, USB-key, nor any other remov http://marc.herbert.free.fr/linux/win2linstall.html }}} {{{#!blog king 2004-12-01T16:14:04 GNU/Linux on an IBM ThinkPad X31 http://dev.gentoo.org/~brix/papers/X31/X31.html }}} {{{#!blog king 2004-12-01T06:04:16 Powertoys for Windows XP attachment:DeskmanPowertoySetup.exe attachment:ImageResizerPowertoySetup.exe attachment:PowerCalcPowertoySetup.exe attachment:setup.exe (ClearTypeFix) attachment:TaskswitchPowertoySetup.exe }}}