Forum Discussion

Hamish's avatar
Hamish
Icon for Cirrocumulus rankCirrocumulus
Apr 30, 2010

iRule Editor Request...

Currently when running the iRule editor behind a proxy, where the proxy is configured via PAC file, the update process that starts when launched errors (Eventually). The eror messgae it gives is slightly confusing in t's options... The button actually being used to give up trying to update, and the other button (Sorry, can't remember what it says, I'm at home ATM) being used to try again... (I keep thinking, which one quits the update and just proceeds to the editor?)

 

 

Any chance of having the proxy being able to be configured statically where there's a PAC file used in windows? (Because obviously the iRUle editor doesn't understand how to run a PAC file (Which is javascript).

 

 

H

5 Replies

  • I'm going to need some help with this one as I have no clue on how to test connections with a proxy pac file. Anyone out there willing to give it a shot. The iRule Editor can make use of the underlying Proxy attribute in the lower .Net HTTP connection class but from what I can tell, that just takes an ip/port and optional user/pass as options. Anyone have an idea how to implement support for this inside the iRule Editor? If so, I'm all ears and I'll gladly implement it.

     

     

    -Joe

     

  • Another request...

     

     

    Would it be possible to show all of the iRules within the Common partition under Local Traffic when you select another partition. I want to add an iRule to multiple (over 20 in multiple partitions) Virtual Servers and it would be much easier to use the iRule editor to do this than the web interface.
  • Unfortunately, the API doesn't work that way. You can only be working with a single partition at a time and the Common partition is treated like any other generated partition. One thing you could do though, is to make use of the Archive option to backup the iRule locally. Then switch between partitions and drag and drop from the local archive folder onto each individual partition.

     

     

    Another options would be to create an iControl script to merge them all from the common partition. Give me the specs for what you want done and I can post one to the CodeShare section in a relatively short amount of time.

     

     

    -Joe

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    Sorry Joe. I missed your original reply. How about just alllowing an over-ride in iRule editor to manually set a proxy? It's either that, or you'll need a javascript engine to interpret the .pac file for every request...

     

     

    H
  • The connection dialog in the Editor does have fields for a proxy server, port, and optional authentication. Is that not working?

     

     

    -Joe