Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: choosing a network port




On Sep 25, 2005, at 10:15 , Jon Nall wrote:

How does an application like Safari decide which network port to use
(e.g. Airport or VPN)? Is there a way to modify this decision based on
network address?

Safari does not care which network interface its traffic flows through: it (like most other applications) leaves that decision to the normal IP routing infrastructure in the kernel.


For instance, I want Safari to use the proxy settings associated with
my VPN connection when it sees an address destined for the VPN network
port. However, I don't want to send all traffic through the VPN
connection.

You don't have much choice here. If your network setup is such that you have two paths to a given host, one through the VNP interface and one through another interface, the routing algorithm will pick one based on both the source and destination addresses in the packet to be sent.


You may be able to set up routing information in a way that forces the system to send packets where you want them, but it is not normally considered an easy task.

I was poking through scutil dictionaries this morning, but didn't find
anything that solved this problem.

Yup; SystemConfiguration does not address this problem (at least, not directly).


What does your network setup look like?

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
Experience is what you get
  when you don't get what you want.
--------



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

This email sent to email@hidden
References: 
 >choosing a network port (From: Jon Nall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.