Forum Discussion
Jon_Strabala_46
Nimbostratus
Dec 15, 2009Only IRULE_INIT events are triggerred
Hello I am new to iRULES and using a system set up with two virtual servers, one is a "default_gateway" which was setup to rout all traffic to the internet. The other is a "irulestest" that is only t...
Jon_Strabala_46
Nimbostratus
Dec 16, 2009I started my testing after Google
[jstrabala@www:Active] log date
Tue Dec 15 14:36:32 HST 2009
It took a while to find a working PC version of CURL
From Traffic Summary Under the Welcome item in the F5 management web interface I hit the Button [Clear Statistics] followed by a [Refresh] button.
From a client (actualy an EVDO dongle) that is routed into the F5 to VIP iruletest (rule test_irule_000)
I ran a couple of tests and I saw the following in the statistics (Traffic Summary)
Requests
HTTP 6
TEST1 - VIP testirule RULE test_irule_000
curl.exe -v 10.0.185.150
* About to connect() to 10.0.185.150 port 80 (0)
* Trying 10.0.185.150... connected
* Connected to 10.0.185.150 (10.0.185.150) port 80 (0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.5 (i586-pc-mingw32msvc) libcurl/7.19.5 zlib/1.2.3
> Host: 10.0.185.150
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Wed, 16 Dec 2009 01:05:25 GMT
< Expires: -1
< Cache-Control: private, max-age=0
< Content-Type: text/html; charset=ISO-8859-1
< Server: gws
< X-XSS-Protection: 0
< Transfer-Encoding: chunked
<
*
*
* Allot of data removed
*
*
* Connection 0 to host 10.0.185.150 left intact
* Closing connection 0
TEST2 - VIP default_route RULE production_irule
curl.exe -v http://www.quantumsi.com/temp/
* About to connect() to www.quantumsi.com port 80 (0)
* Trying 65.203.136.33... connected
* Connected to www.quantumsi.com (65.203.136.33) port 80 (0)
> GET /temp/ HTTP/1.1
> User-Agent: curl/7.19.5 (i586-pc-mingw32msvc) libcurl/7.19.5 zlib/1.2.3
> Host: www.quantumsi.com
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Date: Wed, 16 Dec 2009 01:05:31 GMT
< Server: Apache/1.3.31 (Unix) ApacheJServ/1.1.2 PHP/4.1.2
< Connection: close
< Content-Type: text/html
<
no info
* Closing connection 0
But once again No log file out put at all
[jstrabala@www:Active] log tail -f ltm
Dec 15 08:23:28 tmm tmm[1922]: Rule : test_irule_000 initialized: 991
Dec 15 08:23:28 tmm1 tmm1[1865]: Rule : test_irule_000 initialized: 991
Dec 15 08:23:51 tmm tmm[1922]: Rule : production_rule initialized: 111
Dec 15 08:23:51 tmm1 tmm1[1865]: Rule : production_rule initialized: 111
Dec 15 08:25:08 www bigpipe: Completed config sync all operation
Dec 15 10:33:36 tmm tmm[1922]: Rule : production_rule initialized: 111
Dec 15 10:33:36 tmm1 tmm1[1865]: Rule : production_rule initialized: 111
Dec 15 10:34:55 tmm tmm[1922]: Rule : test_irule_000 initialized: 991
Dec 15 10:34:55 tmm1 tmm1[1865]: Rule : test_irule_000 initialized: 991
Dec 15 10:35:40 www bigpipe: Completed config sync all operation
Note the F5 is not itself set to either resolve DNS or go out on the internet (security ?) So I real don't want to run curl from the F5 itself via curl (it will not work at all)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
