🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #1167

Tftp server problem

#1167
From: bulli
Date: Thu, 26 Jun 2008 14:41
68 lines
3729 bytes
hi Experts,
I am facing some problem with tftp-server in Redhat linux
Actually we used this tftp server for IOS image coping in to routers
the problem is
actually we installed tftp-server-0.40-1 package on my Redhat linux
server
and edited /etc/xinetd.d/tftp as below

service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -u root -c -U 111 -s /tftp/
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}

so our tftp server uses /tftp/ as default/public folder for our TFTP
server
and we kept our images in that /tfpt server and started the xinetd
service
then i loged in to router and when we started copying the image middle
its stoping the coping

R7348-PRE4#copy tftp: disk0:
Address or name of remote host []? 73.48.0.1
Source filename []? /tftp/images/test
Destination filename [test]?
Accessing tftp://73.48.0.1//tftp/images/test...
Loading /tftp/images/test from 73.48.0.1 (via
FastEthernet0/0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
[timed out]

%Error reading tftp://73.48.0.1//tftp/images/test (Timed out)

This is the problem we are facing
actually i tried for different images
the files/images which are less than 32MB is coping properly with out
any problem
the files/images which are more than 32MB are not able to copy and
giving timed out error
so i did some googling and found that some older version TFTP servers
will not support with a file size more than 32MB

"The original protocol has a file size limit of 32 MB,
although this was extended when RFC 2347 introduced option
negotiation,
which was used in RFC 2348 to introduce block-size negotiation in
1998
(allowing a maximum of 4 GB and potentially higher throughput).
If the server and client support block number wraparound, file size is
essentially unlimited."

but what the software we use, it will support up to 192MB
here we got strucked :(

here my question is.. Is there any file to see what is the tftp limit
in my server
or can any one give a solution for this one how to copy files which
are more then 32MB?

Thanks in advance
Surendra
Technical Details
Message-ID: <c0004f58-9400-4109-95db-0e2431188865@l28g2000prd.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!postnews.google.com!l28g2000prd.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 102983,8c0fe8d754bb834f,start
X-Google-Attributes: gid102983,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!postnews.google.com!l28g2000prd.googlegroups.com!not-for-mail
From: bulli <surendra.anne@gmail.com>
Newsgroups: aus.computers.linux
Subject: Tftp server problem
Date: Thu, 26 Jun 2008 07:41:07 -0700 (PDT)
Organization: http://groups.google.com
Lines: 68
Message-ID: <c0004f58-9400-4109-95db-0e2431188865@l28g2000prd.googlegroups.com>
NNTP-Posting-Host: 72.163.216.217
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1214491267 3977 127.0.0.1 (26 Jun 2008 14:41:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 26 Jun 2008 14:41:07 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l28g2000prd.googlegroups.com; posting-host=72.163.216.217; 
 posting-account=JpW-HQoAAABh-1NZfZJRnM546PiNHJVs
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) 
 Gecko/2008052906 Firefox/3.0,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 Application and Content Networking System Software 5.5.7