Hi Vikas, in a very controlled environment, loadbalancer to real servers, I'm doing that using the IP TOS / DSCP header bits - manipulating them using the TOS target, on the loadbalancer, in mangle/PREROUTING rules, and matching them using the tos match on the realservers (nat PREROUTING) to effect REDIRECT to different local ports (various apache listening ports). Not for the faint of heart... There is no nice wide standard "I've got these bits to freely set and get them to arbitrary destinations" mechanism on the IP or TCP layer. netfilter can't invent such... best regards Patrick On Fri, Mar 31, 2017 at 7:16 AM, Vikas <vikas.c.kumar@xxxxxxxxxx> wrote: > Hi, > > I was wondering if how we can set some user specified values when we punt a > packet from source to destination in a infrastructure which uses netfilter? > More precisely at the source side so that when packet reaches destination > host, it can decode the metadata values. > Is their a way out? Any pointer/link would be appreciated. > > Regards > Vikas > > -- > To unsubscribe from this list: send the line "unsubscribe netfilter-devel" > in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html