Programmatically changing network proxy settings on the Mac

A

arunasunil

Hi,

Anybody have suggestions of how network proxy settings can be changed
programmatically on the Mac, Tiger and Leopard. Are there any helpful
python api's that can be used.

Thanks
Sunil
 
P

Python Nutter

OS X is POSIX/UNIX system so your basic plan of going about things:
1. Learn what proxy/network subsystem Tiger uses
2. Learn what proxy/network subsystem Leopard uses (same as 1., or has
it changed?)
3. Based on 1 and 2 learn the config file names and locations.
4. Based on 3 you will determine if the file is text or xml format so
learn file processing for whichever one
5. Read the config file, Make some changes in OS X, read the config
file and compare changes.
6. Programatically script changes to those config file(s).
7. Learn if any service/daemon needs to be restarted or if an
interface needs to be brought down/up to bring in those changes to the
config file.
8. Script in what you learned in 7.
9. Finished.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top