You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Lionel Cons (JIRA)" <ji...@apache.org> on 2012/08/28 08:48:07 UTC
[jira] [Created] (APLO-253) Source IP not always retrieved by the
UDP connector
Lionel Cons created APLO-253:
--------------------------------
Summary: Source IP not always retrieved by the UDP connector
Key: APLO-253
URL: https://issues.apache.org/jira/browse/APLO-253
Project: ActiveMQ Apollo
Issue Type: Bug
Environment: apollo-99-trunk-20120827.204756-104
Reporter: Lionel Cons
In one test (see APLO-252), the sender IP address is not set by Apollo. In another one, it is set.
I think that the difference is that one client uses sendto() and the other one send() (= connected socket).
AFAIK, it always possible to retrieve the sender IP, at least in C. Could Apollo get the source IP even if sendto() is used?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (APLO-253) Source IP not always retrieved by the
UDP connector
Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiram Chirino updated APLO-253:
-------------------------------
Component/s: apollo-broker
Assignee: Hiram Chirino
> Source IP not always retrieved by the UDP connector
> ---------------------------------------------------
>
> Key: APLO-253
> URL: https://issues.apache.org/jira/browse/APLO-253
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Components: apollo-broker
> Environment: apollo-99-trunk-20120827.204756-104
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.5
>
> Attachments: APLO-253.pl
>
>
> In one test (see APLO-252), the sender IP address is not set by Apollo. In another one, it is set.
> I think that the difference is that one client uses sendto() and the other one send() (= connected socket).
> AFAIK, it always possible to retrieve the sender IP, at least in C. Could Apollo get the source IP even if sendto() is used?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (APLO-253) Source IP not always retrieved by the
UDP connector
Posted by "Lionel Cons (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443987#comment-13443987 ]
Lionel Cons commented on APLO-253:
----------------------------------
I confirm this new build works as expected. Thanks!
> Source IP not always retrieved by the UDP connector
> ---------------------------------------------------
>
> Key: APLO-253
> URL: https://issues.apache.org/jira/browse/APLO-253
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Environment: apollo-99-trunk-20120827.204756-104
> Reporter: Lionel Cons
> Attachments: APLO-253.pl
>
>
> In one test (see APLO-252), the sender IP address is not set by Apollo. In another one, it is set.
> I think that the difference is that one client uses sendto() and the other one send() (= connected socket).
> AFAIK, it always possible to retrieve the sender IP, at least in C. Could Apollo get the source IP even if sendto() is used?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (APLO-253) Source IP not always retrieved by the
UDP connector
Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443978#comment-13443978 ]
Hiram Chirino commented on APLO-253:
------------------------------------
Just commit a change that I think should fix this. Try the following build:
https://builds.apache.org/job/ActiveMQ-Apollo-Deploy/295/
> Source IP not always retrieved by the UDP connector
> ---------------------------------------------------
>
> Key: APLO-253
> URL: https://issues.apache.org/jira/browse/APLO-253
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Environment: apollo-99-trunk-20120827.204756-104
> Reporter: Lionel Cons
> Attachments: APLO-253.pl
>
>
> In one test (see APLO-252), the sender IP address is not set by Apollo. In another one, it is set.
> I think that the difference is that one client uses sendto() and the other one send() (= connected socket).
> AFAIK, it always possible to retrieve the sender IP, at least in C. Could Apollo get the source IP even if sendto() is used?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (APLO-253) Source IP not always retrieved by the
UDP connector
Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiram Chirino resolved APLO-253.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5
> Source IP not always retrieved by the UDP connector
> ---------------------------------------------------
>
> Key: APLO-253
> URL: https://issues.apache.org/jira/browse/APLO-253
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Components: apollo-broker
> Environment: apollo-99-trunk-20120827.204756-104
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.5
>
> Attachments: APLO-253.pl
>
>
> In one test (see APLO-252), the sender IP address is not set by Apollo. In another one, it is set.
> I think that the difference is that one client uses sendto() and the other one send() (= connected socket).
> AFAIK, it always possible to retrieve the sender IP, at least in C. Could Apollo get the source IP even if sendto() is used?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (APLO-253) Source IP not always retrieved by the
UDP connector
Posted by "Lionel Cons (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lionel Cons updated APLO-253:
-----------------------------
Attachment: APLO-253.pl
Script using C's sendto() (via Perl's send()) to show the problem.
> Source IP not always retrieved by the UDP connector
> ---------------------------------------------------
>
> Key: APLO-253
> URL: https://issues.apache.org/jira/browse/APLO-253
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Environment: apollo-99-trunk-20120827.204756-104
> Reporter: Lionel Cons
> Attachments: APLO-253.pl
>
>
> In one test (see APLO-252), the sender IP address is not set by Apollo. In another one, it is set.
> I think that the difference is that one client uses sendto() and the other one send() (= connected socket).
> AFAIK, it always possible to retrieve the sender IP, at least in C. Could Apollo get the source IP even if sendto() is used?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira