[rabbitmq-discuss] NC1/CS6 marking of RabbitMQ packets

Kapil Goyal goyalk at vmware.com
Fri Apr 25 18:28:56 BST 2014


Thanks Jeff.

Is there any RabbitMQ configuration that accepts socket-options? The description of 'tcp_listen_options' says it accepts options for sockets. Can this be utilized?

Thanks
Kapil

----- Original Message -----
From: "Jeffrey Ollie" <jeff at ocjtech.us>
To: "Discussions about RabbitMQ" <rabbitmq-discuss at lists.rabbitmq.com>
Sent: Friday, April 25, 2014 8:44:10 AM
Subject: Re: [rabbitmq-discuss] NC1/CS6 marking of RabbitMQ packets

On Thu, Apr 24, 2014 at 8:16 PM, Kapil Goyal <goyalk at vmware.com> wrote:
>
> We have an ask to mark all packets exchanged between RabbitMQ broker and
> client applications to be marked with NC1/CS6. Any suggestions on how this
> can be worked out?

If your hosts are using Linux you can set the DSCP markings using
iptables without modifying the source:

https://urldefense.proofpoint.com/v1/url?u=http://www.linuxtopia.org/Linux_Firewall_iptables/x4172.html&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=JF6BIRiITniYYZhbhzlgNvj%2FeB0%2BYbRBSr0f8NG91qs%3D%0A&m=kJYPJn%2BN%2Bv9KWf%2FRg9Pj5TxTAchQLarnZnAnCjDHjAY%3D%0A&s=0c259dd5fd00de315800a05f44dbbb94cc94a73c75f5e0e3e93a512fc8c19f3e

Otherwise it would involve modifying the code of the server and all of
the client libraries to set the IP_TOS option on all of the sockets
that are created.

-- 
Jeff Ollie
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://urldefense.proofpoint.com/v1/url?u=https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=JF6BIRiITniYYZhbhzlgNvj%2FeB0%2BYbRBSr0f8NG91qs%3D%0A&m=kJYPJn%2BN%2Bv9KWf%2FRg9Pj5TxTAchQLarnZnAnCjDHjAY%3D%0A&s=3dea37c85208707fb6062b1f3e148bd791b0ed614e12a4cf5eeb927079935526


More information about the rabbitmq-discuss mailing list