{"id":5014,"date":"2015-02-03T22:26:56","date_gmt":"2015-02-03T13:26:56","guid":{"rendered":"http:\/\/www.vincentina.net\/?p=5014"},"modified":"2025-02-25T21:57:23","modified_gmt":"2025-02-25T12:57:23","slug":"%e3%83%9b%e3%82%b9%e3%83%88%e5%90%8d%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b%e3%81%a8tripwire%e3%81%8c%e3%82%a8%e3%83%a9%e3%83%bc%e3%82%92%e5%90%90%e3%81%8f%e3%81%ae%e3%81%a7%e4%bf%ae%e6%ad%a3","status":"publish","type":"post","link":"https:\/\/www.vincentina.net\/?p=5014","title":{"rendered":"\u30db\u30b9\u30c8\u540d\u3092\u5909\u66f4\u3059\u308b\u3068Tripwire\u304c\u30a8\u30e9\u30fc\u3092\u5410\u304f\u306e\u3067\u4fee\u6b63\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3088"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>\u30db\u30b9\u30c8\u540d\u3092\u5909\u66f4\u3057\u307e\u3057\u305f\u3002\u7d30\u304b\u304f\u66f8\u304f\u3068 \/etc\/sysconfig\/network \u306b\u8a18\u8ff0\u3057\u3066\u3044\u308b hostname \u306e\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\uff08\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u308c\u3070\uff09\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30a2\u30ec\u3067\u3042\u308a\u3001hostname \u30b3\u30de\u30f3\u30c9\u3067\u4e00\u6642\u7684\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u518d\u8d77\u52d5\u3059\u308b\u3068\u623b\u3063\u3066\u3057\u307e\u3046\u30a2\u30ec\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u30db\u30b9\u30c8\u540d\u3092\u5909\u66f4\u3057\u305f\u3053\u3068\u306b\u3088\u308b\u5f0a\u5bb3\u3068\u3044\u3044\u307e\u3059\u304b\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u4e00\u81f4\u3057\u306a\u3044\u3053\u3068\u306b\u3088\u308aTripwire\u304b\u3089\u6bce\u6669\u30a8\u30e9\u30fc\u306e\u30e1\u30fc\u30eb\u304c\u5c4a\u3044\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u8a2d\u5b9a\u3092\u4fee\u6b63\u3059\u308b\u4e8b\u3068\u540c\u6642\u306b\u3001\u307e\u305f\u8abf\u3079\u306a\u304f\u3066\u3082\u3044\u3044\u3088\u3046\u306b\u65e5\u8a18\u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u53c2\u8003\u30b5\u30a4\u30c8<br \/>\n<a href=\"http:\/\/centossrv.com\/tripwire.shtml\" target=\"_blank\" rel=\"noopener\">\u30d5\u30a1\u30a4\u30eb\u6539\u7ac4\u691c\u77e5\u30b7\u30b9\u30c6\u30e0\u5c0e\u5165(Tripwire)<\/a> &#8211; CentOS\u3067\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9:<\/p>\n<p>\u6700\u8fd1\u3067\u306fGoogle\u5e2b\u5320\u306e\u304a\u4e16\u8a71\u306b\u306a\u3063\u3066\u3070\u304b\u308a\u3067\u3059\u304c\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u89e6\u308a\u306f\u3058\u3081\u305f\u4e8b\u306f\u307b\u3068\u3093\u3069CentOS\u3067\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u306e\u30b5\u30a4\u30c8\u3092\u30d9\u30fc\u30b9\u306b\u898b\u306a\u304c\u3089\u8272\u3005\u3068\u3084\u3063\u3066\u3044\u307e\u3057\u305f\u306d\u3002\u61d0\u304b\u3057\u3044\u3067\u3059\u3002<\/p>\n<p>\u3067\u306f\u9032\u3081\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u304b\u3002Tripwire\u304b\u3089\u9001\u3089\u308c\u3066\u304f\u308b\u30a8\u30e9\u30fc\u306e\u5185\u5bb9\u306f\u3053\u3046\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">### Error: File could not be opened.\r\n ### Filename: \/etc\/&lt;span class=&quot;il&quot;&gt;tripwire&lt;\/span&gt;\/vincentina-&lt;wbr \/&gt;local.key\r\n ### No such file or directory\r\n ### Exiting...\r\n ### Error: File could not be opened.\r\n ### Filename: \/etc\/&lt;span class=&quot;il&quot;&gt;tripwire&lt;\/span&gt;\/vincentina-&lt;wbr \/&gt;local.key\r\n ### No such file or directory\r\n ### Exiting...<\/pre>\n<p>\u57fa\u672c\u7684\u306b\u30e1\u30f3\u30c9\u30af\u30b5\u30ac\u30ea\u30fc\u30bf\u306a\u79c1\u306f mv \u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5909\u66f4\u3057\u3066\u4e0a\u624b\u304f\u52d5\u4f5c\u3059\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u3082\u3061\u308d\u3093\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3068\u3063\u3066\u304b\u3089\u3067\u3059\u3088\u3002<\/p>\n<p>\u3059\u308b\u3068\u3053\u3046\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">&#x5B;root@vincentina]# tripwire --check\r\nParsing policy file: \/etc\/tripwire\/tw.pol\r\n### Error: Policy file does not match policy used to create database.\r\n### Exiting...<\/pre>\n<p>\u8981\u7d04\u3059\u308b\u3068\u624b\u629c\u304d\u306f\u3044\u3051\u306a\u3044\u3088\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30c6\u30ad\u30b9\u30c8\u306f\u7f6e\u3044\u3066\u3044\u305f\u306e\u3067\uff08\u3042\u304b\u3093\u3067\uff09\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u713c\u304d\u76f4\u3057\u3092\u3059\u308c\u3070\u5b9f\u306f\u305d\u308c\u3067\u89e3\u6c7a\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u305f\u3044\u3057\u305f\u6642\u9593\u3082\u304b\u304b\u3089\u306a\u3044\u3067\u3059\u3057\u3001\u3053\u306e\u4f5c\u696d\u306f\u5b9f\u306f\uff12\u56de\u76ee\u3060\u3068\u3044\u3046\u3053\u3068\u3092\u3084\u3063\u305f\u5f8c\u3067\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">&#x5B;root@vincentina]# twadmin -m F -c \/etc\/tripwire\/tw.cfg -S \/etc\/tripwire\/site.key \/etc\/tripwire\/twcfg.txt\r\nPlease enter your site passphrase:\r\nWrote configuration file: \/etc\/tripwire\/tw.cfg<\/pre>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u518d\u69cb\u7bc9\u3057\u307e\u3059\u3002<br \/>\n\u203b\u30dd\u30ea\u30b7\u30fc\u30d5\u30a1\u30a4\u30eb\u6700\u9069\u5316\u30b9\u30af\u30ea\u30d7\u30c8\u306fCentOS\u3067\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">&#x5B;root@vincentina]# tripwire -m i -s -c \/etc\/tripwire\/tw.cfg\r\nPlease enter your local passphrase:<\/pre>\n<p>\u3053\u308c\u3067\u4e0b\u3054\u3057\u3089\u3048\u306f\u7d42\u308f\u308a\u3067\u3059\u3002Tripwire &#8211;check\u304c\u611f\u60f3\u3067\u304d\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">&#x5B;root@vincentina]# tripwire --check\r\nParsing policy file: \/etc\/tripwire\/tw.pol\r\n*** Processing Unix File System ***\r\nPerforming integrity check...\r\nWrote report file: \/var\/lib\/tripwire\/report\/vincentina-20150203-215550.twr\r\n\r\nModified:\r\n&quot;\/root\/.zsh_history&quot;\r\n\r\n===============================================================================\r\nError Report:\r\n===============================================================================\r\n\r\nNo Errors\r\n\r\n-------------------------------------------------------------------------------\r\n*** End of report ***<\/pre>\n<p>OK\u3067\u3057\u305f\u306d\u3002\u3053\u308c\u3067\u591c\u306e\u30d0\u30c3\u30c1\u3082\u554f\u984c\u306a\u3057\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.vincentina.net\/?p=5014\" data-text=\"\u30db\u30b9\u30c8\u540d\u3092\u5909\u66f4\u3059\u308b\u3068Tripwire\u304c\u30a8\u30e9\u30fc\u3092\u5410\u304f\u306e\u3067\u4fee\u6b63\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3088\" data-via=\"TakekenTw\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u30db\u30b9\u30c8\u540d\u3092\u5909\u66f4\u3057\u307e\u3057\u305f\u3002\u7d30\u304b\u304f\u66f8\u304f\u3068 \/etc\/sysconfig\/network \u306b\u8a18\u8ff0\u3057\u3066\u3044\u308b hostname \u306e\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\uff08\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u308c\u3070\uff09\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30a2\u30ec\u3067\u3042\u308a\u3001hostna &hellip; <a href=\"https:\/\/www.vincentina.net\/?p=5014\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u30db\u30b9\u30c8\u540d\u3092\u5909\u66f4\u3059\u308b\u3068Tripwire\u304c\u30a8\u30e9\u30fc\u3092\u5410\u304f\u306e\u3067\u4fee\u6b63\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3088&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[],"class_list":["post-5014","post","type-post","status-publish","format-standard","hentry","category-security"],"_links":{"self":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/5014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5014"}],"version-history":[{"count":2,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/5014\/revisions"}],"predecessor-version":[{"id":8148,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/5014\/revisions\/8148"}],"wp:attachment":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}