Forum Discussion
bert_92443
Nimbostratus
Sep 13, 2012adding 2 pool into the same virtual-server
I have 2 pools - YAYA_80 with member 172.16.20.1:80 and 172.16.20.2:80
and a second pool YAYA_0 with member 172.16.20.3:0 and 172.16.20.4:0
I would like to have a single virtual-server 10.1...
Not sure what I'm doing wrong here, but the rule doesn't appear to be working as expected. Using Firefox addon I can change my user agent to show the github info and I can confirm in the IIS logs that the user agent is showing the github info, but the traffic isn't being dropped.
I'd like to add some logging so that I can confirm the rule is seeing the user-agent info but that doesn't seem to be working either.
when HTTP_REQUEST {
log local0. "User-Agent:[HTTP::header "User-Agent"]"
if { [HTTP::header "User-Agent"] contains "github.com/tenderlove/mechanize"} {
reject
}
}
[\code]
Any thoughts or suggetions on what I can do better here?
Thanks,
Bob
- Baqar_Husain_81Jan 08, 2009
Nimbostratus
Talk about luck! I was looking for an irule sample that performed similar functions. Thanks ... I'll post if it worked