Guest User

Untitled

a guest
Jan 20th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. mqttBroker.authorizePublish = function (client, packet) {
  2. if (packet.topic === 'hello' && client.id === '01B4C') {
  3. let PACK = packet;
  4. setTimeout(function (packet) {
  5. mqttBroker.publish(PACK)
  6. }, 10000)
  7. }
  8. }
  9.  
  10. netsh advfirewall firewall add rule name="IP Block" dir=in protocol=TCP interface=any action=block remoteip=172.30.10.120 localport=1883
  11.  
  12. netsh advfirewall firewall delete rule name="IP Block" remoteip=172.30.10.120
Add Comment
Please, Sign In to add comment