Re: UDP broadcasting
Re: UDP broadcasting
- Subject: Re: UDP broadcasting
- From: Peter Sichel <email@hidden>
- Date: Wed, 24 Mar 2004 09:23:19 -0500
At 17:03 +0100 22/3/04, Patrick Perroud wrote:
I need to check the port my UDP socket is broadcasting from is not
blocked by a firewall on localhost.
OK - so let's re-phrase my question that way: how could I interrogate
the firewall rules directly?
Depending on your application, it might be possible to test the port in
question.
For example, you could try your broadcast and then use a BPF tap to see
if the
broadcast was actually sent. Alternatively if a known client or echo
server
is available, you could try bouncing a packet off that.
A disadvantage of interrogating ipfw directly is that it's only one
of several possible firewalls the user might have enabled. By testing
what gets out to the wire, you have a better chance of determining
whether your packets are being blocked.
As I understand it, BPF 'tap' occurs in the IOKit layer below ipfw and
any NKEs.
Kind Regards,
- Peter
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.