ACE4710 Transparent Caching

Hello Friends,
I am facing a problem with the ACE4710, problem description as follows;
We have two IronPort web security boxes loadbalanced using the ACE4710 which configured in the bridged mode for transparent caching . Now we are facing a strange problem with downloading from websites like cisco.com, ibm.com etc.. it gives the error ;;connection timedout''  in the final stage...What we observed that these sites are initially https and then changing to http something like that... below is the configuration details;
==================
serverfarm host IRONPORT-SF
  transparent
  predictor hash url
  rserver IRONPORT-1
    probe IRONPORT-ICMP
    inservice
  rserver IRONPORT-2
    probe IRONPORT-ICMP
    inservice
sticky ip-netmask 255.255.255.255 address source IRONPORT-STICKY
  timeout 60
  timeout activeconns
  replicate sticky
  serverfarm IRONPORT-SF
policy-map type loadbalance first-match IRONPORT-LB
  class class-default
    sticky-serverfarm IRONPORT-STICKY
class-map match-all VIP-TCP443
  2 match virtual-address 0.0.0.0 0.0.0.0 tcp eq https
class-map match-all VIP-TCP80
  2 match virtual-address 0.0.0.0 0.0.0.0 tcp eq www
policy-map multi-match SERVERFARM-POLICY
  class VIP-TCP80
    loadbalance vip inservice
    loadbalance policy IRONPORT-LB
    loadbalance vip icmp-reply active
  class VIP-TCP443
    loadbalance vip inservice
    loadbalance policy IRONPORT-LB
    loadbalance vip icmp-reply active
policy-map type loadbalance first-match IRONPORT-LB
  class class-default
    sticky-serverfarm IRONPORT-STICKY
policy-map multi-match SERVERFARM-POLICY
  class VIP-TCP80
    loadbalance vip inservice
    loadbalance policy IRONPORT-LB
    loadbalance vip icmp-reply active
interface vlan 20
  description ---------CLIENT SIDE INTERFACE---------
  ip address <<IP Address>> <<Mask>>
  alias <<IP Address>> <<Mask>>
  peer ip address <<IP Address>> <<Mask>>
  no normalization
  no icmp-guard
  access-group input ACL-IN
  service-policy input REMOTE-ACCESS
  service-policy input SERVERFARM-POLICY
  no shutdown
interface vlan 208
  description ---------SERVER SIDE INTERFACE--------
  ip address <<IP Address>> <<Mask>>
  alias <<IP Address>> <<Mask>>
  peer ip address <<IP Address>> <<Mask>>
  no normalization
  mac-sticky enable
  no icmp-guard
  access-group input ACL-IN
  no shutdown
=============================
If anybody has the same setup or anyone faced similar problem....Pls comment.
Rgds
Sudheer.

Hi Sudheer,
You mentioned that you are using the ACE in bridge mode, please confirm this point as I don't see any BVI interface configured, so I guess you are using it in routed mode?!
Looking through your configuration and considering routed mode deployment, I don't see how the ACE could effect these connection in anyway, you are doing basic L4 load balancing, and sharing the same sticky group under both policy map, which mean the client will stay stuck to the same server even if it been redirected by the web-site, so this connection change will not effect the ACE load balancing decision.
I would recommend you to capture the traffic on the client, ACE, IronPort simultaneously then have a look who is breaking the communication, that should give you better understanding about the problem.
Best regards,
Ahmad   

Similar Messages

  • ACE :Transparent Cache-SP

    Gurus,
    I have a setup for transparent caching with my SP client and as of now we are using leastconn as predictor with A2(1.3) as the version.
    here are my pain points:
    1. The Cache guys tell me the moment we turn normalization ON the caches cant FTP the logs to their FTP servers (the traffic/conn drops after sometime).we dont have randomization ON.
    I feel its more of the cache issue or of the connection than of security as normalization will either allow or disallow but will not terminate after some time.
    2. also im observing in "show stats" output , lot of "Total layer4 rejections" and some Layer7 conns, and "Total times rserver was unavailable" .. as we see probe-fails a lot when traffic peaks up thus making cache to be out-of-service , need to know when do we have these issues.does it need to have the whole farm to fail or is it for connections failing for a single cache-server?
    any good links to find more on the troubleshooting aspect of ACE ?
    thanks
    Shukla.

    Shukla,
    ACE has a default idle timeout of 1hour for all traffic going through.
    This is true with and without normalization.
    Once the connection times out, it is being removed from the connection-list.
    This is where normalization makes a difference.
    With normalization, a connection can only be established with a SYN.
    So, when the application starts sending again, we do not allow the packets to go through.
    Without normalization, any packet can be used to establish the connection, so when the server start sending data again, we re-establish the connection and allow the packets to go through.
    L4 rejections occur when we can't find a server active - so the whole farm is down.
    Gilles.

  • Load-balancing of transparent cache + IP spoofing + RTSP + MMS not working

    We have already in production an architecture with load-balancing of
    transparent cache + ip spoofing.
    We are unable to do the same for streaming flows (MMS and RTSP).
    We are doing PBR from our core network (2 * C6K) to redirect port 80, 554 and
    1755 toward CSS boxes, same in our access router (2* Ciso7200).
    In this config desired flows are redirected toward the CSS.
    Then CSS should load balance the traffic toward our BlueCoat proxy-cache farm.
    It's working fine for HTTP but we are unable to make it works for MMS and
    RTSP.
    Note that we are requiered to use ECMP to perform IP Spoofing on the CSS, meaning we need 4 routes for each client subnet (one route toward upstream C6K, and 3 routes for each proxy cache). We use acl to get rid off looping condition.
    Anyone who has already put in place Load-balancing of Streaming transparent cache + IP spoofing could give us some hint.
    Many thanks.
    Regards,
    Pierre Viennet

    Gilles, thanks for your input.
    Here where we are at with streaming implementation:
    - HTTP on all type off client is working
    - RTSP: TCP 554 with Real Media client is working
    - RTSP: TCP 554 with WMP not working, but it's due to a bug in Bluecoat implementation, the proxy send an error when he see a request with ( User-Agent: WMPlayer ) for RTSP content.
    - MMS: TCP 1755 not working with IP spoofing enable on the proxy but OK without IP spoofing...
    - UDP 554: not working
    - UDP 1755: not working
    I fully understand the limitation for UDP traffic.
    But I don't see why it's not working for MMS over TCP traffic.
    Note that I have the exact same configuration for RTSP and MMS.
    Why is it not working for MMS with IP spoofing? Are you aware of a difference on the way CSS handle MMS flows? or a specificity of the MMS protocol?
    Below what we can see on the different equipement when trying to launch a MMS over TCP Stream:
    c6k-Faaa#sh mls ip source 195.83.182.72
    Displaying Netflow entries in Supervisor Earl
    DstIP SrcIP Prot:SrcPort:DstPort Src i/f:AdjPtr
    Pkts Bytes Age LastSeen Attributes
    202.3.225.5 195.83.182.72 tcp :1755 :1504 0 : 0
    3 124 17 18:58:12 L3 - Dynamic
    202.3.225.5 195.83.182.72 tcp :1755 :1527 0 : 0
    2 84 3 18:58:20 L3 - Dynamic
    202.3.225.5 195.83.182.72 tcp :554 :1503 0 : 0
    4 360 17 18:58:06 L3 - Dynamic
    c6k-Faaa#
    CSS11503_CORE1# sho flows 202.3.225.5 | grep 1755
    202.3.225.5 38531 195.83.182.72 1755 0.0.0.0 TCP
    2/3 2/1
    202.3.225.5 1527 195.83.182.72 1755 195.83.182.72 TCP
    2/7 2/3
    CSS11503_CORE1# sho flows 202.3.225.5 | grep 1755
    202.3.225.5 38531 195.83.182.72 1755 0.0.0.0 TCP
    2/3 2/1
    202.3.225.5 1527 195.83.182.72 1755 195.83.182.72 TCP
    2/7 2/3
    CSS11503_CORE1# sho flows 202.3.225.5 | grep 1755
    202.3.225.5 38531 195.83.182.72 1755 0.0.0.0 TCP
    2/3 2/1
    202.3.225.5 1527 195.83.182.72 1755 195.83.182.72 TCP
    2/7 2/3
    CSS11503_CORE1#
    TCP 192.168.4.19:1491 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1492 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1493 195.83.182.72:1755 TIME_WAIT
    TCP 192.168.4.19:1502 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1503 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1504 195.83.182.72:1755 TIME_WAIT
    TCP 192.168.4.19:1525 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1526 195.83.182.72:554 TIME_WAIT
    TCP 192.168.4.19:1527 195.83.182.72:1755 TIME_WAIT
    Many Thanks for your input.
    Pierre Viennet.

  • DLSW Ethernet Redundancy Transparent Cache

    I have corrupt entries in the ethernet redundancy transparent cache. These are causing problems establishing new sessions.
    Can I clear the entries individually and how long does the cache take to time out?

    Hi,
    the "dlsw clear transparent circuit" was introduced with CSCdv16277, it is in ios 12.1(11.5) and higher, 12.2(6.4) and higher and it also rolled into 12.3.
    Please note the "circuit" option is hidden. you can not see it with the ? asking for help in the parser.
    in respect to the origin of the erroneous cache entries. They can be a bug on itself. But they also can be a result of a configuration not exactly like it should be.
    I would advice to open a case with the tac and have the configurations sanity checked.
    If this is something you can reproduce at will than we would certainly be very interested how you get into this state.
    Dlsw ethernet redundancy was quite modified a bit in the last 2 years. Depending on what version of code you run you might need to go to a higher level to pick up all the current maintenance.
    My personal few is a recent 12.2 image or even better a recent 12.3 image.
    thanks...
    Matthias

  • How to Configure Transparent caching on Cat 6500 with CSM in bridge mode?

    hi.
    I found How to Configure Transparent caching on Cat 6500 with CSM in routed mode.
    But,
    I need help How to Configure Transparent caching on Cat 6500 with CSM in bridge mode?
    Please let me know sample configuration.
    thanks.

    Hi,
    I wrote the document you mentioned and I also wrote the one below.
    http://www.cisco.com/en/US/partner/products/hw/modules/ps2706/products_configuration_example09186a00802c1201.shtml
    The one with the SSLM is a bridge mode config.
    If you replace the SSLM with a cache [or a farm of caches] it would be a similar config.
    Replace the SSL21 vserver with an HTTP vserver [most important is to keep the vlan configured on each vserver]
    Regards,
    Gilles.

  • Have any one configure transparent caching on ACE module

    How to configure transparent caching on ACE module? Please kindly give me a example configure. Thank you very much.

    here is a basic config.
    The module will intercept traffic coming in on vlan 20 and loadbalance it doing a url hashing to caches in vlan 30.
    The mode is transparent so the destination ip address is preserved.
    serverfarm host CACHES
    transparent
    predictor hash url
    rserver linux1
    inservice
    rserver linux1-24
    inservice
    class-map match-all VIP-TCP80
    2 match virtual-address 0.0.0.0 0.0.0.0 tcp eq www
    policy-map type loadbalance first-match SF-CACHES
    class class-default
    serverfarm CACHES
    policy-map multi-match SLB-CACHES
    class VIP-TCP80
    loadbalance vip inservice
    loadbalance policy SF-CACHES
    interface vlan 20
    ip address 192.168.20.123 255.255.255.0
    peer ip address 192.168.20.121 255.255.255.0
    access-group input PERMIT-ANY
    service-policy input ALLOW-ALL
    service-policy input SLB-CACHES
    no shutdown

  • Transparent Cache & Failover Bypass

    Hi,
    i'm using transparent caching on a 11501 sending all http traffic to a BlueCoat Cache.
    I have set the failover bypass option.
    When the cache is down, the CSS bypass the cache, but the problem is that i want the http requests to have the CSS source address so the firewall let them pass.
    But the http requests have the client ip.
    Is there a solution to this?
    the cache rule is L5
    Thanks

    HI,
    just use the primarySorryServer command (see http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_command_reference_chapter09186a008028fe78.html#wp1140863). This command takes care or requestes if all other services in a content rule failed. In your case this will take place if your Caches are failing. The sorryserver (your firewall) will than take over the job until the caches return working.
    Btw. be aware that this service should only do "routing". So no need for destination NAT.
    Regards,
    Joerg

  • How to Configure Transparent caching on Cat 6500 with CSM in routed mode

    I am trying to configure Transparent caching on Cat 6500 with CSM in routed mode, but facing some problems in it , also I have gone thru the example config on cisco site for transparent caching using CSM on Cat 6500 , but the above does not fit my clients requirement.
    The scenario is like
    Access Switches - Cat6500 with MSFC & CSM - Internet Router
    |
    Cache Engines and Real servers
    The clients as well as real servers are on seperate VLANs (L3) and the requirement is to load balance the internet traffic using cache engines.
    I'd really appreciate any helpful suggestions or any useful links/docs/info on this.
    Thanks
    kumar

    Hello Joerg,
    Thanks for the reply.
    I have already gone thru the sample config shown by this weblink, however this link refers to configuring transparent caching on the CSM in BRIDGED MODE ( i.e both the client and server vlans are having the same IP address ) but in our case , we have multiple L3 VLANS on the CAT6509 having IP addresses in different SUBNETS , and the Real servers to be used for caching also exist on one of these VLANS. Thus, the scenario described by the Weblink does not apply here. Also , in the configuration referred by the above weblink, the VLAN 100 is configured as client , however the endusers are shown to be on vlan200 which is configured as SERVER VLAN in the CSM.
    Dont you think there is something wrong here, I mean the endusers should be on VLAN 100 (Client) and real servers on VLAN 200 (SERVER).
    So, I have to configure CSM in routed mode ( i.e both the client and server vlans will have seperate IP addresses in different subnets ) and the endusers will be on all VLANS .
    Pls let me know , how I can implement this solution.
    Thanks again
    Sudhir

  • Reverse Proxy and Transparent Caching

    I've seen a couple threads on these particular subjects, and I'm still a little curious. I understand that it is possible to have both of these configured, but what is the proper method of accomplishing this?
    For example, our setup is similar to the configuration in the configuration guide for clients and content engines on different subnets, so the transparent part seems pretty simple where the "ip wccp web-cache redirect out" command will be on the interface connected to the internet.
    However, for the reverse proxy portion, can I also configure reverse proxy on the same internet-connected interface with "ip wccp 99 redirect in"? Or does the transparent caching take precendence even though they are for different conditions? If that is the case, do I then need to use the "ip wccp 99 redirect out" command on the interface that would be pointing back towards the origin servers?
    I'd just like to clarify because we don't have test devices to play around with, so we would be modifying production devices.
    As a completely different question, if only transparent caching is configured, is it still possible to use the CE590 as a proxy server? The reason I am asking is that we recently shut down wccp because we were seeing excessive traffic at odd hours. A stroll through the transaction logs revealed that most of this traffic was destined for foreign subnets. It appeared that the CE590 was acting as a proxy for these foreign IPs because the source IP address as well as the data being retrieved were foreign to our network.
    If anyone can help with my questions, it would be greatly appreciated.
    David

    According to this thread,
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.ee8a89a
    if you are redirecting both the services on the same interface, One service takes precedence over the other and I believe transparent web-cache redirect takes precedence over reverse-proxy.I think you need to use the "ip wccp 99 redirect out" command on the interface that would be pointing back towards the origin servers.
    For details refer:
    http://www.cisco.com/en/US/partner/products/sw/conntsw/ps491/products_configuration_guide_chapter09186a00800af658.html#19607
    I'm not too sure about the CE 590 but i know that the CE 560 can be used as a proxy for transparent caching using WCCP.

  • Transparent Caching causing permanent WAN-Traffic

    Hello,
    we enabled Windows 7 Transparent Caching in one of our branch offices via Group Policy.
    We limited the Cache Size to 5GB and max file size 512MB. The branch office uses a central fileserver connected via a 2x2Mbit Link (MPLS). During the course of the week, we observed high bandwidth usage after we enabled Transparent Caching on the Clients. Digging
    deeper into the problem we used network sniffers and procmon from sysinternals to see what is going on. We also connected to several clients that produced the traffic to see what the users were doing (copy jobs running?).
    What we found out: The traffic was not unidirectional, but up and download bandwidth was EQUALLY eaten up. The clients had NO copy jobs running, just Outlook, Word and Excel open with no file transfer going out through these applications.
    The users also had some Windows Explorers open and these showed a directory listing of the remote fileservers they were working with. After we closed the Windows Explorer windows, the traffic immediately stopped!
    Through network sniffing we found out that the explorer process was constantly pulling directory data from the remote fileserver. So you see a SMB request packet from the client and then a packet with a filename from the remote fileserver. Looks like a directory
    traversing. You see also that these files (or at least some KB from them) are written to the C:\windows\csc directory structure. I first tought about the search indexer, but this should not touch network drives by default. But even more strange is that this
    traffic stops immediately when the explorer windows are closed.
    What is this and how can this be avoided?

    Hi,
    How do you configure Offline files? What's your "Configure Background Sync" settings?
    Background Sync is a machine-specific setting which applies to any user who logs on to the specified computer while this policy setting is in effect. This policy setting is in effect when a network folder is determined to be in “slow-link” mode, as specified
    by the “Configure slow-link mode” policy setting.
    If your fileserver make big change constantly, you may need to update the list of directory paths that the functionality can be enabled for.
    To provide data integrity, Windows 7 always contacts the server to ensure that the cached copy is up to date.
    For detailed information to check, please refer to the following article:
    Configuring New Offline Files Features for Windows 7 Computers Step-by-Step Guide
    http://technet.microsoft.com/en-us/library/ff633429(v=ws.10).aspx
    Best regards,
    Karen Hu
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • If cache go down, how to bypass Transparent Caching in CSM ?

    hi.
    I configured transparent caching in CSM.
    But cache go down, CSM dropped traffic to web server.
    In this case, deed more configuration?
    please me know how to bypass in cache go down .
    thanks.
    ============== CSM configuration ==================
    module ContentSwitchingModule 3
    vlan 10 client
    ip address 192.168.112.2 255.255.255.0
    route 172.29.0.0 255.255.0.0 gateway 192.168.112.1
    vlan 11 server
    ip address 192.168.112.2 255.255.255.0
    gateway 192.168.112.3
    route 172.18.1.10 255.255.255.255 gateway 192.168.112.4
    probe CACHE icmp
    interval 2
    retries 1
    failed 2
    receive 1
    serverfarm CACHE
    no nat server
    no nat client
    real 172.18.1.10
    inservice
    probe CACHE
    serverfarm FORWARD
    no nat server
    no nat client
    predictor forward
    policy NOCACHE
    client-group 10
    serverfarm FORWARD
    policy CACHE
    serverfarm CACHE
    vserver FROMCACHE
    virtual 0.0.0.0 0.0.0.0 any
    serverfarm FORWARD
    persistent rebalance
    inservice
    vserver REDIRECT
    virtual 0.0.0.0 0.0.0.0 tcp www
    vlan 10
    serverfarm CACHE
    persistent rebalance
    slb-policy NOCACHE
    slb-policy CACHE
    inservice
    access-list 10 permit 172.29.1.10

    under your vserver redirect, instead of configuring 'serverfarm cache' configure 'serverfarm cache backup forward'
    If the serverfarm cache goes down, the CSM will use the backup which is a forward.
    However, in this case, the response from the server will probably not come back to the CSM, so you should configure the vserver with the command 'unidirectional' as well.
    Regards,
    Gilles.

  • Transparent Cache; Need separation for YouTube.

    Gurus,
    here I'm again trying to get some insight to my clients cache issues:
    We recently wanted to separate Youtube traffic from the global cache pool and make a separate 3-cache pool, we hit a major issue, the moment we added the paramters/class-maps/policy-maps, we saw ACE dropping 80% of normal existing traffic and we were left with an outage of the web, the ACE just wont pass traffic, even after we removed the class-maps and polices and reloading the ACE module , had to reboot the c6500s
    Here the config:
    YOUTUBE SERVERFARM:
    rserver host BCXX
    description BC-YOUTUBE-x
    ip address X.X.X.X
    inservice
    rserver host BCYY
    description BC-YOUTUBE-y
    ip address Y.Y.Y.Y
    inservice
    rserver host BCZZ
    description YOUTUBE -z
    ip address Z.Z.Z.Z
    inservice
    serverfarm host LEASTCONNECTIONS_FARM
    description Transparent Proxy Least Connection Farm
    transparent
    failaction purge
    predictor leastconns slowstart 60
    probe PORT_80
    rserver BC05
    inservice
    rserver BC06
    inservice
    rserver BC07
    serverfarm host YOUTUBE_FARM
    transparent
    failaction purge
    predictor roundrobin
    probe PORT_80
    rserver BC-YOUTUBE-x
    inservice
    reserver BC-YOUTUBE-y
    inservice
    rserver BC-YOUTUBE-z
    inservice
    class-map type http loadbalance match-any YOUTUBE-1
    2 match http header Host header-value "www.youtube.com"
    class-map type http loadbalance match-any YOUTUBE-2
    2 match http url /get_video.*
    sticky ip-netmask 255.255.255.255 address both STICKY_SF
    timeout 30
    timeout activeconns
    replicate sticky
    serverfarm LEASTCONNECTIONS_FARM
    policy-map type loadbalance first-match TRANSPARENT_LB_PM
    class YOUTUBE-1
    serverfarm YOUTUBE_FARM
    class YOUTUBE-2
    serverfarm YOUTUBE_FARM
    class class-default
    sticky-serverfarm STICKY_SF
    , We saw some buffer crunches but not sure, we are running A2(1.3) .
    last year we had same config with ONLY mathcing URL /get_video.* and was working fine with dest_ip hashing,
    this time we added the host www.youtube.com and 3 separate caches.
    doesnt seem to make sense to us,
    if anyone has worked to segregate U-tube , do share their config philosophy.
    we are thinking about separate context or diff policies, but that's too much config related, still all options open.
    do let me now champs..
    Shukla.

    if you had to reboot the cat6k this is not a ACE issue.
    The ACE module sits inside the cat6k but should be considered as an external device.
    To separate Youtube traffic you need a new feature of A2(1.4) to hash the secondary cookie value.
    CSCsq99736: ACE predictor hash url should not stop parsing at "?" delimiter
    All video in youtube comes from the same url but with an option "watch?v=9LMTClqvCGs"
    What you need to do is hash the value which can be done with A2(1.4).
    This will guarantee that you always get to the same cache for the same video.
    But your total meltdown was not the result of ACE.
    Sth else must have happened.
    If ACE was the problem, a reboot of ACE w/ a known-working config should have been enough.
    Try not to reboot as a way to fix problems.
    Call the TAC and let them troubleshoot your issue live.
    Gilles.

  • Verification of Transparent cache configuration

    I would like to load balancing a web cache server.
    whenever a client connect to http, the traffic reached a MSFC,
    the MSFC check dst:0.0.0.0:80, and then forwarding to ACE?
    the flow right? It just check only a http to redirect cache!
    So I made a configuration like below.
    access-list anyone line 10 extended permit ip any any
    access-list anyone line 20 extended permit igmp any any
    access-list anyone line 30 extended permit icmp any any
    access-list anyone line 40 extended permit pim any any
    rserver host Cache_1
    ip address 192.168.2.10
    inservice
    rserver host Cache_2
    ip address 192.168.2.11
    serverfarm host CACHES
    transparent
    predictor hash url
    rserver linux1
    inservice
    rserver linux1-24
    inservice
    class-map match-all VIP-TCP80
    2 match virtual-address 0.0.0.0 0.0.0.0 tcp eq www
    class-map type management match-any remote_access
    2 match protocol telnet any
    3 match protocol icmp any
    4 match protocol http any
    5 match protocol https any
    policy-map type loadbalance first-match SF-CACHES
    class class-default
    serverfarm CACHES
    policy-map multi-match SLB-CACHES
    class VIP-TCP80
    loadbalance vip inservice
    loadbalance policy SF-CACHES
    interface vlan 20
    description From_Client
    ip address 192.168.1.2 255.255.255.0
    access-group input anyone
    access-group input PERMIT-ANY
    service-policy input remote_mgmt_allow
    service-policy input SLB-CACHES
    no shutdown
    inter vlan 30
    description From_Server
    ip address 192.168.2.1 255.255.255.0
    service-policy input remote_mgmt_allow
    no shutdown

    this looks good to me.
    Except you should configure an access-group input on interface vlan 30 to allow traffic from the cache.
    Gilles.

  • Pacman transparent HTTP cache

    Hey all,
    I'm a fairly new Arch user, and to be honest, a fairly new Linux user in general. Over the years I tried so many times to make the transition from Windows to Linux and after finding Arch, I felt it was finally time, but I digress...
    I now run 2 Arch machines here and one Arch virtual machine, but I found myself with a little problem. Having 3 machines meant that it required either 3 times the bandwidth to keep them updated, or a lot of hassle with copying packages around the network. I even experimented with using the Pacman cache directory on an NFS share, but none of these were acceptable to me.
    So this afternoon I sat down and coded a solution I was happy with.
    I run a small Linux server here, Debian based, which serves as a small file server to the local network and also hosts a few services for myself and a friend. This server also runs Lighttpd which I use for developing with PHP and Perl.
    The idea was that this machine would be a mirror for Arch to update from, but I didn't want to mirror everything, just those packages which I used. After much searching through Google I discovered someone who had done something similar for Debian based distributions, apt-cache. It's essentially a small web-server which, when queried for a package, first checks it's local cache, and if it doesn't find the file, it downloads it from an official mirror, both storing it locally and sending it to the client.
    I've never coded in Java personally and I didn't want to have 2 web-servers running when one would suffice, so I set about coding something similar in PHP.
    The end result is 130 lines of code, and a url.rewrite rule, which achieves exactly what I was after. It works like this:
    1) Pacman requests a file from the local server
    2) Local server checks to see if it has the file
    3a) Local server cannot find the file so it requests it from an Arch mirror
    4a) The file is simultaneously downloaded, written to disk and sent to Pacman.
    3b) Local server has the file
    4b) The file is sent to Pacman
    The end result is a transparent cache which will only have to download the file once. An example of the speed increase is as follows:
    # pacman -S --downloadonly kernel26
    kernel26 21.7M 806.4K/s 00:00:28
    # rm /var/cache/pacman/pkg/kernel26-2.6.21.5-1.pkg.tar.gz
    # pacman -S --downloadonly kernel26
    kernel26 21.7M 8.5M/s 00:00:03
    As you can see, after the package was cached on the server, it didn't need re-downloading and as such it transferred to the local machine at LAN speeds.
    My mirror entries for the repositories looks like this:
    Server = http://192.168.0.1/pacman-cache/pkg/current/os/i686/
    Server = http://192.168.0.1/pacman-cache/pkg/extra/os/i686/
    etc....
    So, my question is this; would anyone out there be interested in the code? Right now it still needs a lot of work before it could be made public as there's very little error checking; I need to handle unexpected conditions like a broken download, and I also have to add handling to deal with the db.tar.gz files being updated, but as and when I feel it's ready would anyone use it?
    I'd appreciate any input anyone felt like sharing, even feature requests =^.^=
    PS: I hope this is in the right sub-forum... I didn't think it belonged in the actual Pacman forum, but if it did, apologies!

    Just a little update
    I solved the timeout problem. It wasn't a misconfiguration but rather a bug in the code that was causing it to stall randomly when retrieving a remote package, it'll now happily retrieve multiple packages without a problem.
    The following new features have been added since I last posted:
    Logging support
    It's a little primitive, but it works. The location of the log file is customizable so it should be possible for logrotate to work with it, hence I've not added any rotation system of my own.
    Setup support
    The cache script now functions correctly when initially installing Arch via the /arch/setup script. I've run it through once or twice, but it could do with further testing.
    Testing & Unstable repository support
    Self explanatory really
    Currently the script only supports the i686 architecture (due to some hard-coded paths), I'd need to do some recoding to support x86_64 as well, it's something I'm considering, assuming I can get VMWare to run a 64bit Arch install. Resuming is still on the "maybe" pile as I'm still trying to come up with a way of coding it cleanly, it's a case of trying to balance effort vs reward on this one.
    I'm also currently working on a quick-and-simple administration interface for the cache. It should let you see what files are cached, remove selected ones or an entire repository worth of cache. Perhaps even have the ability to verify the local files against the md5 summary files I build. It's in the early stages right now, but it'll hopefully be complete in the near future.
    Overall it works very well and depending on how many bugs I run into when giving it a real test, I should be able to release it here in the not-too-distant future, then anyone who's interested can play with it and perhaps improve it beyond my original design.

  • Cache engine http transparent proxy and caching

    Hi..
    My customer some GPRS user in which they couldn't control proxy setting of the web browser.
    Is it possible to configure on a cache engine such that when these users access the Internet, they will be intercepted by the cache engine. THe cache engine then forwards the request to a proxy server and out to the Internet ?
    Rgds
    Eng Wee

    It is possible to configure the cache engine to provide access to the users. The following URL shows an example on how to configure the Cisco Cache Engine for transparent caching using the Web Cache Coordination Protocol (WCCP).
    http://www.cisco.com/warp/public/117/cache_engine/transparentconfig.html
    This scenario is pretty similar to your requirement. Hope this helps.

Maybe you are looking for

  • How to install Windows 7 in new laptop

    I bought a Pavillion 12-p157d.  I need windows 7 because two of the programs I need to run do not run on Windows 8. After several futile attempts to overwrite the Windows 8 operating system I bought and installed a new hard drive.  The system still r

  • Gaps in DW not showing in IE7

    Hi all, I'm building a website using DWCS3's 'fixed layout with header and footer' The page looks great in DW but when I preview in the IE7 browser, it looks different. In DW, there is a small gap (around 20px) at the top of the sidebar and the main

  • Event ID 100 in Event Viewer

    After upgrading ITunes to version 10.2.2.12, I have been receiving error messages in my Windows 7 Event Viewer. The errors occur when the PC goes to sleep.  I realize I can disable Bonjour in Services but prefer to keep it enabled if possible. I am u

  • Wireless WPA2-Enterprise + 802.1x (EAP-PEAP/MSCHAPv2) config

    Hello, We're in the process of moving all of our wireless from WPA-PSK to WPA2-Enterprise with 802.1x EAP-MSCHAPv2 (PEAP). All workstations are Windows 7 with the 2SP3 IR2 client. What we'd like is for the 802.1x SSO functionality to work so users do

  • Cannot arrange/sort libraries manually in Aperture 3.1.3

    Hi, I cannot arrange/sort libraries manually in Aperture 3.1.3. In the Library pane I tried to drag and drop the libraries to keep them manually arranged, having selected "Manual" in the folder and general sorting options for libraries. The weird thi