TIP: Click on subject to list as thread! ANSI
echo: binkd
to: TOMMI KOIVULA
from: PAVEL GULCHOUCK
date: 2014-12-13 22:10:00
subject: Proxy port error

Hi Tommi!

Thank you for the report!
I'll try to reproduce and investigate this issue.

13 Dec 14, Tommi Koivula ==> Pavel Gulchouck:

 >>>> 2014/09/21 14:59:39 1.1a-65 gul
 >>>> binkd.c,2.119,2.120
 >>>> Fixed broken iport/oport in config on win32
 PG>>
 TK>>> I just noticed that when using proxy (squid) for outbound calls,
 TK>>> the target port is always 443 and the call fails.
 PG>>
 TK>>> This doesn't happen with -63 and older.
 PG>>
 TK>>> Something to do with the fix above?
 PG>>
 PG>> I cannot reproduce this, outbound calls OK via proxy to any port
 PG>> (permitted on proxy). Please give more information: full version,
 PG>> related configuration and log.

 TK> Hello!

 TK> Binkd versions tested:

 D:\binkd>> 63.exe -vv

 TK> Binkd 1.1a-63 (Nov 28 2014 16:52:24/OS2)
 TK> Compilation flags: gcc (klibc), zlib, bzlib2, https, ntlm,
amiga_4d_outbound, bwlim.
 TK> Facilities: fsp1035 rfc2553emu

 D:\binkd>> 65.exe -vv

 TK> Binkd 1.1a-65 (Nov 29 2014 01:00:14/OS2)
 TK> Compilation flags: gcc (klibc), zlib, bzlib2, https, ntlm,
amiga_4d_outbound, bwlim.
 TK> Facilities: fsp1035 rfc2553emu

 TK> Proxy set in binkd conf:

 TK>  Proxy 192.168.1.2:3128

 TK> From the proxy log using -63:

 TK>  2014-12-13 12:10:09.070 00000002 Request: f854.n292.z2.binkp.net:24554/
 TK>  2014-12-13 12:10:09.070 00000003 Request: f0.n203.z2.binkp.net:24554/

 TK> From the proxy log using -65:

 TK>  2014-12-13 12:10:29.350 00000002 Request: f0.n203.z2.binkp.net/
 TK>  2014-12-13 12:10:29.460 00000002 Crunch: Connection failure:
f0.n203.z2.binkp.net

 TK> And the log using -63 and -65:

 TK> === Begin test.log ===

 TK>   13 Dec 14:20:45 [11408] BEGIN, binkd/1.1a-63/OS2 -pP 203/0 test.cfg
 TK>   13 Dec 14:20:45 [11408] creating a poll for 2:203/0@fidonet (`d'
flavour)
 TK>   13 Dec 14:20:45 [11408] clientmgr started
 TK>   13 Dec 14:20:46 [11409] created d:\xenia\outbound\00cb0000.csy
 TK>   13 Dec 14:20:46 [11408] started client #1, id=11409
 TK> + 13 Dec 14:20:46 [11409] call to 2:203/0@fidonet
 TK>   13 Dec 14:20:46 [11409] trying f0.n203.z2.binkp.net via proxy
192.168.1.2:3128...
 TK>   13 Dec 14:20:46 [11409] connected
 TK>   13 Dec 14:20:46 [11409] connected to proxy 192.168.1.2:3128
 TK>   13 Dec 14:20:46 [11409] binkp init done, socket # is 5
 TK> + 13 Dec 14:20:46 [11409] outgoing session with ossi.localnet
[192.168.1.2]
 TK>   13 Dec 14:20:46 [11409] send message NUL SYS f0.n221.z2.binkp.net
 TK>   13 Dec 14:20:46 [11409] send message NUL ZYZ Tommi Koivula
 TK>   13 Dec 14:20:46 [11409] send message NUL LOC Lake Ylo, Finland
 TK>   13 Dec 14:20:46 [11409] send message NUL NDL IBN,ICM
 TK>   13 Dec 14:20:46 [11409] send message NUL TIME Sat, 13 Dec 2014 14:20:46
+0200
 TK>   13 Dec 14:20:46 [11409] send message NUL VER binkd/1.1a-63/OS2 binkp/1.1
 TK>   13 Dec 14:20:46 [11409] send_ADR(): got 0 remote addresses
 TK>   13 Dec 14:20:46 [11409] send message ADR  2:221/360@fidonet
2:221/361@fidonet 2:221/0@fidonet 2:221/1@fidonet
 TK> 2:22/0@fidonet 2:22/999@fidonet
 TK>   13 Dec 14:20:46 [11409] send message NUL OPT NDA EXTCMD CRYPT GZ BZ2
 TK>   13 Dec 14:20:46 [11409] touched d:\xenia\outbound\00cb0000.csy
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 27
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 20
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 24
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 14
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 39
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 34
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 103
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 30
 TK>   13 Dec 14:20:46 [11409] sending 291 byte(s)
 TK>   13 Dec 14:20:46 [11409] send() done, rc=291
 TK>   13 Dec 14:20:46 [11409] data sent
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 59 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 59 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg NUL OPT ENC-DES-CBC
CRAM-MD5-b5fa5f76ba718464fb37f93239221df2
 TK> - 13 Dec 14:20:46 [11409] OPT ENC-DES-CBC
CRAM-MD5-b5fa5f76ba718464fb37f93239221df2
 TK> + 13 Dec 14:20:46 [11409] Remote requests MD mode
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 22 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 22 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg NUL SYS West Swedish Net
 TK> - 13 Dec 14:20:46 [11409] SYS West Swedish Net
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 18 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 18 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg NUL ZYZ Bj÷rn Felten
 TK> - 13 Dec 14:20:46 [11409] ZYZ Bj÷rn Felten
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 16 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 16 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg NUL LOC Gothenburg
 TK> - 13 Dec 14:20:46 [11409] LOC Gothenburg
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 20 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 20 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg NUL PHN 90.231.158.147
 TK> - 13 Dec 14:20:46 [11409] PHN 90.231.158.147
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 31 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 31 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg NUL NDL MO,CM,TCP,IFC,TEL,VMP,BND
 TK> - 13 Dec 14:20:46 [11409] NDL MO,CM,TCP,IFC,TEL,VMP,BND
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 38 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 38 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg NUL TIME Sat, 13 Dec 2014 12:20:44
+0100
 TK> - 13 Dec 14:20:46 [11409] TIME Sat, 13 Dec 2014 12:20:44 +0100
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 30 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 30 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg NUL VER Tedious/3.211/ binkp/1.0
 TK> - 13 Dec 14:20:46 [11409] VER Tedious/3.211/ binkp/1.0
 TK>   13 Dec 14:20:46 [11409] remote uses binkp v.1.0
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 78 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 78 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg ADR 2:203/0@fidonet 2:203/2@fidonet
2:20/0@fidonet 2:2/2@fidonet 2:203/1@fidonet
 TK>   13 Dec 14:20:46 [11409] created d:\xenia\outbound\00cb0000.bsy
 TK> + 13 Dec 14:20:46 [11409] addr: 2:203/0@fidonet
 TK>   13 Dec 14:20:46 [11409] created d:\xenia\outbound\00cb0002.bsy
 TK> + 13 Dec 14:20:46 [11409] addr: 2:203/2@fidonet
 TK>   13 Dec 14:20:46 [11409] created d:\xenia\outbound\00140000.bsy
 TK> + 13 Dec 14:20:46 [11409] addr: 2:20/0@fidonet
 TK>   13 Dec 14:20:46 [11409] created d:\xenia\outbound\00020002.bsy
 TK> + 13 Dec 14:20:46 [11409] addr: 2:2/2@fidonet
 TK>   13 Dec 14:20:46 [11409] created d:\xenia\outbound\00cb0001.bsy
 TK> + 13 Dec 14:20:46 [11409] addr: 2:203/1@fidonet
 TK>   13 Dec 14:20:46 [11409] Session send rate limit is - cps or 100%
 TK>   13 Dec 14:20:46 [11409] Session recv rate limit is - cps or 100%
 TK>   13 Dec 14:20:46 [11409] send message NUL TRF 0 0
 TK>   13 Dec 14:20:46 [11409] send message PWD
CRAM-MD5-330f8961bb0c9281c1b6c4b17c94deca
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 10
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 44
 TK>   13 Dec 14:20:46 [11409] sending 54 byte(s)
 TK>   13 Dec 14:20:46 [11409] send() done, rc=54
 TK>   13 Dec 14:20:46 [11409] data sent
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 1 (msg)
 TK>   13 Dec 14:20:46 [11409] got block: 1 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg OK
 TK>   13 Dec 14:20:46 [11409] removing flo: d:\xenia\outbound\00cb0000.dlo
 TK>   13 Dec 14:20:46 [11409] unlinked `d:\xenia\outbound\00cb0000.dlo'
 TK>   13 Dec 14:20:46 [11409] send message EOB
 TK>   13 Dec 14:20:46 [11409] recvd hdr: 1 (msg)
 TK>   13 Dec 14:20:46 [11409] put next msg to obuf, 3
 TK>   13 Dec 14:20:46 [11409] got block: 1 (msg)
 TK>   13 Dec 14:20:46 [11409] rcvd msg EOB
 TK>   13 Dec 14:20:46 [11409] sending 3 byte(s)
 TK>   13 Dec 14:20:46 [11409] send() done, rc=3
 TK>   13 Dec 14:20:46 [11409] data sent
 TK>   13 Dec 14:20:46 [11409] there were 2 msgs in this batch
 TK> + 13 Dec 14:20:46 [11409] done (to 2:203/0@fidonet, OK, S/R: 0/0 (0/0
bytes))
 TK>   13 Dec 14:20:46 [11409] processing kill list
 TK>   13 Dec 14:20:46 [11409] unlinked `d:\xenia\outbound\00cb0000.bsy'
 TK>   13 Dec 14:20:46 [11409] unlinked `d:\xenia\outbound\00cb0002.bsy'
 TK>   13 Dec 14:20:46 [11409] unlinked `d:\xenia\outbound\00140000.bsy'
 TK>   13 Dec 14:20:46 [11409] unlinked `d:\xenia\outbound\00020002.bsy'
 TK>   13 Dec 14:20:46 [11409] unlinked `d:\xenia\outbound\00cb0001.bsy'
 TK>   13 Dec 14:20:46 [11409] binkp deinit done...
 TK>   13 Dec 14:20:46 [11409] session closed, quitting...
 TK>   13 Dec 14:20:46 [11409] unlinked `d:\xenia\outbound\00cb0000.csy'
 TK>   13 Dec 14:20:46 [11409] exitfunc()
 TK>   13 Dec 14:20:46 [11409] bsy_remove_all: done
 TK>   13 Dec 14:20:46 [11408] rc(11409)=0
 TK>   13 Dec 14:20:46 [11408] the queue is empty, quitting...
 TK>   13 Dec 14:20:46 [11408] downing clientmgr...
 TK>   13 Dec 14:20:46 [11408] exitfunc()
 TK>   13 Dec 14:20:46 [11408] bsy_remove_all: done

 TK>   13 Dec 14:20:51 [11410] BEGIN, binkd/1.1a-65/OS2 -pP 203/0 test.cfg
 TK>   13 Dec 14:20:51 [11410] creating a poll for 2:203/0@fidonet (`d'
flavour)
 TK>   13 Dec 14:20:51 [11410] clientmgr started
 TK>   13 Dec 14:20:51 [11411] created d:\xenia\outbound\00cb0000.csy
 TK>   13 Dec 14:20:51 [11410] started client #1, id=11411
 TK> + 13 Dec 14:20:51 [11411] call to 2:203/0@fidonet
 TK>   13 Dec 14:20:51 [11411] trying f0.n203.z2.binkp.net via proxy
192.168.1.2:3128...
 TK>   13 Dec 14:20:51 [11411] connected
 TK>   13 Dec 14:20:51 [11411] connected to proxy 192.168.1.2:3128
 TK> + 13 Dec 14:20:52 [11411] Connection rejected by proxy (HTTP/1.0 503
Connect failed)
 TK>   13 Dec 14:20:52 [11411] trying 90-231-158-147-no236.tbcn.telia.com via
proxy 192.168.1.2:3128...
 TK>   13 Dec 14:20:52 [11411] connected
 TK>   13 Dec 14:20:52 [11411] connected to proxy 192.168.1.2:3128
 TK> + 13 Dec 14:20:52 [11411] Connection rejected by proxy (HTTP/1.0 503
Connect failed)
 TK>   13 Dec 14:20:52 [11411] unlinked `d:\xenia\outbound\00cb0000.csy'
 TK>   13 Dec 14:20:52 [11411] exitfunc()
 TK>   13 Dec 14:20:52 [11411] bsy_remove_all: done
 TK>   13 Dec 14:20:52 [11410] rc(11411)=0
 TK>   13 Dec 14:20:52 [11410] the queue is empty, quitting...
 TK>   13 Dec 14:20:52 [11410] downing clientmgr...
 TK>   13 Dec 14:20:52 [11410] exitfunc()
 TK>   13 Dec 14:20:52 [11410] bsy_remove_all: done
 TK> === End test.log ===

              Lucky carrier,
                           Pavel
                           aka  gul@gul.kiev.ua
--- GoldED+/LNX 1.1.5
* Origin: II:CDLXIII/LXVIII (2:463/68)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.