"rule": "FROM all vms TO IP 255.255.255.255/32 BLOCK udp PORTS 1-65535",

gives

"message": "Error at character 34: '/32', expected: 'TO', ')', 'OR', 'BLOCK', 'ALLOW', found: CIDRSUFFIX"

Am 21.06.2018 18:11, schrieb Adrian Thompson:
Isn't there supposed to be a netmask?  "/32" for 255.255.255.255.

Shooting from the hip (and I have no way of testing right now):
FROM all vms TO IP 255.255.255.255/32 BLOCK udp PORTS 1-65535


----- Original Message -----
From: "Stefan" <ste...@squentz.de>
To: "smartos-discuss" <smartos-discuss@lists.smartos.org>
Sent: Wednesday, June 20, 2018 5:06:18 AM
Subject: Re: [smartos-discuss] disable UDP broadcasts

Any idea how to stop VMs from broadcasting?

Kind Regards,
Stefan


Am 06.06.2018 19:57, schrieb Stefan:
Hi!

From any VM one can generate UDP broadcasts:

   # socat - UDP-DATAGRAM:255.255.255.255:24000,broadcast

How do I stop a vm from emitting UDP broadcasts? Firewalling to IP
255.255.255.255 does not work:

    "rule": "FROM all vms TO IP 255.255.255.255 BLOCK udp PORTS
1-65535",

   # fwadm add -f stop-udp-bcast
   IPv4 address "255.255.255.255" is invalid

Kind Regards,
Stefan




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125
Powered by Listbox: http://www.listbox.com

Reply via email to