[pkg-firebird-general] fb2-ss 1.5.3.4870-8: "connection rejected
for" problem
Damyan Ivanov
dam at modsoftsys.com
Fri Jun 16 09:55:10 UTC 2006
Ilja Marchew wrote:
> Remote machine is windows with IBexpert; but according to network
> data, denial happens before any user/password checking:
>
> 11:16:54 sharea:~# ngrep -x -d eth0 '.*' port 3050
> interface: eth0 (192.168.99.0/255.255.255.0)
> filter: (ip or ip6) and ( port 3050 )
> match: .*
> ####
> T 192.168.99.100:1335 -> 192.168.99.16:3050 [AP]
> 00 00 00 01 00 00 00 13 00 00 00 02 00 00 00 1d ................
> 00 00 00 00 00 00 00 08 00 00 00 02 01 00 00 00 ................
> 00 00 00 08 00 00 00 01 00 00 00 02 00 00 00 03 ................
> 00 00 00 00 00 00 00 08 00 00 00 1d 00 00 00 02 ................
> 00 00 00 03 00 00 00 01 00 00 00 09 00 00 00 01 ................
> 00 00 00 02 00 00 00 03 00 00 00 02 00 00 00 09 ................
> 00 00 00 1d 00 00 00 02 00 00 00 03 00 00 00 03 ................
> 00 00 00 0a 00 00 00 01 00 00 00 02 00 00 00 03 ................
> 00 00 00 04 00 00 00 0a 00 00 00 1d 00 00 00 02 ................
> 00 00 00 03 00 00 00 05 00 01 00 0a 00 00 00 01 ................
> 00 00 00 02 00 00 00 03 00 00 00 06 00 01 00 0a ................
> 00 00 00 1d 00 00 00 02 00 00 00 03 00 00 00 07 ................
> ##
> T 192.168.99.16:3050 -> 192.168.99.100:1335 [AP]
> 00 00 00 04 ....
>
> (that's the only packets)
>
> ..and yes, my shame: isql-fb from another linux machine connects just
> fine, but first incoming packet contains hostname and username of
> client machine/user, only second incoming packet contains DB
> username/password pair:
>
> 16:35:43 sharea:~# ngrep -x -d eth0 '.*' port 3050
> interface: eth0 (192.168.99.0/255.255.255.0)
> filter: (ip or ip6) and ( port 3050 )
> match: .*
> ####
> T 192.168.99.17:34506 -> 192.168.99.16:3050 [AP]
> 00 00 00 01 00 00 00 13 00 00 00 02 00 00 00 24 ...............$
> 00 00 00 22 2f 76 61 72 2f 6c 69 62 2f 66 69 72 ..."/var/lib/fir
> 65 62 69 72 64 32 2f 64 61 74 61 2f 69 73 39 39 ebird2/data/is99
> 31 36 2e 67 64 62 00 00 00 00 00 02 00 00 00 13 16.gdb..........
> 01 04 61 63 63 6f 04 09 70 74 73 69 67 6d 61 73 ..acco..ptsigmas
> 6b 06 00 00 00 00 00 08 00 00 00 01 00 00 00 02 k...............
> 00 00 00 03 00 00 00 02 00 00 00 0a 00 00 00 01 ................
> 00 00 00 02 00 00 00 03 00 00 00 04 ............
> ##
> T 192.168.99.16:3050 -> 192.168.99.17:34506 [AP]
> 00 00 00 03 00 00 00 0a 00 00 00 01 00 00 00 03 ................
> ##
> T 192.168.99.17:34506 -> 192.168.99.16:3050 [AP]
> 00 00 00 13 00 00 00 00 00 00 00 22 2f 76 61 72 ..........."/var
> 2f 6c 69 62 2f 66 69 72 65 62 69 72 64 32 2f 64 /lib/firebird2/d
> 61 74 61 2f 69 73 39 39 31 36 2e 67 64 62 00 00 ata/is9916.gdb..
> 00 00 00 1b 01 1c 03 69 61 6d 1e 0b 48 34 42 50 .......iam..H4BP
> 52 66 61 55 56 34 51 3a 04 00 00 00 00 3e 00 00 RfaUV4Q:.....>..
> #
> T 192.168.99.16:3050 -> 192.168.99.17:34506 [AP]
> 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 ................
> 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 ................
>
>
> Is there way to skip 'host/user' check? Some of manuals says, like,
> '..and see /etc/hosts.allow to connect from other hosts', but no more.
Good analysis.
May be the reason for rejection is indeed in /etc/hosts.allow and/or
/etc/hosts.deny?
Even if not specifying an user/password pair, a client is required to
give path to database, so these empty packets seem very strange to me.
Also, can you connect from the same windows maching using plain isql?
(which version of isql?)
And last, maybe some cabling problem causes these "empty" packets?
More questions than answers, sory :/
dam
--
Damyan Ivanov Modular Software Systems
dam at modsoftsys.com
phone +359(2)928-2611, 929-3993 fax +359(2)920-0994
mobile +359(88)856-6067 dam at jabber.minus273.org/Gaim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20060616/2d02bdd9/signature.pgp
More information about the pkg-firebird-general
mailing list