<?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/komakomafool/</link>
<atom:link href="https://rssblog.ameba.jp/komakomafool/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>お酒大好き。ラーメン大好き。漫画・アニメ・ゲーム大好き。そんな人間ですが一応SEとかもやってます。</description>
<language>ja</language>
<item>
<title>ASP(レガシー）でHTTPステータスコードを制御する</title>
<description>
<![CDATA[ ASPで作られたシステムで、<br>正しいステータスコードを返そうと思って調べてたら、<br>なかなか見つからなかったのでここに記載しておきます。<br><br>といってもほかの方のブログですが。。。<br><br><br><div style="font-style:italic;font-size:14px;">※ここから引用（<a href="http://d.hatena.ne.jp/cvyan/20070606/1181108586" target="new">社内SEから見た世界</a>）<div style="margin:2px;border:solid 1px gray;font-size:14px;">PHPやASP.NETなんかの情報はたくさんあふれてるんですが、ASPではどうやるの？というと<br>Response.Status = "500 Internal Server Error"<br>例えばこんな↑感じ。<br></div></div><br><br>ほんとそのまんまで、苦労して探した自分が情けない（泣）<br>社内のASP(レガシー）のシステムを駆逐したい。<br><br>
]]>
</description>
<link>https://ameblo.jp/komakomafool/entry-11773045587.html</link>
<pubDate>Sat, 15 Feb 2014 19:51:27 +0900</pubDate>
</item>
<item>
<title>freeFTPDをサービス起動しているのにログオフで止まってしまう。（@Windowsサーバー）</title>
<description>
<![CDATA[ タイトルどおりの現象ですね。<br>freeFTPDサービス起動中のWindowsにログインして、<br>GUIいじってログオフするとサービスが止まってしまう。。。（泣）<br><br>下記の手順で回避できました。<br><br><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">・手順</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　①サービス「freeFTPdService」を停止</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　②「freeFTPd」のGUIを起動</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　③「freeFTPd」のGUIを設定。（</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">SFTPをRunningにしておくこと。）</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　④タスクトレイに入っている「freeFTPd」</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">を右クリックして「quit」</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　⑤サービス「freeFTPdService」を開始</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　⑥logoff</span><br><br><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">・前提条件<br></span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　・freeFTPd v1.0.12</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　・Windows Server 2003</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　・freeFTPd</span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">がWindowsサービスとして動作していること</span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">。</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">　・</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">サービスの実行アカウントがローカルシステムアカウントになって</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">いないこ</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">と。<br></span><br>どうも、サービス起動中にGUIを起動してしまうと、<br>実行アカウントがログインアカウントに移ってしまい発生しているような。。。。<br><br><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">freeFTPd起動サーバーにログインして、<br></span>GUIを起動すると発生する現象なので、要注意です！<br><br><br>
]]>
</description>
<link>https://ameblo.jp/komakomafool/entry-11773031537.html</link>
<pubDate>Mon, 04 Feb 2013 19:20:38 +0900</pubDate>
</item>
<item>
<title>Windows Server 2003でSFTPサーバー構築</title>
<description>
<![CDATA[ <span style="background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal;"></span></span><span style="font-size: 14px;"><span style="background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal;"></span></span><span style="background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal;">Windows Server 2003しかない環境で、</span><br><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal;">SFTPサーバーを構築する必要があったので、</span><br><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal;">簡単に構築方法を調べていたら次のソフトウェアが見つかりました。</span><br></span><h1 style="margin: 0px 0px 4px; padding: 6px 0px 0px;"><a></a><a href="http://www.freesshd.com/" target="_blank" title=""><span style="font-size: 16px;">freeFTPd</span></a><br></h1><span style="background-color: rgb(255, 255, 255);"><br>インストール等は簡単だったのですが、<br>本番運用に問題ないか調べてみたところ、</span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">セキュリティホールが<br>多々報告されていました（泣）<br></span><a></a><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><a></a><a href="http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6067" target="_blank" title="">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6067</a><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">内容としては、</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">　報告日　　　　：2012/12/05</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">　対象バージョン：1.0.11</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">　脆弱性：セキュリティ制限の回避, リモートコード実行, SFTP認証機構エラー</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">らしいです。</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">一応、本家サイトを見ると「1.0.12」が、</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">2013/01/23にリリースされていて、</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">「上記のURLで報告された脆弱性を対応したんで、</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">早くアップデートしてね。」</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">って書いてます。</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">とはいえ、このバージョンを検証した情報も見つからないので、</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);">信じるべきかどうか。<br><br>まぁ今回はIP制限で接続先を限定するので、<br>とりあえずこれを選択しました。<br><br></span><span style="background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: arial, sans-serif; line-height: normal;">今度はCygwinを入れて、</span><span style="font-family: sans-serif; line-height: 22.6560001373291px; background-color: rgb(255, 255, 255);"><a href="http://www.openssh.com/ja/" target="_blank" title="">OpenSSH</a>にチャレンジしたいですね。<br><br><br>おまけ。<br></span></span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><br>freeFTPdをインストールしたときに、</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">サービスに登録されないことがあった。</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">とりあえずコマンドプロンプトより自分で登録した。</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">C:\&gt;sc create freeFTPd binPath= "C:\Program&nbsp;</span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">Files\freeFTPd\</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">freeFTPdService.exe"</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; line-height: normal; background-color: rgb(255, 255, 255);">[SC] CreateService SUCCESS</span><span style="font-size: 14px;"><span style="font-family: sans-serif; line-height: 22.6560001373291px; background-color: rgb(255, 255, 255);"><br></span><span style="font-family: sans-serif; line-height: 22.6560001373291px; background-color: rgb(255, 255, 255);"></span></span><span style="font-family: sans-serif; font-size: 15px; line-height: 22.6560001373291px; background-color: rgb(255, 255, 255);"></span>
]]>
</description>
<link>https://ameblo.jp/komakomafool/entry-11773024783.html</link>
<pubDate>Fri, 01 Feb 2013 18:59:33 +0900</pubDate>
</item>
</channel>
</rss>
