This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems configing the new proxy.pac settings

Nomatter what i type in the javascript box i get this error

Cannot apply changes:
conflicting data types for specified node

Even if i type nothing and just hit apply.


Second question is how to test, Once i get the text typed in, am i able  to hit this file by typeing http://address/wpad.dat


This thread was automatically locked due to age.
Parents
  • Barry, you clearly know more about this than I, but I did play a little with this today.  Don't you need to have "function FindProxyForURL(url, host)" as the first line in the box?  I tried without that and still didn't get the message you have.  Did you recently do an upgrade from V7.3?

    If I understand your code, isn't it a requirement that the other subnets be enabled to reach the proxy at 10.10.10.1 with packet filter rules?  Wouldn't another alternative also work?

    function FindProxyForURL(url, host)
    { 
    if (isInNet(myIpAddress(), "10.10.10.0", "255.255.255.0")) 
    return "PROXY 10.10.10.1:8080"; 
    if (isInNet(myIpAddress(), "10.10.11.0", "255.255.255.0")) 
    return "PROXY 10.10.11.1:8080"; 
    if (isInNet(myIpAddress(), "10.10.12.0", "255.255.255.0")) 
    return "PROXY 10.10.12.1:8080"; 
    else 
    return "DIRECT"; 
    }



    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Barry, you clearly know more about this than I, but I did play a little with this today.  Don't you need to have "function FindProxyForURL(url, host)" as the first line in the box?  I tried without that and still didn't get the message you have.  Did you recently do an upgrade from V7.3?

    If I understand your code, isn't it a requirement that the other subnets be enabled to reach the proxy at 10.10.10.1 with packet filter rules?  Wouldn't another alternative also work?

    function FindProxyForURL(url, host)
    { 
    if (isInNet(myIpAddress(), "10.10.10.0", "255.255.255.0")) 
    return "PROXY 10.10.10.1:8080"; 
    if (isInNet(myIpAddress(), "10.10.11.0", "255.255.255.0")) 
    return "PROXY 10.10.11.1:8080"; 
    if (isInNet(myIpAddress(), "10.10.12.0", "255.255.255.0")) 
    return "PROXY 10.10.12.1:8080"; 
    else 
    return "DIRECT"; 
    }



    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
  • Did you have error messages in confd.log (Configuration daemon ) like that:

    "INCOMPATIBLE_DATA (conflicting data types for specified node)" 
    and
    value="REF_DefaultHTTPCFFBlockAction" ?

    Maybe the "Default content filter block action" in HTTP / Profiles / Filter Actions is missing and you have to recreate this on the command line (ssh or console)

    cc
    OBJS
    http
    cff_action
    new REF_DefaultHTTPCFFBlockAction
    av=0
    spyware=0
    mode=deny
    name=Default content filter block action
    max_filesize=10
    extensions=[]
    comment=This is the default content filter block action profile 
    w

    (every line ended with ENTER)

    Good luck!

     

    Sophos Certified Architect (UTM + XG)