==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    https://bugs.contribs.org/show_bug.cgi?id=9248

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

            Bug ID: 9248
           Summary: add -r blksize option
    Classification: Contribs
           Product: SME Contribs
           Version: 9.1
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-tftp-server
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Note to self really to add this as an option - it's a NFR more than a bug.

https://forums.contribs.org/index.php/topic,51985.0.html

User had this error:

tftp: client does not accept options

Answer was to add this option -r blksize to the following line :

--refuse tftp-option, -r tftp-option
    Indicate that a specific RFC 2347 TFTP option should never be accepted. 

    exec    udpsvd    -h $TFTPD_LOG_SETTING -u $TFTPD_USER \
            $TFTPD_ACCESS_SETTING $TFTPD_UDPPORT \
            in.tftpd     $TFTPD_LOG_SETTING $TFTPD_PRIVILEGE_SETTING \
            -u $TFTPD_USER $TFTPD_TIMEOUT_SETTING -s $TFTPD_DIRECTORY 


I'll have a look at adding a config entry for it.


See this for the available options


blksize (RFC 2348)
    Set the transfer block size to anything less than or equal to the specified
option. This version of tftpd can support any block size up to the theoretical
maximum of 65464 bytes. 
blksize2 (nonstandard)
    Set the transfer block size to anything less than or equal to the specified
option, but restrict the possible responses to powers of 2. The maximum is
32768 bytes (the largest power of 2 less than or equal to 65464.) 
tsize (RFC 2349)
    Report the size of the file that is about to be transferred. This version
of tftpd only supports the tsize option for binary (octet) mode transfers. 
timeout (RFC 2349)
    Set the time before the server retransmits a packet, in seconds. 
utimeout (nonstandard)
    Set the time before the server retransmits a packet, in microseconds. 
The --refuse option can be used to disable specific options; this may be
necessary to work around bugs in specific TFTP client implementations. For
example, some TFTP clients have been found to request the blksize option, but
crash with an error if they actually get the option accepted by the server.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to