Article delegate-en/3419 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A3418@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: pop3 and pop3s proxy with filtered access
25 Jul 2006 01:14:13 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A3418@delegate-en.ML_> on 07/25/06(01:35:12)
you Nikolaus Filus <pgmgqbdyi-hugik5tdznxr.ml@ml.delegate.org> wrote:
...
 |07/24 18:32:08.80 [30476] 2+0: -- Fork(FSV): 30474 -> 30476
...
 |07/24 18:32:08.81 [30474] 2+0: POP S-D: SW07/24 18:32:08.81 [30474] 2+0:
 |willSTLS_SV: ServerFlags=603B0
...
 |07/24 18:32:08.81 [30474] 2+0: disconnected [18] -@[127.0.0.1]localhost:45487
 |(0.087s)(0)
 |07/24 18:32:08.81 [30475] 2+0: PollIns.POLLHUP (15) errno=0
 |07/24 18:32:08.81 [30475] 2+0: PollIns.POLLHUP (15) errno=0
 |07/24 18:32:08.82 [30476] 2+0: ## SSLway ## 0.011633 connected/accepted
 |07/24 18:32:08.82 [30476] 2+0: abort: caught SIGPIPE

Hmm... something strange seems happening possibly in the SSL level.
The SSLway for the server seems returning a string (inlcuding) "SW"
(at "POP S-D:" in the log) before it finish SSL negotiation with the
server.  It will help us to see what is logged with the following test:

  % delegated -P9999 FSV="sslway -vd" SERVER=pop3s://pops-server
  % telnet localhost 9999 

I did it on my host and got the log as this:

07/25 09:43:32.31 [2310] 1+0: -- Fork(OnetimeServer): 2308 -> 2310
07/25 09:43:32.32 [2310] 1+0: (0) accepted [29] -@[127.0.0.1]localhost:61273 (0.014s)(1)
07/25 09:43:32.33 [2310] 1+0: PATH: pop3s://localhost:995!localhost:9999!localhost:61273!anonymous@localhost;1153788212
07/25 09:43:32.34 [2310] 1+0: ConnectToServer: DFLT=pop3s://localhost:995 REAL=://:0
07/25 09:43:32.34 [2310] 1+0: ConnectToServer connected [9] {127.0.0.1:995 <- 127.0.0.1:61274} [0.001s]
07/25 09:43:32.35 [2310] 1+0: willSTLS_SV: ServerFlags=10
07/25 09:43:32.47 [2313] 1+0: -- Fork(FSV): 2310 -> 2313
07/25 09:43:32.47 [2313] 1+0: ## SSLway CFI_TYPE=FSV: -co is assumed
07/25 09:43:32.47 [2313] 1+0: ## SSLway start
07/25 09:43:32.55 [2313] 1+0: ## SSLway connected
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.000026 start
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.000044 init done
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.000368 begin args
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.000370 end args
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.000764 end rand_seed
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.000969 nodelay set
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.000970 start con/acc
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.052201 ssl_conn() start
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.052282 before connect
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.078212 after connect
07/25 09:43:32.55 [2313] 1+0: ## SSLway -- 0.078420 start relay ...
07/25 09:43:32.55 [2313] 1+0: ## SSLway server's cert. = **subject<</O=Internet/OU=DeleGate Users/CN=Anonymous User/emailAddress=anonymous@id.delegate.org>> **issuer<</C=JP/ST=Ibaraki/L=Tsukuba/O=The DeleGate Project/OU=Author/CN=Yutaka Sato/emailAddress=author@delegate.org>>
07/25 09:43:32.57 [2310] 1+0: POP S-D: +OK POP3 xxxxxx xxxxx.xxxx server ready^M
07/25 09:43:32.57 [2310] 1+0: willSTLS_SV: ServerFlags=210
07/25 09:43:32.57 [2313] 1+0: ## SSLway S-C: 41/41 -> 41
07/25 09:43:44.62 [2313] 1+0: ## SSLway C-S: 6/6 -> 6/SSL
...

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V