> >Can somebody point me in the right direction for the correct way of > >setting and accessing the mark value of a packet? The TOS feature in > >Squid uses setsockopt(). Is there an equivalent for mark? Should I be > >using libnetfilter_queue? > > setsockopt(fd, SOL_SOCKET, SO_MARK, ...) Thanks Jan. I was honestly googling that for ages :-) Not really for discussion here, but the whole concept of having a proxy server in combination with traffic shaping rules makes things challenging. All my traffic shaping rules are based on source and destination interfaces, ports, and client addresses, so once a proxy is thrown in, that sort of information is unavailable, as all the traffic is no longer forwarded, but instead goes to and from the local host... Andy -- 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