Taken from http://foxyproxy.mozdev.org/drupal/content/auto-use-proxy-based-ip-addre...
Starting a new thread for clarity - hope this is what you wanted Eric.
Hi there,
I totally agree with this approach - defining proxy profiles, but not only to select which proxies to use, but maybe to change to different proxy priority/URL pattern combinations. I believe that another useful thing would be to allow patterns to be defined centrally and then re-used across different proxy configurations. A proxy profile would then need only to associate proxies to patterns and prioritize the proxy/pattern combinations. I think this would be the best thing for a mobile user. Also, to simplify, this functionality could be disabled for non-mobile users through some check-box (think 'Use advanced proxy profiles' or something similar).
Here's an example, to illustrate what I'm trying to say. A mobile user could do the following:
1) Define the URL patterns:
- a pattern called "Yahoo" for "http://www.yahoo.com/*"
- a pattern called "Meebo" for "http://www.meebo.com/*"
- a pattern called "Work" for some office intranet sites
- a pattern called "Default" for "*"
2) Define the proxies:
- a proxy called "Home" - direct connection only
- a proxy called "Work" - a proxy server used in the office
- a proxy called "Tor" - TOR proxy
3) Define the profiles:
- a profile called "Home"
- prority 1, proxy "Home", whitelist pattern "Default"
- a profile called "Work"
- priority 1, proxy "Tor", whitelist patterns "Meebo" and "Yahoo"
- priority 2, proxy "Work", whitelist pattern "Default", blacklist pattern "Work"
- a profile called "Internet cafe"
- priority 1, proxy "Tor", whitelist pattern "Default"
I wouldn't personally want the profiles to be auto-selected based on my current IP address, rather I would manually select the profile I need. I travel a lot with my laptop, and more often than not I find myself being assigned similar (private) IP addresses in different networks.
Anyway, thanks for a great piece of software and keep up the excellent work!
Regards,
Dan
I like the idea, I currently use a different approach, maybe..
I like the idea, I currently use a different approach, maybe it's similar enough.
I use the firefox profile manager
to create three profiles:
Home
School (or work)
& Foxyproxy Pattens Test
I have to install foxyproxy 3 times, the preferences are separate.
& I can select it everytime or only when launching firefox with the -P option
for windows it's start menu > run, A box opens & enter
c:\Program Files\Mozilla Firefox\firefox.exe -p
(assuming you installed everything in their default locations)
for Ubuntu Linux, (I think it is similar for other distros, I've used a few others too. I haven't used a max for years)
its alt+f2 a box opens
firefox -p
I haven't used a mac for years, but I think the steps are still the same. if they are then use the way described for linux.
there is a few check boxes one is work offline & is unchecked, the other is Don't ask at startup.
if you want to be asked each time you use firefox uncheck it. if you don't the last profile used will be used again.
(I made a shortcut for myself, if I am still at home I don't get asked, but if I then goto school & ran it last at home I click this shortcut & I get asked, then back at home I cilck it again, read my email & close, still at home I use the regular shortcut & don't get asked. (sounds more complicated then it is)
Your Idea is great, I use
Your Idea is great, I use mine to limit my grease-monkey scripts & because my home proxy is accessed differently form the Internet than at home.
if foxy-proxy added this, I would still have to use this due to other add-ons behavior. I can't have my router status add-on annoying my schools admins
(even though that sounds like fun on a slow day, I gotta remember, someday I may be in their shoes.)
& no-script has some internal sites blacklisted that at home is ok but at school it's a different internal site.
This is indeed an awesome
This is indeed an awesome idea. I have created a ticket for it so I remember to do it:
http://trac.leahscape.com/trac/foxyproxy/ticket/64
Thanks,
Eric