hns - 日記自動生成システム - Version 2.19.7

void GraphicWizardsLair( void ); //

otsune GWL
FreeBSD, AfterEffects, RETAS, animo, DigitalAnime, Linux, Mac OS, Win2k

[Who is otsune?] [title] [message] [Policy] [注目エントリー] [top]
Twitter Status :


Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい

検索式:

先月 2003年02月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28


2003年02月19日(水) [長年日記]

#11 [work][unix] proxy.pac設定

ftpはDIRECTにするとnatdで行けたかなぁ、とおもって修正。
どっちかというと、ipfwで刺さっていたのが原因臭いのだが。
function FindProxyForURL(url,host)
{
        if ( ( isPlainHostName( host )                     )    ||
                ( isInNet(host, "192.168.ほげ.0", "255.255.255.0") )    ||
                ( url.substring(0,4)=="ftp:" ) ||
                ( shExpMatch( url, "http://127.0.0.1*"      ) )    ||
                ( shExpMatch( url, "http://localhost*"      ) ) )   {
                return "DIRECT";
        }
        else {
                return "PROXY 192.168.ほげ.1:3128; DIRECT";
        }
}
検索で プロバイダ各社の proxy autoconfig を比較してみる_ という微妙に渋いスレが引っ掛かった。
Permalink: http://www.otsune.com/diary/2003/02/19/11.html#2003021911
trackback
このエントリーを含むはてなブックマーク del.icio.us livedoor Clip View blog reactions
Last Updated 2003-02-19 00:00:00 By otsune