[Dxspider-support] No password request ?

Hans-Juergen Barthen dl5di at gmx.de
Wed Feb 23 23:31:54 GMT 2005


Hello !
Hopefully somebody can give me a short hint for my following problem:

I found that my spider does not request any login password.

- the password is configured in /spider/local/scripts/startup like described 
in  the documentation with set/var $main::passwdreq = 1

- when I check it with 'show/var $main::passwdreg' from the console spider shows '1'

- the logfile shows after a new start:

1109199505^cluster^DXSpider V1.51, build 59.332 started
1109199505^DXCommand^DB0LJ-6 set $Spot::maxspots = 100
1109199505^DXCommand^DB0LJ-6 set $main::passwdreq = 1 

Then I checked some parts of the perl source and found that spider obviously checks
if an incoming call is from localhost, in that case no password seems to be required.
So I connected from the internet and checked with netstat:

tcp        0      0 0.0.0.0:41112           0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:52863         127.0.0.1:41112         ESTABLISHED 
tcp        0      0 127.0.0.1:41112         127.0.0.1:52863         ESTABLISHED 
tcp        0      0 192.168.42.81:41112     84.129.61.223:2917      ESTABLISHED  

The last entry is my internet connection.

Then I checked the corresponding Spider logfile:

1109199524^DXProt^DB0SDX connected from 127.0.0.1
1109199536^DXCommand^DL5DI connected from 127.0.0.1
1109199537^DXCommand^DB0QT-6 connected from 127.0.0.1

As you can see in the logfile all incoming connection are recognized as coming
from 'localhost'. In the sample above "DL5DI" was my connection from the internet.

I checked the logfile of the last few months and it shows only incoming connections 
from localhost, no other IPs, regardless if a connection came from a PC in my LAN,
the Web-Client or somebody from the internet.

I am using virtual ports on my ethernet device, maybe this is a reason ?
eth0 192.168.42.1     is my LAN address
eth0:1 192.168.42.80   is addressed from my AmprNet-Router
eth0:2 192.168.42.81   is addressed from my Internet-Router (NAT)

I can not change that, we have 3 virutal webservers, 3 mailservers etc. running
on that different logical devices.

So all incoming internet connects are coming in on 192.168.42.81 as you see in 
the above netstat print.

Can anybody help to fix this problem ?

Thanks in advance

73 de Hans, DL5DI


SysOp @DB0LJ, DB0QT, DA5UDI

Web: http://www.db0lj.de
Forum: http://www.afuforum.de






More information about the Dxspider-support mailing list