<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>ひかるのブログ</title>
<link>https://ameblo.jp/hikaruhro/</link>
<atom:link href="https://rssblog.ameba.jp/hikaruhro/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>自伝です。たぶん！</description>
<language>ja</language>
<item>
<title>LDAPとは②</title>
<description>
<![CDATA[ OpenLDAPインストール<br>openldap:基本<br>openldap-servers:サーバー機能<br>openldap-clients:管理ツール<br><br>使用可能にするには<br>/etc/openldap/sldap.conf を編集。<br><br>識別名、管理用識別名、暗号化パスワードを記載する。<br>suffix "dc=mydomain,dc=com"<br>rootdn "cn=hikaru,dc=mydomain,dc=com"<br>rootpw ｛crypt｝暗号化パスワード<br><br>暗号化パスワードの作成方法<br>openssl passwd<br><br>起動コマンド:<br>/etc/init.d/ldap start<br><br>停止コマンド:<br>/etc/init.d/ldap stop
]]>
</description>
<link>https://ameblo.jp/hikaruhro/entry-12501607141.html</link>
<pubDate>Mon, 05 Aug 2019 00:54:29 +0900</pubDate>
</item>
<item>
<title>LDAPとは①</title>
<description>
<![CDATA[ Lightweight Directory Access Protocol。<br>プロトコル。<br>ディレクトリサービスを提供。<br><br>ポートは389。<br>SSL版のLDAPSは636。<br><br>構成単位はエントリ。<br>エントリには属性が含まれる。<br>属性タイプ=属性値 で示す。<br>エントリはツリー構造になる。<br><br>例)<br>uid=hikaru, ou=ameba ,dc=co, dc=jp<br><br> uid:ユーザーID<br> ou:組織単位<br> dc:ドメイン構成要素
]]>
</description>
<link>https://ameblo.jp/hikaruhro/entry-12501605798.html</link>
<pubDate>Mon, 05 Aug 2019 00:43:26 +0900</pubDate>
</item>
<item>
<title>SELinuxとは⑤</title>
<description>
<![CDATA[ Type Transitionルールの例。<br><br>httpdプロセスのドメインが"httpd_t"。<br>なぜか。<br><br>httpdの実行ファイル/usr/sbin/httpdの<br>ファイルのタイプは httpd_exec_t 。<br><br>ファイルのタイプ確認:<br>[root@localhost ~]# ls -Z /usr/sbin/httpd<br>-rwxr-xr-x. root root system_u:object_r:httpd_exec_t:s0 /usr/sbin/httpd<br><br>Type Transitionルール確認:<br>[root@localhost ~]# sesearch --type | grep httpd_exec_t<br>type_transition init_t httpd_exec_t : process httpd_t;<br><br>init_t というドメインにいるプロセスが <br>httpd_exec_t タイプの実行ファイルを起動。<br>そのプロセスは httpd_t ドメインに遷移。<br>という意味。
]]>
</description>
<link>https://ameblo.jp/hikaruhro/entry-12496132807.html</link>
<pubDate>Sat, 20 Jul 2019 20:23:58 +0900</pubDate>
</item>
<item>
<title>SELinuxとは④</title>
<description>
<![CDATA[ Access Vectorルールの例。<br><br>/var/www配下のファイル等は<br>"httpd_sys_content_t" タイプ。<br><br>ファイルLabelingルール確認:<br>※ls -Zコマンドでも良い<br>[root@localhost ~]# semanage fcontext -l | grep /var/www | more<br>/var/www(/.*)?                                     all files          system_u:object_r:httpd_sys_content_t:s0<br><br>ドメイン確認:<br>[root@localhost ~]# ps auxZ | grep httpd_t<br>system_u:system_r:httpd_t:s0    root      1526  0.0  0.1 224024  5024 ?        Ss   23:51   0:00 /usr/sbin/httpd -DFOREGROUND<br><br>httpd_t というドメインからhttpd_sys_content_t というタイプには<br>どのような操作を許可されているか。<br><br>Type Enforcementルール確認:<br>[root@localhost ~]# sesearch --allow | grep "allow httpd_t httpd_sys_content_t "<br><br>結果:<br>以下の4つを許可。<br>   allow httpd_t httpd_sys_content_t : dir { ioctl read getattr lock search open } ;<br>   allow httpd_t httpd_sys_content_t : lnk_file { read getattr } ;<br>   allow httpd_t httpd_sys_content_t : file { ioctl read getattr lock open } ;<br>   allow httpd_t httpd_sys_content_t : dir { ioctl read write getattr lock add_name remove_name search open } ;
]]>
</description>
<link>https://ameblo.jp/hikaruhro/entry-12496132414.html</link>
<pubDate>Sat, 20 Jul 2019 20:21:45 +0900</pubDate>
</item>
<item>
<title>SELinuxとは③</title>
<description>
<![CDATA[ 主要なポリシールールは大きく2種類。<br><br>1つはType Enforcementルールで<br>Access VectorやType Transitionルール。<br><br>アクセス制御を記載。<br><br>確認コマンド:<br>sesearch --all<br><br>もう1つはLabelingルールで<br>ファイルやネットワークLabelingルール。<br><br>ファイルやTCP/UDPポート番号と<br>コンテキストを紐づける。<br><br>ファイルLabelingルール確認コマンド:<br>semanage fcontext -l<br><br>ネットワークLabelingルール確認コマンド:<br>semanage port -l
]]>
</description>
<link>https://ameblo.jp/hikaruhro/entry-12496131696.html</link>
<pubDate>Sat, 20 Jul 2019 20:20:09 +0900</pubDate>
</item>
<item>
<title>SELinuxとは②</title>
<description>
<![CDATA[ コンテキストとはラベルを付け。<br>種類は以下。<br>・プロセス:Source Context(scontext)<br>・ファイル等:Target Context(tcontext)<br><br>コンテキストのフォーマットは<br>User:Role:Type/Domain:Sensitivity range <br><br>3つ目の属性は <br>Source Contextのときはドメインと呼ぶ<br>Target Context のときタイプと呼ぶ<br><br>targetedポリシーは、<br>コンテキストの中でも3つ目の属性である<br>"タイプ/ドメイン" のみを取り扱う。
]]>
</description>
<link>https://ameblo.jp/hikaruhro/entry-12496126735.html</link>
<pubDate>Sat, 20 Jul 2019 19:58:19 +0900</pubDate>
</item>
<item>
<title>SELinuxとは①</title>
<description>
<![CDATA[ セキュアOS。<br>カーネル2.6から標準装備。<br><br>デフォルトのポリシーは、<br>インストールで有効にした場合、<br>targetedポリシー採用。<br><br>強力なstrictポリシーなどもある。<br>インストールと設定変更が必要。<br>(操作は省略)<br><br><br>状態確認コマンド:<br>/usr/sbin/sestatus<br><br>結果:<br>SELinux status:                 enabled<br>SELinuxfs mount:                /selinux<br>Current mode:                   enforcing<br>Mode from config file:          enforcing<br>Policy version:                 23<br>Policy from config file:        targeted<br><br>SELinuxステータス有効化コマンド:<br>/sbin/fixfiles relabel<br><br>SELinuxモード変更コマンド:<br>/usr/sbin/setenforce 0警告または1有効<br><br>設定ファイル:<br>/etc/sysconfig/selinux
]]>
</description>
<link>https://ameblo.jp/hikaruhro/entry-12496126458.html</link>
<pubDate>Sat, 20 Jul 2019 19:56:11 +0900</pubDate>
</item>
<item>
<title>TCP Wrapqer</title>
<description>
<![CDATA[ TCP Wrapqerはアクセス制御を行う機能。<br><br>設定ファイルは2種類あり、<br>hosts.allow、hosts.denyの順に参照。<br><br>各設定ファイルには、<br>サービス名: IP<br>のフォーマットで記載。<br><br>hosts.allowに一致する設定があれば、<br>許可して終了。<br><br>一致しなければ、hosts.denyを参照。<br><br>hosts.denyに記載がなければ許可される。<br>必ずALL: ALL を設定しておく。<br><br>編集後に再起動は不要、即時反映。<br><br>ログは、<br>/var/log/messages に出力される。
]]>
</description>
<link>https://ameblo.jp/hikaruhro/entry-12495913524.html</link>
<pubDate>Sat, 20 Jul 2019 08:46:26 +0900</pubDate>
</item>
<item>
<title>自分の欠点を自己演出</title>
<description>
アメンバー限定公開記事です。
</description>
<link>https://ameblo.jp/hikaruhro/amemberentry-10442746698.html</link>
<pubDate>Mon, 25 Jan 2010 21:16:21 +0900</pubDate>
</item>
<item>
<title>カップリングパーティ３回目</title>
<description>
<![CDATA[ <p>今週は、カップリングパーティに参加する</p><p>予定はなかったのですが、勧誘の電話が</p><p>かかってきました。</p><p><br>特に予定がなかったので、急遽参加。<br></p><p>今回は、女性も有料のパーティにしました。</p><br><p>有料だと、冷やかしがいないような感覚を</p><p>得ました。</p><p><br>今回の女性の参加者は、32名。<br>前回からの累計、67名と知り合いました。</p><br><p>3名から、第一印象OKのサインが出ました。</p><br><p>その中に、僕の目当ての娘も入ってました。</p><br><p>なので、フリータイムで積極的に話して</p><p>みました。</p><br><p>そして、カップルの発表です。</p><p>感触が良かったのですが、指名されません</p><p>でした。</p><br><p>うーん。</p>
]]>
</description>
<link>https://ameblo.jp/hikaruhro/entry-10441960299.html</link>
<pubDate>Sat, 23 Jan 2010 21:58:32 +0900</pubDate>
</item>
</channel>
</rss>
