<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>uart service security problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8805/uart-service-security-problem</link><description>I found in ble_app_uart example, any device with UART app can connect to uart service and send something to COM port or just block the connection of other devices. 
 So can I take some action to prevent specified devices connecting to my dongle running</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Aug 2015 16:52:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8805/uart-service-security-problem" /><item><title>RE: uart service security problem</title><link>https://devzone.nordicsemi.com/thread/32316?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 16:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3a21789-8d2c-4d20-bf39-01e26d175384</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Okay, so these nRF51 devices are placed outside somewhere in a public place, where everyone are able to connect to them? I&amp;#39;m not quite sure what the general way to handle this scenario is, but I can ask around and come back to you tomorrow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart service security problem</title><link>https://devzone.nordicsemi.com/thread/32315?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 15:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1b3da7d-4191-4635-91dc-84d569d8712d</guid><dc:creator>yiran</dc:creator><description>&lt;p&gt;My scenario is that some customers&amp;#39; mobile phones installing our app connect my two 51822 ble uart devices and send   some text. I am afraid some bad guys will use similar app to keep connect to us to block our customers. The current strategy is allowing any phone to connect to us, but we will disconnect it automatically in two seconds, which is long enough for customer mobile phone sending text. But this action still reduce performance, and if crackers use many mobile phones connect to our system, like DDOS, our customers have no chance to establish connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart service security problem</title><link>https://devzone.nordicsemi.com/thread/32314?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2015 14:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c7a2d62-fedf-4102-afb1-43ce5bdafc8f</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;You cannot whitelist 10000 devices. You could maybe store 10000 addresses in flash, and filter on them after it has connected, and then disconnect it. But it would take up a lot of flash and would probably be too slow. What is the use case for this scenario?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart service security problem</title><link>https://devzone.nordicsemi.com/thread/32312?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2015 09:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6276f263-b232-429c-8796-48a89549b92e</guid><dc:creator>yiran</dc:creator><description>&lt;p&gt;it is better to allow 10000 specific devices and block every one else if I can. If it is impossible, black list mode is also ok&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart service security problem</title><link>https://devzone.nordicsemi.com/thread/32313?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2015 08:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f098bd5-2364-4cf4-8b16-32ba75981710</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;So you want to allow every device to connect except a few ones you know the address of, or do you want to allow 10000 specific devices and block every one else?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart service security problem</title><link>https://devzone.nordicsemi.com/thread/32311?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2015 01:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8680baa-7766-44f3-822d-a7f170e4a859</guid><dc:creator>yiran</dc:creator><description>&lt;p&gt;At the beginning I considered whitelist mode, however whitelist seems not to work with UART service. What&amp;#39;s more, the number of devices I want to store in white list will be more than 10,000, perhaps whitelist cannot have so large storage space.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart service security problem</title><link>https://devzone.nordicsemi.com/thread/32310?ContentTypeID=1</link><pubDate>Wed, 19 Aug 2015 11:07:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345fba70-ac3c-4329-bd83-ccc0efa0b5e1</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I believe what you want to do is to use the device manager to bond the device you connect, and then use whitelisting to only allow this device to be connected in the future.&lt;/p&gt;
&lt;p&gt;You can read about the device manager here: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/group__device__manager.html"&gt;Device manager&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An example that demonstrates bonding and whitelisting is the ble_app_proximity example. &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/ble_sdk_app_proximity.html?cp=4_1_0_4_4_14"&gt;This is documented here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>