[#15357] Regexp literal and Regexp.new() — TAKAHASHI Masayoshi <maki@...>

高橋征義です。

14 messages 2001/12/05
[#15358] Regexp in UTF-8 (Re: Regexp literal and Regexp.new()) — TAKAHASHI Masayoshi <maki@...> 2001/12/05

高橋征義です。むーん、問題のありかが違ったかも。

[#15435] Time#utcoff — Tanaka Akira <akr@...17n.org>

In article <hvosnahj702.fsf@coulee.a02.aist.go.jp>,

20 messages 2001/12/13
[#15436] Re: Time#utcoff — matz@... (Yukihiro Matsumoto) 2001/12/14

まつもと ゆきひろです

[#15505] ERb — m_seki@...

74 messages 2001/12/20
[#15560] Re: ERb — Tanaka Akira <akr@...17n.org> 2001/12/27

In article <20011220114249J.seki@mr.nasu.toshiba.co.jp>,

[#15879] Re: ERb — m_seki@... 2002/02/12

[#15884] Re: ERb — Tanaka Akira <akr@...17n.org> 2002/02/14

In article <m3eljr5o9m.wl@edwin.mva.biglobe.ne.jp>,

[#15885] Re: ERb — m_seki@... 2002/02/14

[#15886] Re: ERb — m_seki@... 2002/02/14

[#15887] Re: ERb — TAKAHASHI Masayoshi <maki@...> 2002/02/14

高橋征義です。

[#15888] Re: ERb — m_seki@... 2002/02/14

[#15896] Re: ERb — Tanaka Akira <akr@...17n.org> 2002/02/15

In article <20020215085405G.seki@mr.nasu.toshiba.co.jp>,

[#15898] Re: ERb — m_seki@... 2002/02/15

[#15900] Re: ERb — TADA Tadashi <sho@...> 2002/02/16

ただただしです。

[#15901] Re: ERb — m_seki@... 2002/02/16

[#15906] Re: ERb — matz@... (Yukihiro Matsumoto) 2002/02/17

まつもと ゆきひろです

[#15909] 1.6 の寿命 (Re: Re: ERb) — Koji Arai <JCA02266@...> 2002/02/17

新井です。

[#15507] fileutils (2) — Minero Aoki <aamine@...>

あおきです。

30 messages 2001/12/20
[#15512] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/20

高橋征義です。

[#15513] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/21

あおきです。

[#15515] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/21

高橋征義です。結論は最後に。

[#15516] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/21

あおきです。

[#15533] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/22

高橋征義です。

[#15536] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/24

あおきです。

[#15540] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/24

高橋征義です。

[#15545] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/24

あおきです。

[#15557] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/26

高橋征義です。

[#15567] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/27

あおきです。

[#15573] [patch] resolv.rb for win32 platform — Tietew <tietew-ml-ruby-dev@...>

Tietew です。

22 messages 2001/12/28

[ruby-dev:15602] Net::FTP: ftp anonymous password (PR#223)

From: "Akinori MUSHA" <knu@...>
Date: 2001-12-29 16:09:58 UTC
List: ruby-dev #15602
 メールがエラーで弾かれるそうなので、転送します。

At Sat, 29 Dec 2001 16:03:23 +0000,
eperez@dei.inf.uc3m.es wrote:
> From: eperez@dei.inf.uc3m.es
> Date: Sun, 30 Dec 2001 00:48:31 +0900 (JST)
> Subject: Net::FTP: ftp anonymous password (PR#223)
> To: bugs-admin@ruby-lang.org
> Cc: ruby-bugs@ruby-lang.org
> Message-Id: <20011229154831.2F8A11EE@helium.ruby-lang.org>
> 
> 
> --ZPt4rx8FFjLCG7dd
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> I've seen that Net::FTP sends the user name when doing ANONYMOUS ftp gets.
> I see a lot of problems:
> - Sending the user name if the user doesn't know that it's sent doesn't protect the user state of ANONYMOUS
> - Spyware is not a good idea, most users don't like it.
> - Sending the user name helps SPAM instead of stopping it. Many ftp sites use this information to send you unsolicited email.
> - Sending the user name doesn't help ftp sites to know who the cracker is, crackers are not stupid to send their email address.
> - Sending the user name can be used to discriminate the user.
> 
> By all of these reasons I argue that Net::FTP to don't
> send the user email by default.
> 
> Some time ago two very important ftp clients wget and
> lftp stopped sending the user name as password based on
> my input.
> 
> As more and more ftp clients are moving to this
> anonymous@ password (for example the kde kio ftp, qt3,
> gnome-xml, perl's Net::FTP, python's ftplib.py)
> I recommend you to apply the patch.
> 
> I send you the bugfix.
> 
> --ZPt4rx8FFjLCG7dd
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename="ruby1.6-netftp-nospam.diff"
> 
> --- ruby/1.6/net/ftp.rb.orig	Wed Dec 26 13:54:34 2001
> +++ ruby/1.6/net/ftp.rb	Sat Dec 29 10:56:33 2001
> @@ -215,25 +215,16 @@
>      end
>      private :transfercmd
>      
> -    def getaddress
> -      thishost = Socket.gethostname
> -      if not thishost.index(".")
> -	thishost = Socket.gethostbyname(thishost)[0]
> -      end
> -      if ENV.has_key?("LOGNAME")
> -	realuser = ENV["LOGNAME"]
> -      elsif ENV.has_key?("USER")
> -	realuser = ENV["USER"]
> -      else
> -	realuser = "anonymous"
> -      end
> -      return realuser + "@" + thishost
> -    end
> -    private :getaddress
> -    
>      def login(user = "anonymous", passwd = nil, acct = nil)
>        if user == "anonymous" and passwd == nil
> -	passwd = getaddress
> +	# If there is no anonymous ftp password specified
> +	# then we'll just use anonymous@
> +	# We don't send any other thing because:
> +	# - We want to remain anonymous
> +	# - We want to stop SPAM
> +	# - We don't want to let ftp sites to discriminate by the user,
> +	#   host or country.
> +	passwd = "anonymous@"
>        end
>        
>        resp = ""
> 
> --ZPt4rx8FFjLCG7dd--

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Somewhere out of a memory.. of lighted streets on quiet nights.."

In This Thread

Prev Next