[ 
https://issues.apache.org/jira/browse/NET-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb resolved NET-414.
----------------------
       Resolution: Fixed
    Fix Version/s: 3.6

URL: http://svn.apache.org/viewvc?rev=1782356&view=rev
Log:
NET-414 Apache Commons TFTP does not reject request replies that originate from 
a control port.

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    
commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java


> Apache Commons TFTP does not reject request replies that originate from a 
> control port.
> ---------------------------------------------------------------------------------------
>
>                 Key: NET-414
>                 URL: https://issues.apache.org/jira/browse/NET-414
>             Project: Commons Net
>          Issue Type: Bug
>          Components: TFTP
>    Affects Versions: 2.2, 3.0
>         Environment: Java 1.6 Patch 20
>            Reporter: Chuck Wolber
>            Priority: Minor
>             Fix For: 3.6
>
>
> When a TFTP request response arrives that incorrectly specifies its source 
> port as the control port, the request should be rejected with an error code 5 
> (TFTPErrorPacket.UNKNOWN_TID) and suggested text "INCORRECT SOURCE PORT". 
> This can happen when an incorrectly written TFTP server replies to a request 
> from a control socket instead of building a new socket that attaches to an 
> ephemeral port.
> Note 1: The expected response from a read request is a DATA packet. The 
> expected response from a write request is an ACK packet.
> Note 2: The control port is implementation specific and not always port 69 
> (as defined by IANA).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to