• 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: Packet interception/injection, multicast routing and NKE.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packet interception/injection, multicast routing and NKE.


  • Subject: Re: Packet interception/injection, multicast routing and NKE.
  • From: "Peter Sichel" <email@hidden>
  • Date: Tue, 19 Jul 2005 10:07:33 -0400

On 7/18/05, Lasaro Camargos wrote:

>I added a rule to divert (actually tee) the multicast packets on the
>multihomed machine and implemented a piece of code that changes an
>inbound packet on interface 1 into an outbound packet on interface 2.
>By running two instances of this small code I've been able to route
>my packets.

This is slow because you are copying the packet and shuffling
it in and out of Kernel address space.  An NKE would be much faster.
I've written an NKE that does something similar (Ethernet Bridging)
to bridge packets from one data link to another.  It wouldn't be
too hard to add multicast forwarding (or just use Ethernet Bridging).

>Moreover, I am willing to implement this routing mechanism as a NKE
>and wanna some comments on the idea: do you think it's worthy? any
>code samples?

NKEs are hard to write and debug, but there are samples you can get
from Apple.  Is it worth months of effort?  Or would you rather find
something close that can be adapted to meet your needs?

Kind Regards,

- Peter


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Packet interception/injection, multicast routing and NKE. (From: Lasaro Camargos <email@hidden>)

  • Prev by Date: Re: scanning for network printers?
  • Next by Date: Re: How to detect Wifi device?
  • Previous by thread: Packet interception/injection, multicast routing and NKE.
  • Next by thread: How to detect Wifi device?
  • Index(es):
    • Date
    • Thread