Is there any info about this type tftp daemon ?

2002-10-23 Thread Feng Li


Hi, Friends


I am a FreeBSD OS user. I am using one FreeBSD box as
my TFTP server. But with a inconventient problem:

Everytime, before I send file to this server, I have
to do the following process on this server:

 /usr/tftpboot# touch -config
 /usr/tftpboot# chmod 666 -config

I hope to omit this process, so if anyone knows where I can get
a TFTP daemon which can allow me to omit above inconvenience ?


Thanks,

Feng



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Is there any info about this type tftp daemon ?

2002-10-23 Thread Kris Kennaway
On Wed, Oct 23, 2002 at 11:32:51AM -0400, Feng Li wrote:
 
 
 Hi, Friends
 
 
 I am a FreeBSD OS user. I am using one FreeBSD box as
 my TFTP server. But with a inconventient problem:
 
 Everytime, before I send file to this server, I have
 to do the following process on this server:
 
  /usr/tftpboot# touch -config
  /usr/tftpboot# chmod 666 -config
 
 I hope to omit this process, so if anyone knows where I can get
 a TFTP daemon which can allow me to omit above inconvenience ?

This indicates the tftpd daemon does not have write permission to
/usr/tftpboot.  This is of course a potential security hole because
tftp does not authenticate, so you're giving everyone who can connect
to your tftpd the permission to write/overwrite files into that
directory.

Kris



msg05501/pgp0.pgp
Description: PGP signature


Re: Is there any info about this type tftp daemon ?

2002-10-23 Thread Brian Jackson
Kris Kennaway wrote:


 Files may be written
 only if they already exist and are publicly writable.  
Kris

I know that on some old Sun systems I had to manage, I had to touch 
filename and make sure it was writable before we could get files to 
it.  In other words, make a 0 length file of the name of the file you 
are trying to tftp to the server first, and when you do the transfer it 
will overwrite it.  Might be the same issue?

Brian

--
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Is there any info about this type tftp daemon ?

2002-10-23 Thread Christopher Meiklejohn
Taken from the man page: 

Files can be written only if they already exist and are
 publicly writable. 

--Chris

snip
 
 I know that on some old Sun systems I had to manage, I had to touch 
 filename and make sure it was writable before we could get files to 
 it.  In other words, make a 0 length file of the name of the file you 
 are trying to tftp to the server first, and when you do the transfer it 
 will overwrite it.  Might be the same issue?
 
 Brian


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message