Hi, all!

What I wanna to do is using acl to capture the TOS field on
http-request traffic.

On Thu, Jan 2, 2014 at 10:29 AM, Ge Jin <[email protected]> wrote:
> Hi, Lukas!
>
> Thats great, but is there can be anything like this?
>
> acl bad_guys tos-acl   0x20
> block if bad_guys
>
> On Tue, Dec 31, 2013 at 7:14 PM, Lukas Tribus <[email protected]> wrote:
>> Hi,
>>
>>
>>> Could haproxy add a tos based acl? 
>>> http://en.wikipedia.org/wiki/Type_of_service
>>> We want to do some action on the traffic based on the tos field.
>>
>>
>> Should work already with something like this:
>>  acl local_net src 192.168.0.0/16
>>  http-response set-tos 46 if local_net
>>
>> http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4.2-http-response
>>
>>
>>
>> Regards,
>>
>> Lukas

Reply via email to