User requests the ability to create "upstream aware" toxics (e.g., dropping traffic based on client IP) to facilitate testing of peer-to-peer systems like Cassandra or Akka clusters.
I'd like to be able to write toxics that are upstream aware e.g. drop if client's IP = x. This will be useful for testing peer 2 peer systems rather than client server. The usecase I have in mind is for a service that forms a cluster e.g. a Cassandra Cluster or an Akka Cluster I'd like to have toxi proxy between each P2P connection and be able to simulate a node misbehaving. As these are P2P systems each node will connect to a subset of other nodes so I only wan to disrupt incoming traffic from a given source. To support this I think we'd need to add more information to `ToxicStub` or create a new toxic type. WDYT? Is this something you'd accept if I worked on it?