トップ «前の日記(2013-09-12) 最新 次の日記(2013-09-14)» 編集

ヨタの日々

2001|08|09|10|11|12|
2002|01|02|03|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|12|
2024|01|02|03|04|

2013-09-13 :-(

_ 午前

0520 起床

0540 筋トレ

0900 川崎 && マップ

_ 午後

1300 マップ

_

1800 退勤

_ [NetBSD][pf]NetBSD pf でのフィルターを追加してみた

ファイアーウォール用のルール(東アジアフィルター)

apache で deny from とかヌルいので、pf で弾く。

死ぬがよい。

mkdir /etc/pf_rules
cd /etc/pf_rules
wget http://www.dayomon.net/fw/iprange.txt

/etc/pf.conf に追加。

table <spam> persist file "/etc/pf_rules/iprange.txt"
block in on $ext_if from <spam> to any

_ [WinSCP]WinSCP の .NET アセンブリを使う

WinSCP .NET Assembly and COM Library :: WinSCP

インストール

手順通り。

Downloading and Installing WinSCP .NET Assembly :: WinSCP

  1. WinSCP 本体をインストール ( C:\Program Files\WinSCP )
  2. WinSCP :: Download から .NET assembly / COM library をダウンロード
  3. 展開
  4. WinSCP.dll を C:\Program Files\WinSCP へコピー

.NET プロジェクトから使う

  1. Visual C# 2010 Expressとかを使う
  2. プロジェクトを作成する
  3. メニュー - プロジェクト - 参照の追加 - 参照 - C:\Program Files\WinSCP\WinSCP.dll を選択

あとはサンプルコードどおり WinSCP .NET Assembly and COM Library :: WinSCP - Examples

SessionOptions::SshHostKeyFingerprint も忘れずに。