[Dxspider-support] Telnet Port 23 access

Dirk Koopman djk at tobit.co.uk
Tue Jan 1 14:55:40 GMT 2002


On Mon, 2001-12-31 at 20:58, Fred Allstadt wrote:
> I would like to allow my users to use telnet port 23 for access to my 
> DXSpider cluster.  There are some client programs that don't handle 
> non-traditional ports (ie. 8000) well, and it would be less confusing to 
> those users that are "computer impared".  I am using the Listeners.pm 
> interface, and it's working correctly at 8000, but I'm having difficulty in 
> getting port 23 operational.
> 
> My Listeners.pm file is pretty simple:
> .
> .
> @listen = (
> 		["0.0.0.0",8000],
> 		["0.0.0.0",23]
> 		);
> .
> .
> 
> When starting cluster.pl, I get the following:
> Copyright...
> DXSpider Version 1.49, build 56.887...
> .
> .
> External Port 0.0.0.0 8000
> IO:Socket::INET: Permission denied
> Could not create socket: Permission denied
>             Msg::new_server('ExtMsg', 0.0 0.0, 23 'CODE(0x88a4970)') called 
> at ./cluster.pl line 387
> Could not create socket: permission denied
> 

Hum...

Port 23 is a bit of a problem. Basically the only way to achieve that
under linux is for the program to be owned by root and I specifically DO
NOT WANT THAT TO HAPPEN, largely because it will then become a target
for script kiddies to break into systems with.

Incidentally, if you want to see what processes are listen to which
sockets, try: netstat -tlp

It may be that I can get around this by making the program SUID root and
then becoming the 'sysop' user after opening the socket. There are some
perl issues here that I will need to research and resolve as well as
installation issues. 

As for installation issues, it appears I am finally going to have to do
some kind of installation script. Ho Hum....

Dirk 






More information about the Dxspider-support mailing list