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

Friday December 12 2014 08:41, Pavel Gulchouck wrote to Tommi Koivula:

 >>> 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.

Hello!

Binkd versions tested:

D:\binkd>63.exe -vv

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

D:\binkd>65.exe -vv

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

Proxy set in binkd conf:

 Proxy 192.168.1.2:3128

From the proxy log using -63:

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

From the proxy log using -65:

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

And the log using -63 and -65:

=== Begin test.log ===

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

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

'Tommi

--- GoldED+/EMX 1.1.5-b20130111
* Origin: * RBB * Lake Ylo * Finland * (2:221/360)

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™.