It's a test application that is sending garbage into any service TIPC port to 
see that it doesn't crash.
It's some kind of security test application.
So as I said, in normal case this is not possible but if you want to make a 
service crash you can use this "feature".

/Bertil

From: A V Mahesh (AVM) [mailto:[email protected]]
Sent: den 8 december 2014 07:40
To: [opensaf:tickets]
Subject: [opensaf:tickets] #1227 MDS: Receiving zero bytes result in abort


Hi Bertil Engelholm,

Currently MDS is using reliable connectionless SOCK_RDM socket for 
sending/receiving message tipc_cb.BSRsock = socket(AF_TIPC, SOCK_RDM, 0);

When connectionless socket (SOCK_RDM ) used, a return value of 0 indicates the
return of an undelivered data message that was originally sent by this socket.

Send can fail because of multiple reasons such as Overload, the current code is 
handing this and aborting the application in send field conditions.

According to this ticket description some application can send an empty message 
(length 0) to a MDS TIPC port and length 0 is NOT possible if the application 
is using MDS lib , why because their will be MDS header.

Can you please share the application to send an empty message (length 0) ?

-AVM

________________________________

[tickets:#1227]<http://sourceforge.net/p/opensaf/tickets/1227> MDS: Receiving 
zero bytes result in abort

Status: assigned
Milestone: 4.6.FC
Created: Tue Dec 02, 2014 02:34 PM UTC by Bertil Engelholm
Last Updated: Wed Dec 03, 2014 03:55 AM UTC
Owner: A V Mahesh (AVM)

If someone sends an empty message (lenght 0) to a MDS TIPC port it will result 
in a restart of that component due to an abort in the MDS TIPC part. This 
should of course not happen normally but this abort can be used by someone 
(hackers) wanting to cause restarts of components. So the abort (replace with 
continue?) should be removed and the log entry should be changed.

/Bertil

________________________________

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/opensaf/tickets/1227/<https://sourceforge.net/p/opensaf/tickets/1227>

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/<https://sourceforge.net/auth/subscriptions>



---

** [tickets:#1227] MDS: Receiving zero bytes result in abort**

**Status:** assigned
**Milestone:** 4.6.FC
**Created:** Tue Dec 02, 2014 02:34 PM UTC by Bertil Engelholm
**Last Updated:** Mon Dec 08, 2014 06:39 AM UTC
**Owner:** A V Mahesh (AVM)

If someone sends an empty message (lenght 0) to a MDS TIPC port it will result 
in a restart of that component due to an abort in the MDS TIPC part. This 
should of course not happen normally but this abort can be used by someone 
(hackers) wanting to cause restarts of components. So the abort (replace with 
continue?) should be removed and the log entry should be changed. 

/Bertil


---

Sent from sourceforge.net because [email protected] is 
subscribed to http://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
http://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to