mfikes / ambly

ClojureScript REPL into embedded JavaScriptCore
http://ambly.fikesfarm.com
Eclipse Public License 1.0
541 stars 21 forks source link

AirDrop causes JmDNS to spew hex #33

Closed mfikes closed 9 years ago

mfikes commented 9 years ago

If you are in the Bonjour discovery phase of starting the Ambly REPL and then go to AirDrop in your finder, you will see the REPL log lots of SEVERE warnings such as below:

 7c0: b196b7cd3bfb7daf d722829b2d52b766 57efe00dd5119043 7715db60b2386bac     ....;.}. ."..-R.f W......C w..`.8k.
 7e0: 9a60b49e4784640b 02a4088e468ecbbd c6c0f2701cd64071 a08e1cd776dae1c7     .`..G.d. ....F... ...p..@q ....v...
....

Feb 17, 2015 10:39:40 PM javax.jmdns.impl.DNSIncoming readAnswer
SEVERE: Could not find record class. domain: ϿϿϿϿϿϿϿϿ. type: TYPE_IGNORE index 0
dns[response,10.0.1.200:5353, length=7540, id=0x0, flags=0x8400:r:aa, answers=5
answers:
    [Text@1214942492 type: TYPE_TXT index 16, class: CLASS_IN index 1-unique, name: orion._device-info._tcp.local. ttl: '4499/4500' text: 'model=MacPro5,1
...']
    [Service@1263947368 type: TYPE_SRV index 33, class: CLASS_IN index 1-unique, name: 3e8fc7bc7ca1._airdrop._tcp.local. ttl: '4499/4500' server: 'orion.local.:8770']
mfikes commented 9 years ago

I wonder if we can tell JmDNS to ignore _device-info._tcp.local. and ._airdrop._tcp.local. stuff.

mfikes commented 9 years ago

I've found that, in a corporate environment, there is enough extra Bonjour stuff flowing around that JmDNS spews regardless. Considering just turning off logging.