Antoine Benkemoun
2010-May-18 21:22 UTC
[crossbow-discuss] Traffic shaping using remote_port ?
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/crossbow-discuss/attachments/20100518/ebc1224e/attachment.html>
venugopal iyer
2010-May-18 21:40 UTC
[crossbow-discuss] Traffic shaping using remote_port ?
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 > crossbow-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/crossbow-discuss/attachments/20100518/1a994449/attachment.html>
Antoine Benkemoun
2010-May-18 21:43 UTC
[crossbow-discuss] Traffic shaping using remote_port ?
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 <venu.iyer at oracle.com>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 > crossbow-discuss at opensolaris.orghttp://mail.opensolaris.org/mailman/listinfo/crossbow-discuss > > > > _______________________________________________ > crossbow-discuss mailing list > crossbow-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/crossbow-discuss/attachments/20100518/fc8b0ac3/attachment.html>
Antoine Benkemoun
2010-May-20 08:35 UTC
[crossbow-discuss] Traffic shaping using remote_port ?
Hello, I am having a lot of trouble upgrading my OpenSolaris from build 111... Would it be possible to add just this feature into a build 111 ? Antoine -----Original Message----- From: venugopal iyer <venu.iyer at oracle.com> Date: Tue, 18 May 2010 14:40:42 To: <crossbow-discuss at opensolaris.org> Subject: Re: [crossbow-discuss] Traffic shaping using remote_port ? _______________________________________________ crossbow-discuss mailing list crossbow-discuss at opensolaris.org http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss
venugopal iyer
2010-May-20 17:37 UTC
[crossbow-discuss] Traffic shaping using remote_port ?
On 05/20/10 01:35 AM, Antoine Benkemoun wrote:> Hello, > > I am having a lot of trouble upgrading my OpenSolaris from build 111... Would it be possible to add just this feature into a build 111 ? >no, unfortunately, it won''t be possible to add it to 111. You might want to check with the opensolaris installation alias etc. to see if your upgrade issue can be sorted out. -venu> Antoine > -----Original Message----- > From: venugopal iyer<venu.iyer at oracle.com> > Date: Tue, 18 May 2010 14:40:42 > To:<crossbow-discuss at opensolaris.org> > Subject: Re: [crossbow-discuss] Traffic shaping using remote_port ? > > _______________________________________________ > crossbow-discuss mailing list > crossbow-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss > > >