tftp Problems

tftp Problems

Post by Joachim Frick » Wed, 15 Dec 1993 00:31:29



We have a problem with tftp on Solaris. We are using
tftp for downloading Software for X-Terminals.
The Integration of the X-Terminal worked for SunOs,
but not on Solaris.

Environment:

machine svmiri running Solaris 2.3
Following entrie in inetd.conf
tftp    dgram   udp     wait    root    /usr/sbin/in.tftpd      in.tftpd -s /tftpboot

# tftp svmiri
tftp> get a
Received 12 bytes in 0.2 seconds
tftp> get /a                         !!! does not work
Error code 1: File not found                    

machine svyoda running SunOS 4.1.3
Following entrie in inetd.conf
tftp    dgram   udp     wait    root    /usr/etc/in.tftpd       in.tftpd -s /tftpboot

# tftp svyoda
tftp> get a
Received 12 bytes in 0.2 seconds
tftp> get /a                         !!! works
Received 12 bytes in 0.0 seconds

The problem is that "/a" does not work on Solaris (guess how our X-Terminal
want to acces his files :-)

So my question:

        Which version of tftp is the correct one
        How can I acces the files via "/a", wich means absolut paths

Thanks for your help
--
-----------------------------------------------------------------------
Joachim Fricker             | Tel: +41 1 236 5462
Union Bank of Switzerland   | Fax: +41 1 236 8120

------------------------------------------------------------------------

 
 
 

tftp Problems

Post by Willi Burmeist » Wed, 15 Dec 1993 15:16:25



Quote:>We have a problem with tftp on Solaris.

Solaris 2.0, 2.1, 2.2 or 2.3?

[...]

Quote:>The problem is that "/a" does not work on Solaris (guess how our X-Terminal
>want to acces his files :-)
>So my question:
>    Which version of tftp is the correct one
>    How can I acces the files via "/a", wich means absolut paths

There ist a patch for this problem:

101255-01    SunOS 5.2: in.tftpd -s /tftpboot doesn't chroot to /tftpboot

This should be fixes in Solaris 2.3

Willi

--
--
Willi Burmeister,  Department of Computer Science, Kiel University
Tel: +49 431 5604 98     S-Mail: Preusserstrasse 1-9, D 24105 Kiel


 
 
 

tftp Problems

Post by Peter Koblau » Sat, 18 Dec 1993 03:36:15


: We have a problem with tftp on Solaris. We are using
: tftp for downloading Software for X-Terminals.

:       How can I acces the files via "/a", wich means absolut paths

ln -s /tftpboot/a /a
should do it

regards,
Peter Koblauch

HP Panacom Division,

phone (519)883-3038

 
 
 

tftp Problems

Post by Joachim Frick » Sat, 18 Dec 1993 16:53:13


: I've asked:
:
: 1)    Which version of tftp is the correct one
: 2)    How can I acces the files via "/a", wich means absolut paths
:
:

1) The offical answer from Sun (after a long wait) is: yes tftp has
been changed to improve security - you must not use slash before
the file name "why would you want to anyway?...".

2)From my own testing it seems there is a way round the problem
if a link to the secure root directory exists with the same name
as the secure root directory, i.e., for tftpd -s /tftpboot
#cd /tftpboot
#ln -s . tftpboot
then get /tftpboot/a works

--
-----------------------------------------------------------------------
Joachim Fricker             | Tel: +41 1 236 5462
Union Bank of Switzerland   | Fax: +41 1 236 8120

------------------------------------------------------------------------

 
 
 

1. tftp problem

Hi,

I am working on a freeBSD machine and I want to send a file from a computer
into another one, using the tftp transfer protocol.
The problem is that The name of the file I want to send is dynamically
created and the tftp serveur answers: File Not Found. I conclue that I am
obliged to create the file on the host machine before macking the transfer.
But is It there a way to avoid that?
I know that It works with the GET command but I am obliged to use the PUT
one.

Thanks in advance.
Youssef

2. Library Management

3. tftp problems

4. rename a partition

5. tftp problem

6. rotatelogs doesn't rotate

7. TFTP PROBLEM -- PLEASE HELP

8. pb de configuration carte ethernet NE2000 clone

9. TFTP problems

10. TFTP problem

11. tftp problem

12. HELP: Solaris 2.6 TFTP problem with Cisco 2501

13. tftp problem