[jira] Created: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

View: New views
18 Messages — Rating Filter:   Alert me  

[jira] Created: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SLP - the unicast point-to-point sending doesn't check the MTU
--------------------------------------------------------------

                 Key: LIVETRIBE-72
                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
             Project: LiveTribe
          Issue Type: Bug
          Components: SLP
    Affects Versions: SLP 2.0.1
            Reporter: Nicholas White


This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:

    public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
    {
        // TODO: must be sure to fit the MTU in case of many services
        SrvRply srvRply = newSrvRply(serviceAgent, message, services);
        byte[] bytes = srvRply.serialize();
        udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
    }

The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195007#action_195007 ]

Alan Cabrera commented on LIVETRIBE-72:
---------------------------------------

IIUC, there's no simple and safe way to do this unless you keep the packet under 576 bytes.  Can you explain what you would do in this situation?

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Assigned: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera reassigned LIVETRIBE-72:
-------------------------------------

    Assignee: Alan Cabrera

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Alan Cabrera
>             Fix For: SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera updated LIVETRIBE-72:
----------------------------------

    Fix Version/s: SLP 2.1.0

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Alan Cabrera
>             Fix For: SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Work started: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on LIVETRIBE-72 started by Alan Cabrera.

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Alan Cabrera
>             Fix For: SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195046#action_195046 ]

Alan Cabrera commented on LIVETRIBE-72:
---------------------------------------

I understand what you're saying.  That code does not check the size of the packet.

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Alan Cabrera
>             Fix For: SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera updated LIVETRIBE-72:
----------------------------------

    Fix Version/s: SLP 2.0.2

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Alan Cabrera
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera updated LIVETRIBE-72:
----------------------------------

    Description:
This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:

{code}
    public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
    {
        // TODO: must be sure to fit the MTU in case of many services
        SrvRply srvRply = newSrvRply(serviceAgent, message, services);
        byte[] bytes = srvRply.serialize();
        udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
    }
{code}

The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

  was:
This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:

    public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
    {
        // TODO: must be sure to fit the MTU in case of many services
        SrvRply srvRply = newSrvRply(serviceAgent, message, services);
        byte[] bytes = srvRply.serialize();
        udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
    }

The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.


> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Alan Cabrera
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera resolved LIVETRIBE-72.
-----------------------------------

    Resolution: Fixed
      Assignee: Simone Bordet   (was: Alan Cabrera)

Fixed.  Please review.

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Simone Bordet
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera resolved LIVETRIBE-72.
-----------------------------------

    Resolution: Fixed
      Assignee: Simone Bordet   (was: Alan Cabrera)

Fixed.  Please review.

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Simone Bordet
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Reopened: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera reopened LIVETRIBE-72:
-----------------------------------

      Assignee: Alan Cabrera  (was: Simone Bordet )

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Alan Cabrera
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Reopened: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera reopened LIVETRIBE-72:
-----------------------------------

      Assignee: Alan Cabrera  (was: Simone Bordet )

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Alan Cabrera
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera resolved LIVETRIBE-72.
-----------------------------------

    Resolution: Fixed
      Assignee: Simone Bordet   (was: Alan Cabrera)

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Simone Bordet
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera resolved LIVETRIBE-72.
-----------------------------------

    Resolution: Fixed
      Assignee: Simone Bordet   (was: Alan Cabrera)

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Simone Bordet
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Reopened: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Bordet  reopened LIVETRIBE-72:
-------------------------------------


Truncating in the middle of the bytes will make clients choke, reopening.

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Simone Bordet
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Reopened: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Bordet  reopened LIVETRIBE-72:
-------------------------------------


Truncating in the middle of the bytes will make clients choke, reopening.

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Simone Bordet
>             Fix For: SLP 2.0.2, SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Bordet  resolved LIVETRIBE-72.
-------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: SLP 2.0.2)

Resolved as part of LIVETRIBE-73.

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Simone Bordet
>             Fix For: SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (LIVETRIBE-72) SLP - the unicast point-to-point sending doesn't check the MTU

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Bordet  resolved LIVETRIBE-72.
-------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: SLP 2.0.2)

Resolved as part of LIVETRIBE-73.

> SLP - the unicast point-to-point sending doesn't check the MTU
> --------------------------------------------------------------
>
>                 Key: LIVETRIBE-72
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-72
>             Project: LiveTribe
>          Issue Type: Bug
>          Components: SLP
>    Affects Versions: SLP 2.0.1
>            Reporter: Nicholas White
>            Assignee: Simone Bordet
>             Fix For: SLP 2.1.0
>
>
> This is in org.livetribe.slp.spi.sa.UDPSrvRplyPerformer:
> {code}
>     public void perform(InetSocketAddress remoteAddress, ServiceAgentInfo serviceAgent, Message message, List<? extends ServiceInfo> services)
>     {
>         // TODO: must be sure to fit the MTU in case of many services
>         SrvRply srvRply = newSrvRply(serviceAgent, message, services);
>         byte[] bytes = srvRply.serialize();
>         udpConnector.unicastSend(serviceAgent.getHost(), remoteAddress, bytes);
>     }
> {code}
> The UDPConnector indeed doesn't check the MTU before sending the packet - the receiver then truncates and throws an exception as the length field doesn't match the length of the packet.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email