Hello,

Indeed I was trying this on a build 111. I just took a look on a build 134
and I indeed have the remote_port option. Great !

I'll be doing only remote_port then. The collision probability will be low
enough if outbound TCP ports really are random...

I will test this out and see how it goes.

Thank you for pointing this out and for your help,

Antoine

On Tue, May 18, 2010 at 11:40 PM, venugopal iyer <[email protected]>wrote:

>  Hi, Antoine:
>
> You should be able to
> # flowadm add-flow -a transport=tcp,remote_port=<port> -p maxbw=500 -l
> <link> tcp-flow
>
> (You can also set based on remote_ip, but, currently, cannot
> specify the protocol/port with it, see restriction is in
> flowadm(1m)).
>
> which opensolaris build are you using? The remote port went into
> build 126.
>
> If you are using on a build > 126, are you getting an error when
> creating such a flow. Do you have other flows configured?
>
> -venu
>
>
> On 05/18/10 02:22 PM, Antoine Benkemoun wrote:
>
> Hello,
>
> I have been using Crossbow and discovering all the amazing features
> associated. I have a projet that requires me to impose bandwidth regulations
> based on remote TCP port and/or remote IP. I thought Crossbow would be
> capable of such thing but it turns out that there seems to be a strange
> restriction.
>
> Is this possible with Crossbow ? with OpenSolaris using some other tool ?
>
> Such thing may be possible with Linux and tc but I would really like to
> avoid going down that very complicated road.
>
> Thank you in advance for your help,
>
> Antoine
>
>
> _______________________________________________
> crossbow-discuss mailing list
> [email protected]http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss
>
>
>
> _______________________________________________
> crossbow-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss
>
>
_______________________________________________
crossbow-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss

Reply via email to