Networking Forums

Networking Forums > Computer Networking > Linux Networking > skype optimisation with iptables/tc?

Reply
Thread Tools Display Modes

skype optimisation with iptables/tc?

 
 
nsa.usa@gmail.com
Guest
Posts: n/a

 
      02-22-2007, 09:07 PM
Hi,

Anybody have any idea how to prioritize Skype packets over other
packets using iptables?
How do I tell them apart from other packets, other than relying on
TOS?
I manage a small ISP and the outgoing bandwidth is limited and I need
to prioritize or otherwise optimize the latency etc.
Server runs stock RH 9 with iptables and tc (using HTB)
Any ideas would be helpfull, thanks.

Tobias

 
Reply With Quote
 
 
 
 
Balwinder S \bsd\ Dheeman
Guest
Posts: n/a

 
      02-23-2007, 12:54 PM
On 02/23/2007 03:37 AM, (E-Mail Removed) wrote:

> Anybody have any idea how to prioritize Skype packets over other
> packets using iptables?
> How do I tell them apart from other packets, other than relying on
> TOS?
> I manage a small ISP and the outgoing bandwidth is limited and I need
> to prioritize or otherwise optimize the latency etc.
> Server runs stock RH 9 with iptables and tc (using HTB)
> Any ideas would be helpfull, thanks.


I don't think there is a use of any such hack and, or trick; you are
trying to outsmart many routers over the Internet, which (Internet) is
and, or (routers) are beyond your control. May be, even the very next
hop will ignore all your priority tricks.

--
Dr Balwinder S "bsd" Dheeman Registered Linux User: #229709
Anu'z Linux@HOME Machines: #168573, 170593, 259192
Chandigarh, UT, 160062, India Gentoo, Fedora, Knoppix/FreeBSD/XP
Home: http://cto.homelinux.net/~bsd/ Visit: http://counter.li.org/
 
Reply With Quote
 
nsa.usa@gmail.com
Guest
Posts: n/a

 
      02-27-2007, 07:59 AM
On Feb 23, 3:54 pm, "Balwinder S \"bsd\" Dheeman"
<bsd.SANS...@cto.homelinux.net> wrote:
> On 02/23/2007 03:37 AM, nsa....@gmail.com wrote:
>
> > Anybody have any idea how to prioritize Skype packets over other
> > packets using iptables?
> > How do I tell them apart from other packets, other than relying on
> > TOS?
> > I manage a small ISP and the outgoing bandwidth is limited and I need
> > to prioritize or otherwise optimize the latency etc.
> > Server runs stock RH 9 with iptables and tc (using HTB)
> > Any ideas would be helpfull, thanks.

>
> I don't think there is a use of any such hack and, or trick; you are
> trying to outsmart many routers over the Internet, which (Internet) is
> and, or (routers) are beyond your control. May be, even the very next
> hop will ignore all your priority tricks.
>
> --
> Dr Balwinder S "bsd" Dheeman Registered Linux User: #229709
> Anu'z Linux@HOME Machines: #168573, 170593, 259192
> Chandigarh, UT, 160062, India Gentoo, Fedora, Knoppix/FreeBSD/XP
> Home:http://cto.homelinux.net/~bsd/ Visit:http://counter.li.org/


Well basically we are on a congested satellite link that has direct
access to the european backbone. So if I can somehow prioritize Skype
traffic over f.ex. ftp or http then that can help alot. It is
congested because satellite links are very expensive so we cant affor
to just upgrade th bandwidth. Since the bottleneck is our own outgoing
link then if we optimize it it will help. So how do I detect what
traffic is Skype?
Thanks.

Regards,
Tobias




 
Reply With Quote
 
Balwinder S \bsd\ Dheeman
Guest
Posts: n/a

 
      02-27-2007, 11:38 AM
On 02/27/2007 02:29 PM, (E-Mail Removed) wrote:
> On Feb 23, 3:54 pm, "Balwinder S \"bsd\" Dheeman"
> <bsd.SANS...@cto.homelinux.net> wrote:
>> On 02/23/2007 03:37 AM, nsa....@gmail.com wrote:
>>
>>> Anybody have any idea how to prioritize Skype packets over other
>>> packets using iptables?
>>> How do I tell them apart from other packets, other than relying on
>>> TOS?
>>> I manage a small ISP and the outgoing bandwidth is limited and I need
>>> to prioritize or otherwise optimize the latency etc.
>>> Server runs stock RH 9 with iptables and tc (using HTB)
>>> Any ideas would be helpfull, thanks.

>> I don't think there is a use of any such hack and, or trick; you are
>> trying to outsmart many routers over the Internet, which (Internet) is
>> and, or (routers) are beyond your control. May be, even the very next
>> hop will ignore all your priority tricks.
>>

>
> Well basically we are on a congested satellite link that has direct
> access to the european backbone. So if I can somehow prioritize Skype
> traffic over f.ex. ftp or http then that can help alot. It is
> congested because satellite links are very expensive so we cant affor
> to just upgrade th bandwidth. Since the bottleneck is our own outgoing
> link then if we optimize it it will help. So how do I detect what
> traffic is Skype?


There is no harm in trying it, all you need to do is -- first, analyze
the said traffic on one your own machines with help of some packet
sniffer like wireshark (previously know as ethreal) and then prioritize
these packets in the mangle table with the help of iptables.

Hope that helps!
--
Dr Balwinder S "bsd" Dheeman Registered Linux User: #229709
Anu'z Linux@HOME Machines: #168573, 170593, 259192
Chandigarh, UT, 160062, India Gentoo, Fedora, Knoppix/FreeBSD/XP
Home: http://cto.homelinux.net/~bsd/ Visit: http://counter.li.org/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bandwidth optimisation john Linux Networking 5 11-05-2007 09:21 AM
Skype Sanford Aranoff Wireless Networks 0 11-06-2005 02:02 PM
internet optimisation Dale Walker Broadband 1 02-04-2005 03:43 PM
Skype? Caaagh Broadband 6 10-18-2004 03:32 PM
Skype Derrick Fawsitt Broadband 1 01-03-2004 01:55 AM



1 2 3 4 5 6 7 8 9 10 11