ããã° ãã¹ã¯ã¼ãèªè¨¼ é²è¦§ããã«ã¯ç®¡ç人ãè¨å®ãã ãã¹ã¯ã¼ãã®å ¥åãå¿ è¦ã§ãã 管ç人ããã®ã¡ãã»ã¼ã¸ é²è¦§ãã¹ã¯ã¼ã Copyright © since 1999 FC2 inc. All Rights Reserved.
ããã° ãã¹ã¯ã¼ãèªè¨¼ é²è¦§ããã«ã¯ç®¡ç人ãè¨å®ãã ãã¹ã¯ã¼ãã®å ¥åãå¿ è¦ã§ãã 管ç人ããã®ã¡ãã»ã¼ã¸ é²è¦§ãã¹ã¯ã¼ã Copyright © since 1999 FC2 inc. All Rights Reserved.
ã¼ãããå§ããLinuxã»ãã¥ãªãã£ï¼æçµåï¼ï¼ ãããã¯ã¼ã¯åIDSãSnortãã®ã·ã°ããã£ä½ææ³ Snortãå°å ¥ããã ãã§ã¯ãç°å¢ã«åããä¾µå ¥æ¤ç¥ã¯ã§ããªããå種ã®ãã°ãåºã«ãç°å¢ã«é©ããã·ã°ããã£ãä½æããããï¼2002/6/18ï¼ ã¼ãããå§ããLinuxã»ãã¥ãªãã£ï¼10ï¼ï¼ ãããã¯ã¼ã¯åIDSãSnortãã®å°å ¥ Tripwireã«ç¶ãããããã¯ã¼ã¯åIDSã§ãããSnortãã®å°å ¥æ¹æ³ãç´¹ä»ãããSnortãå°å ¥ãããã¨ã«ããããã¹ãåIDSã§ã¯å¯¾å¿ã§ããªãæ»æãæ¤åºå¯è½ã«ãªããï¼2002/5/18ï¼ ã¼ãããå§ããLinuxã»ãã¥ãªãã£ï¼9ï¼ï¼ Tripwireéç¨ã®åæ IDSã¯ãå°å ¥ããããã¨ãã£ã¦ã»ãã¥ãªãã£ãåä¸ããããã§ã¯ãªãããæ¥ã ã®éç¨ãæ ãã°ã¾ã£ããç¡æå³ã ãã§ã¯ãã©ã®ããã«éç¨ããã°ããã®ãï¼ ååå°å ¥ããTripwireã®éç¨æ¹æ³ã解説ãããï¼20
grepã³ãã³ããå©ç¨ãã¦ã§ã³ã¡ã³ãè¡ã¨ç©ºç½è¡ãé表示ã«ããæ¹æ³ã§ãã httpd.confãsmb.confçã®è¨å®ãã¡ã¤ã«ã¯ãããã¨ã³ã¡ã³ãæãå¤ãã®ã§ ããããé表示ã«ãã¦ãºããªè¨å®å 容ã ã確èªãããå ´åã«ä¾¿å©ã§ãã OS: CentOS 6.3(64-bit) grep: 2.6.3 â ã³ã¡ã³ãè¡ã¨ç©ºç½è¡ãé表示 [root@cent63 ~]# grep -v "^#\|^$" /etc/httpd/conf/httpd.conf ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 60 KeepAlive Off MaxKeepAliveRequests 100 KeepAliveTimeout 15 (以ä¸çç¥)
Linuxã¨ã¯ãã¨èª¿ã¹ãã¬ãã«ããLinuxãåå¼·ãã¦ããçè ã®ããã°ãPHPããJAVAãLinuxã³ãã³ããä¸å¿ã«æ¸ãã¦ãã¾ãã調ã¹ãå 容ãå¿å´é²æ¢ã§æ¸ãã¦ãã¾ããå©ç¨ããå ´åã¯èªå·±è²¬ä»»ã§ãããããé¡ããã¾ãã Linuxã³ãã³ãã®å®è¡ãã¡ã¤ã«ã¯ã/bin以ä¸ã«ãããã®ãã/usr/local以ä¸ã«ãããã®ãªã©ãã³ãã³ãã«ãã£ã¦ãã¹ã«éããããã¾ãããªããã®ããã«åé¡ããã¦ãã¦ãã©ã®ããã«åé¡ãã¦ããã®ããå°ããç´¹ä»ãã¾ãã /bin以ä¸ã®ã³ãã³ãã¯åºæ¬ã³ãã³ã /bin以ä¸ã«ããã³ãã³ãã¯ããã®Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ã¨ã£ã¦åºæ¬çãªã³ãã³ããæãã¾ãã/bin以ä¸ã«ã©ã®ãããªã³ãã³ããããã®ãã¯ããã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ãã£ã¦ç°ãªãã¾ãããã®/bin以ä¸ã®ã³ãã³ãã«æ ¼ç´ããã¦ããã³ãã³ãã®ãã¨ããåºæ¬ã³ãã³ãã¨å¼ã¶ããã§ãã ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ãã£ã¦å«ã¾ãã¦ãã¾ã
ã¡ã¼ã«ãµã¼ãã¼ãæ§ç¯ããå ´åãéä¿¡ã¡ã¼ã«ãµã¼ãã¼(SMTPãµã¼ãã¼)ã¨åä¿¡ã¡ã¼ã«ãµã¼ãã¼(POP/IMAPãµã¼ãã¼)ã®æ§ç¯ãå¿ è¦ã¨ãªãã ããã§ã¯ãéä¿¡ã¡ã¼ã«ãµã¼ãã¼ã«ã¯Postfixãåä¿¡ã¡ã¼ã«ãµã¼ãã¼ã«ã¯Dovecotãæ¡ç¨ããã ãªããPostfixã¯è¿·æã¡ã¼ã«ã®ä¸æ£ä¸ç¶ã«å©ç¨ãããªãããã«ãããããåæè¨å®ã§ã¯å¤é¨ããå¤é¨å®(ä¾ãã°ãä¼ç¤¾çã§èªå® ãµã¼ãã¼ã®ã¡ã¼ã«ã¢ãã¬ã¹ãããããã¤ãã®ã¡ã¼ã«ã¢ãã¬ã¹å®)ã«éä¿¡ã§ããªãããã«ãªã£ã¦ããããè¿·æã¡ã¼ã«ã®ä¸æ£ä¸ç¶ã«å©ç¨ãããã«å¤é¨ããå¤é¨å®ã«éä¿¡ã§ããããã«ãããããSMTPèªè¨¼æ©è½â»ãæå¹ã«ããã ã¾ããDovecotã¯POP/IMAPãµã¼ãã¼ã¨ãã¦æ§ç¯ããã¦ã¼ã¶ã¼ãPOPã¾ãã¯IMAPãé¸æã§ããããã«ãããâ»POPã¨IMAPã®éã â»SMTPèªè¨¼æ©è½ã¨ã¯ãã¡ã¼ã«éä¿¡æã«ã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ãã§èªè¨¼ãè¡ãªãæ©è½ã§ãããããã«ãããè¿·æ
åºå ããèªåã®ã¡ã¼ã«ãµã¼ãã¼ã«éä¿¡ãä¾é ¼ãããå ´åããå¤é¨ã®ç¹å®ã®ã¦ã¼ã¶ã¼ã«SMTPã®å©ç¨ã許å¯ãããå ´åãSendmail 8.9ã®ç« 㧠紹ä»ããæ¹æ³ã§ã¯åºæ¥ã¾ãããããã¯ãSPAM対çã®ããå¤é¨ããã®SMTPã®å©ç¨ã¯ä¸åç¦æ¢ããããã«è¨å®ããã¦ããããã§ãã Sendmail- 8.11ããæ£å¼ã«SMTP AUTHãå®è£ ãããã®ã§ããã使ãSendmailã«SMTPèªè¨¼æ©æ§ãå®è£ ããå¤é¨ããå®å ¨ã«SMTPãå©ç¨ã§ããã¡ã¼ã«ãµã¼ãã¼ãæ§ç¯ããæ¹æ³ãç´¹ä»ãã¦ãã¾ãã ã注æ ãã®è¨äºã¯ Sendmail 8.9 ããç¶æ¿ã㦠2001å¹´ 5æ ã¾ã§æ´æ°ããã¦ããå 容ã§ããSendmail 8.12 ããå¤§å¹ ã«ä½¿ç¨ãå¤æ´ããããããæ°ãã«åç·¨éãã¦ãã¾ãã åç § => FedoraCore 㨠Sendmail-8.12 ã§ã¡ã¼ã«ãµã¼ãã¼ãæ§ç¯ãã SMTPèªè¨¼æ©æ§ã¨ãã®æ´å² POPãµã¼ãã¼
ãããã¯ãLinuxã«ä¹ãæãã¦ä»¥æ¥ãé·ããã¨Courie-IMAPã使ç¨ãã¦ãã¾ããããæè¿ã®ãã¹ããªã§ã¯POP3/IMAPãµã¼ãã¨ãã¦Dovecotãæ¡ç¨ããã¦ããã®ã§ãä»åã¯ããã使ç¨ãããã¨ãåæã«è©¦é¨ãã¦ã¿ã¾ãã¾ãããDovecotã使ç¨ãã¦ã¿ãæãã¯ãCorier-IMAPã¨ã»ã¨ãã©å¤ãããªãã¨ããå°è±¡ã§ãããã¡ããã UW-IMAP㨠Courier-IMAPãµã¼ãã¨ã®å®å ¨äºæãæã£ã¦ããã ããã£ã¦ãæ¥æ¬èªæ¤ç´¢ãSqurrelmailãMobileimapã¨ã®é£æºã¯ç¹ã«åé¡ã¯ããã¾ããã§ããã Dovecotã¯mboxã¨maildirå½¢å¼ã§åä½ãããã¨ã«ãªã£ã¦ãã¾ãããããã2005/04/05ç¾å¨ã®v0.99ã§ã¯mboxå½¢å¼ã®ãµãã¼ãã¯ã¾ã å®å ¨ã§ã¯ãªããv1.0ã§ããªãã®é¨åããµãã¼ãããããã§ãããããã¯å¾æ¥ã©ãããmaildirå½¢å¼ã§ãã¦ããã®ã§åé¡ããã¾ããããmbo
ã«ã¼ã¿ã¼çµç±æ¥ç¶ã«ããã¤ã³ã¿ã¼ããã常ææ¥ç¶ç°å¢ã§ãã(å½ãµã¤ãã¯IIJmioã²ããã«ããã¤ã³ã¿ã¼ããã常ææ¥ç¶ç°å¢) åºå®ã¾ãã¯éåºå®ã®ã°ãã¼ãã«IPã¢ãã¬ã¹ç°å¢ã§ãã(å½ãµã¤ãã¯GMOã¨ãã¨ãBBã®åºå®ã°ãã¼ãã«IPã¢ãã¬ã¹ç°å¢(éå¼ããå¯è½)) â»ã¡ã¼ã«ãµã¼ãã¼ãæ§ç¯ããå ´åã¯éå¼ãå¯è½ãªåºå®ã°ãã¼ãã«IPã¢ãã¬ã¹ç°å¢ãæã¾ãã(éåºå®ã°ãã¼ãã«IPã¢ãã¬ã¹ããåºå®ã°ãã¼ãã«IPã¢ãã¬ã¹ã§ãéå¼ããããã¹ãåã¨ã¡ã¼ã«éä¿¡å ãã¹ãåãç°ãªãå ´åã«ã¡ã¼ã«åä¿¡ãæå¦ããã¡ã¼ã«ãµã¼ãã¼ãã¾ãã«åå¨ãããã) OSã®ã¤ã³ã¹ãã¼ã«æãé¤ãããµã¼ãã¼ã®æä½ã¯Windowsããã³ãã³ãæä½ã§è¡ãªã â ã³ã³ãã³ã â»ãã¹ãåããã¡ã¤ã³åãIPã¢ãã¬ã¹ã¯åèªã®ç°å¢ã«ç½®ãæããã㨠â»åç®æ¬¡ã«è¡¨è¨ãã¦ãããã¼ã¸ã§ã³ã¯ãå½ãµã¤ãã§ç¢ºèªãã¨ã£ãCentOSã®ãã¼ã¸ã§ã³ã示ãã¦ããããã®ãã¼ã¸ã§ã³ã§ãªãã¨ã§ããª
centos login: rootãâããã°ã¤ã³ã¦ã¼ã¶åã¨ãã¦rootã¨å ¥å Password: ãâãrootã®ãã¹ã¯ã¼ãå¿ç(表示ã¯ãããªã) [root@centos ~]# ãâãrootã§ãã°ã¤ã³ããç¶æ [root@centos ~]# exitãâããã°ã¢ã¦ã centos login:ãâããã°ã¢ã¦ãããç¶æ [root@centos ~]# useradd centosãâãä¸è¬ã¦ã¼ã¶centosã®ä½æ [root@centos ~]# passwd centosãâãcentosã®ãã¹ã¯ã¼ãè¨å® Changing password for user centos. New UNIX password: ãâãcentosã®ãã¹ã¯ã¼ãå¿ç Retype new UNIX password: ãâãcentosã®ãã¹ã¯ã¼ãå¿ç(確èª) passwd: all authen
DNSãµã¼ãã¼ã»ã»ã»äººéã«ãããããããã¡ã¤ã³ãã¼ã ãIPã¢ãã¬ã¹ã¨ç¸äºã«å¤æããã·ã¹ãã ã ã¨ãã£ã¦ãããããå人ã§éç¨ããã¡ãªããã¯ããã®ãï¼ ãã¾ããªãããï¼^^; ã¾ããç¥èã»æè¡ã¨ãã¦ç¥ã£ã¦ããã¦æã¯ãªãã ï¼ï¼ãªã«ãã¨ãããã½ã¼ã¹ã®å ¥æã¨å±é ftp://ftp.isc.org/isc/bind/src/ ãã®ãªãã«BIND8.x.xãããã®ã§ãã¦ã³ãã¼ãã <追è¨> ç¾å¨BIND9ãææ°çã¨ãã¦å ¬éããã¦ãããã³ã³â ftp://ftp.isc.org/isc/bind9/ ã¢ã¼ã«ã¤ãã®å±éã«ã¯ãã¤ãã®éãä¸è¨ã®ããã« ãã¡ãããé©å½ãªå ´æã«ãã¦ã³ãã¼ãããBINDã®ãã¼ã¸ã§ã³åãªãããä»ãã¦ã ä½æ¥ç¨ã®ãã£ã¬ã¯ããªãä½ã£ã¦ããã¨ãããï¼é常ã¯/usr/src/bind-8.x.x ã¨ãããªï¼ ï¼ï¼ã¤ã³ã¹ãã¼ã« ãã®åã«ãBINDãèµ·åãã¦ãããªãåæ¢ããRPMã§ã¤ã³ã¹ãã¼ã«
[root@localhost ~]# yum -y install postgresql-server Loading "installonlyn" plugin Setting up Install Process Setting up repositories Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras error was [Errno 4] IOError: <urlopen error (-3, '\xe5\x90\x8d\xe5\x89\x8d\xe8\xa7\xa3\xe6\xb1\xba\xe6\x99\x82\xe3\x81\xae\xe4\xb8\x80\xe6\x99\x82\xe7\x9a\x84\xe3\x81\xaa\xe5
ãä¼æ¥ã·ã¹ãã ã«å¿ è¦ãªèªååãã¯ããªããªã大ããªãã¼ãã§ãããã«çããåºããã®ã§ã¯ããã¾ããããã®é£è¼ã§ã¯ãæåã«åãçµãã¹ã課é¡ã¨ãã¦ããµã¼ãã¼æ§ç¯ã®èªååãããã¼ãã«æè¡è§£èª¬ãé²ãã¦ããã¾ããã¾ãã身è¿ãªå ·ä½ä¾ãç´¹ä»ãã¾ãããï¼å¥æ²è¨äºãITç ä¿®ã»ã³ã¿ã¼ãã®èªååäºä¾ãåç §ï¼ã
ååã¯ããIPã¢ãã¬ã¹ã§ç´æ¥éä¿¡ããä»çµã¿ããç´¹ä»ããããã®ä¸ã«ã§ã¦ããARPã«ã¤ãã¦ãå ·ä½çã«ã©ã®ãããªããã¨ããè¡ãªãã®ãããã±ããã®ä¸èº«ããå¦ãã§ãããã ARPãã±ããããã£ããã£ãã ARPã®åä½ããã±ãããã£ããã£ã½ããã®ãWiresharkï¼ç»é¢1ï¼ãã使ã£ã¦è§£æããããWiresharkã¯ãã£ããã£ãããã±ããã®ãªã¹ãããã®ä¸èº«ãé層ãã¨ã«è¡¨ç¤ºãããã¼ã«ã ã ã¾ããREQUESTã®ä¸èº«ã解説ãããâ ï½â£ãEthernetãã¬ã¼ã ã®æ å ±ã§ãããEthernetã®ãã¬ã¼ã ã¯2種é¡ããããã®ãã¬ã¼ã ã¯ãEthernet IIãã§ãããâ¤ï½âªãARPãã±ããã®æ å ±ã§ãâ¦ãè¦ãã¨ãã®ãã±ããã®å¦çå 容ãREQUESTã§ãâªãè¦ãã¨æ¤ç´¢å¯¾è±¡ã®IPã¢ãã¬ã¹ã172.20.152.1ã§ãããã¨ããããã ãªããWiresharkã¯ãããã¯ã¼ã¯ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®è£½é å ããããç¯å²ã§è¡¨ç¤ºããã
åä½ã¢ã¼ããç°ãªãã¨ãããã¨ã¯ãèµ·åãããããã°ã©ã ãéãã¨ãããã¨ã ãLinuxã§ã¯ãã©ã³ã¬ãã«å¥ã®ãã£ã¬ã¯ããªï¼/etc/rc.d/rc?.dï¼ã«ãããã¡ã¤ã«ï¼å®éã«ã¯åããã°ã©ã ã®èµ·åã¹ã¯ãªããã¸ã®ãªã³ã¯ï¼ã®ååã«ãããåã©ã³ã¬ãã«ã§å®è¡ããããã°ã©ã ãæå®ãã¦ããã ä¾ãã°ãã©ã³ã¬ãã«3ã®å ´åã¯/etc/rc.d/rc3.dã«ããã¹ã¯ãªãããå®è¡ãããã/etc/rc.d/rc3.dã«ã¯ããKã¨2ããã®æ°åãã§å§ã¾ããã¡ã¤ã«ã¨ããSã¨2ããã®æ°åãã§å§ã¾ããã¡ã¤ã«ãããããKãã¯Killãã¤ã¾ãå®è¡ãããªãã¹ã¯ãªããã表ãããSãã¯Startãã¤ã¾ãå®è¡ãããã¹ã¯ãªããã表ããKãSã«ç¶ãæ°åã¯ãå®è¡ãããã¹ã¯ãªããã®åªå é ä½ã ãæ°åã®å°ããã¹ã¯ãªããããé ã«å®è¡ãããã $ ls /etc/rc.d/rc3.d/ K05innd@        K35dhcpd@       K
AWSã®ç¡æå©ç¨æ ã®ã¢ã«ã¦ã³ãä½æã®æç¶ãã®æ¹æ³ã§ãã ã¢ã«ã¦ã³ãä½æããæ¥ã¯ã 2020å¹´08æ10æ¥ ã§ãã Amazon AWS ç¡æå©ç¨æ ã«ã¤ãã¦ã®æ¦è¦ã§ãã AWS ç¡æå©ç¨æ äºåæºå ç»é²ã«ã¯ä»¥ä¸ã®æºåãå¿ è¦ã§ãã ã¯ã¬ã¸ããã«ã¼ãã¾ãã¯ããããã«ã¼ãï¼ç¡æå©ç¨...>
Linuxã®ãµã¼ãã¹ã®ä¸ã§ãå¿ é ã®ãã®ã¯ããµã¼ãã¼èµ·åæã«èªåçã«ç«ã¡ä¸ããããã«ãã¦ãããèªåèµ·åã«ãªã£ã¦ããªããµã¼ãã¹ã¯ããµã¼ãã¼åèµ·åã®åº¦ã«æåã§ç«ã¡ä¸ããªãã¦ã¯ãªããªããä¾ãã°Apacheãªã©ã¯å¿ é ä¸ã®å¿ é ãªã®ã§ãå¿ããã«èªåèµ·åã«ãã¦ããã ãµã¼ãã¹ã®èªåèµ·åè¨å®ãè¦ãã³ãã³ã [[email protected]]# chkconfig --list ãã®ã³ãã³ãã§ããµã¼ãã¹ã®ä¸è¦§ãåºã¦ããã httpd 0:off 1:off 2:off 3:on 4:off 5:off 6:off pand 0:off 1:off 2:off 3:off 4:off 5:off 6:off pcscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off postfix
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}