
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
mm-services-mdns
Advanced tools
directory service to store connection information for remote peers
works with MicroMinion platform
var MicroMinionPlatform = require('mm-platform')
var MulticastDNS = require('mm-services-mdns')
var platform = new MicroMinionPlatform()
var mdns = new MulticastDNS({platform: platform})
Publishes connection information for remote node
var MicroMinionPlatform = require('mm-platform')
var MulticastDNS = require('mm-services-mdns')
var platform = new MicroMinionPlatform()
var mdns = new MulticastDNS({platform: platform})
platform.messaging.on('self.transports.nodeInfo', function(topic, sender, nodeInfo) {
console.log(topic) // 'self.transports.nodeInfo'
console.log(sender) // 'local'
console.log(nodeInfo) // {boxId: <boxId>, signId: <signId>, connectionInfo: <1tp connectionInfo>}
})
Publishes bootstrap information for remote nodes (used by DHT)
var MicroMinionPlatform = require('mm-platform')
var MulticastDNS = require('mm-services-mdns')
var platform = new MicroMinionPlatform()
var mdns = new MulticastDNS({platform: platform})
platform.messaging.on('self.transports.nodeInfo', function(topic, sender, nodeInfo) {
console.log(topic) // 'self.transports.nodeInfo'
console.log(sender) // 'local'
console.log(nodeInfo) // {boxId: <boxId>, signId: <signId>, connectionInfo: <1tp connectionInfo>}
})
Uses our own node information to broadcast on local network through mdns
You'll never need to send this message since this is triggered from the platform object
var MicroMinionPlatform = require('mm-platform')
var MulticastDNS = require('mm-services-mdns')
var platform = new MicroMinionPlatform()
var mdns = new MulticastDNS({platform: platform})
var nodeInfo = {
boxId: platform.directory.identity.getBoxId()
signId: platform.directory.identity.getSignId()
connectionInfo: platform.directory._connectionInfo
}
platform.messaging.send('transports.myNodeInfo', 'local', nodeInfo)
Request message that triggers 'nodeInfoBootstrap' responses
Needed if you want to implement your own directory service or want to discover local nodes
var MicroMinionPlatform = require('mm-platform')
var MulticastDNS = require('mm-services-mdns')
var platform = new MicroMinionPlatform()
var mdns = new MulticastDNS({platform: platform})
platform.messaging.send('transports.requestBootstrapNodeInfo', 'local', {})
FAQs
mDNS service for MicroMinion platform
We found that mm-services-mdns demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.