• 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: receiving all network traffic for a process?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: receiving all network traffic for a process?


  • Subject: Re: receiving all network traffic for a process?
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Thu, 9 Oct 2003 10:56:31 +0100

On Thursday, October 9, 2003, at 03:11 am, Steven D. Arnold wrote:

I'm working on an open-source application that essentially acts as a local
application proxy. To do this, I'm trying to receive all network traffic to
and from a given process. I want it to be process-based rather than
port-based because the process may attempt to send data to an arbitrary port
from an essentially random port.

That *really* isn't easy. To be honest, I think you're going to need kernel code to make it work, since AFAIK that's the only place you could block a specific application from receiving packets, although it is possible that you might be able to work by fooling with the dynamic linker and hooking all of the networking routines.

Try asking on the macnetworkprog or darwin mailing lists instead; they stand a better chance of answering your question.

Kind regards,

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >receiving all network traffic for a process? (From: "Steven D. Arnold" <email@hidden>)

  • Prev by Date: OT Re: Responder problem [flagsChanged cmd keyUp solved]
  • Next by Date: Re: DO: Setting Protocol before leaving server...
  • Previous by thread: receiving all network traffic for a process?
  • Next by thread: Re: receiving all network traffic for a process?
  • Index(es):
    • Date
    • Thread