[luau] tftp/xinetd config question

MonMotha monmotha at indy.rr.com
Sun Sep 8 12:03:01 PDT 2002


Lockhart, Charles wrote:
> Well, hmm, it should work, but didn't.  I tried the same thing with ftp
> (edited the wu-ftp file) and it worked fine.  Some reason it doesn't seem to
> work with tftp, or I'm doing something wrong.  I also tried the "only_from
> = 128.666.777.444", but that also didn't seem to have any effect.
> 
> "Something".  I don't understand the 128.666.777.0/24.  The /24 is a port
> number or something?
> 

/24 specifies a subnet mask of 255.255.255.0.  So any IP from 
128.666.777.0-128.666.777.255 will be accepted.  This is known as CIDR 
notation.

> I'm working with a bunch of embedded devices that use tftp to download a
> disk image which they burn into their flash.  I do this regularly enough
> that having to go and edit the tftp file to renable tftp, then kill xinetd,
> then restart xinetd, then load the file, then kill xinetd, edit the tftp
> file, then restart xinetd, well, it's a little bit tedious.  Maybe I need to
> look at the tcp wrappers stuff.
> 

Or just use iptables :)

I don't think TCP wrappers work for UDP (which TFTP uses).

> Thanks,
> 
> -Charles
> 

--MonMotha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
URL: <http://lists.freesoftwarehawaii.org/pipermail/luau-freesoftwarehawaii.org/attachments/20020908/31fe8d11/attachment-0001.pgp>


More information about the LUAU mailing list