Displaying 5 results from an estimated 5 matches for "ip_tos_delay".
2004 Dec 27
0
Ingress question with sub classes
...if tcp_dport == 23
// Our interactive sessions
if tcp_dport == 82
if tcp_dport == 8282
// voorlopig omdat ''combined'' spullen precies niet meer werken
// op kernel 2.4.24-axs-1
if tcp_dport == 22 && ip_tos_delay == 1
// ICMP
if ip_proto == 1;
// update server
class (<$group2>)
if tcp_sport == 4000;
// default
class (<$rest>)
if 1;
/* Queueing */
htb ( ) {
/* rate is what they normally...
2005 May 14
1
Need some help
...if udp_sport == 4672
if udp_sport == 4666
if tcp_sport == 6882
if tcp_sport == 6346
class ( <$ftp> )
if tcp_sport == 21
if tcp_sport == 22 || ip_tos_delay == 1
if tcp_sport == 6667 || tcp_dport == 7000;
class ( <$def> )
if 1 ;
htb () {
class ( rate 256kbps, ceil 256kbps ) {
$p2p = class ( rate 56kb...
2004 Apr 16
1
tcng and ip_len
I can''t seem to match packets less than 512 bytes:
class( <$bulk> )
if tcp_dport == 81 && !( ip_len & 0xfe00 )
;
or
if tcp_dport == 81 && ip_len < 512
Both rules match any packet I send to port 81, even when the total IP length
is much greater than 512 bytes:
class htb 2:4 parent 2:1 leaf 5: prio 1 rate 8000bps ceil 24000bps burst 6Kb
cburst 1839b
Sent
2004 Oct 23
0
error making htb example
...kable links to the description text.)
*
*/
#include "fields.tc"
#include "ports.tc"
#define INTERFACE eth0
dev INTERFACE {
egress {
/* In class selection path, the filters come first! DSmark */
class ( <$ssh> ) if tcp_sport == 22 && ip_tos_delay == 1 ;
class ( <$audio> ) if tcp_sport == 554 || tcp_dport == 7070 ;
class ( <$bulk> ) \
if tcp_sport == PORT_SSH || tcp_dport == PORT_HTTP ;
class ( <$other> ) if 1 ;
/* section in which we configure the qdiscs and classes */...
2004 Jul 14
1
tcng/tc setup
...egress {
class(<$lanssh>)
if tcp_sport == 22 || tcp_dport == 22
if ip_src == LAN_IP || ip_dst == LAN_IP;
class(<$dmzssh>)
if tcp_sport == 22 || tcp_dport == 22
if ip_src == DMZ_IP || ip_dst == DMZ_IP;
class(<$ssh>)
if tcp_sport == 22 || tcp_dport == 22
if ip_tos_delay==1 ;
class(<$smtp>)
if tcp_sport == 25 || tcp_dport == 25;
class(<$lanhttp>)
if tcp_sport == 80 || tcp_dport == 80
if ip_src == LAN_IP || ip_dst == LAN_IP;
class(<$dmzhttp>)
if tcp_sport == 80 || tcp_dport == 80
if ip_src == DMZ_IP || ip_dst == DMZ_IP;
class...