• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UDP broadcasting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >about the macsbug.. (From: 王淑伶-vivian <email@hidden>)
 >Re: about the macsbug.. (From: Rich Kubota <email@hidden>)
 >UDP broadcasting (From: Patrick Perroud <email@hidden>)
 >Re: UDP broadcasting (From: Quinn <email@hidden>)
 >Re: UDP broadcasting (From: Patrick Perroud <email@hidden>)

  • Prev by Date: Does OS X support MLPPP?
  • Next by Date: Multicasting past routers?
  • Previous by thread: Re: UDP broadcasting
  • Next by thread: about how to create a extension module
  • Index(es):
    • Date
    • Thread