From mboxrd@z Thu Jan 1 00:00:00 1970 From: bert hubert Date: Wed, 12 Dec 2001 09:31:35 +0000 Subject: Re: [LARTC] SFQ Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Tue, Dec 11, 2001 at 11:50:12PM -0800, Don Cohen wrote: > > > Here different flows are distinguished by source & dest addresses and > > > source port. > > > > > > Is this right? > > > > Exactly. > > > > Regards, > > > > bert > > I think this is not quite right. > Also dest port, right? case __constant_htons(ETH_P_IP): { struct iphdr *iph = skb->nh.iph; h = iph->daddr; h2 = iph->saddr^iph->protocol; if (!(iph->frag_off&htons(IP_MF|IP_OFFSET)) && (iph->protocol = IPPROTO_TCP || iph->protocol = IPPROTO_UDP || iph->protocol = IPPROTO_ESP)) h2 ^= *(((u32*)iph) + iph->ihl); break; } In case of ipv4: destination address source address ip protocol source port/dest port tuple I missed the fact that the first 4 octects of the IP sub-protocol header were include in (u32). > and re: > Subject: Re: [LARTC] sfq as solution to "Small ISP problems" > > > > 1: SSH - to be realtime always. > > > I don't think you want this to always be high prio - that includes scp. > > > > your'e right, only the real ssh traffic.. > > How do you propose to tell the difference between ssh and scp? Read the HOWTO. Scp doesn't set the 'minimum delay' flag. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services Trilab The Technology People Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/