Thank you Moemen, Layer 5 may be suitable if I can access SSL certificate fields. I'll look into it further!
Many thanks, Alistair Lowe *Mob:* +44 (0)7825 515 951 *LinkedIn: *https://uk.linkedin.com/in/lowealistair On Mon, Jan 29, 2018 at 5:52 PM, Moemen MHEDHBI <[email protected]> wrote: > Hi Alistair, > > On 26/01/2018 12:30, Alistair Lowe wrote: > > Hello all, > > I'm looking to use HAProxy as part of an IOT device server. As my devices > will be bandwidth and resource contained, I can't use HTTP protocol but > require content aware routing and stickiness similar to what HAProxy offers > in HTTP mode today, over a custom protocol on top of TCP. > > What, if any, options and features are available to me under these > circumstances? > > Any advise offered would be greatly appreciated! > > Many thanks, > Alistair > > > In TCP mode, HAProxy can do content aware routing and stickiness based on > the information available at Layer 4 (http://cbonte.github.io/ > haproxy-dconv/1.8/configuration.html#7.3.3) and Layer 5 ( > http://cbonte.github.io/haproxy-dconv/1.8/configuration.html#7.3.4). > If this is not sufficient and you need to look into the custom protocol, > using LUA scripts may be useful here. > > ++ > > -- > Moemen MHEDHBI > > >

