search for: icmp_type

Displaying 5 results from an estimated 5 matches for "icmp_type".

2005 Oct 14
0
tc filter not filtering -or- what am I going wrong?
...$TC class add dev $INTERNET parent 1:1 classid 1:22 htb \ rate 100Kbit ceil 100Kbit $TC class add dev $VVNET parent 1:1 classid 1:22 htb \ rate 100Kbit ceil 100Kbit So far no news! Let try some filtering: $TC filter add dev $VVNET protocol ip \ parent 1:0 prio 2 u32 \ match ip icmp_type 0 0xff flowid 1:22 $TC filter add dev $VVNET protocol ip \ parent 1:0 prio 2 u32 \ match ip icmp_type 8 0xff flowid 1:22 $TC filter add dev $INTERNET protocol ip \ parent 1:0 prio 2 u32 \ match ip icmp_type 0 0xff flowid 1:22 $TC filter add dev $INTERNET protocol ip \ parent 1:0 prio 2 u32 \...
2005 Jan 30
2
PRIO inside HTB - trouble attaching filters correctly?
...wid 10:1 # IAX2 # tc filter add dev $e protocol ip parent 10: prio 1 u32 match ip sport 4569 0xffff flowid 10:1 tc filter add dev $e protocol ip parent 10: prio 1 u32 match ip dport 4569 0xffff flowid 10:1 # match icmp echo request tc filter add dev $e protocol ip parent 10: prio 1 u32 match ip icmp_type 0x08 0xff flowid 10:1 # match icmp echo reply tc filter add dev $e protocol ip parent 10: prio 1 u32 match ip icmp_type 0x00 0xff flowid 10:1 ## etc........... TIA! -Ron
2004 Oct 02
10
Re: LARTC digest, Vol 1 #1927 - 9 msgs
> Message: 9 > To: lartc@mailman.ds9a.nl > Subject: Re: [LARTC] Traffic Balance > Date: Fri, 01 Oct 2004 20:26:55 -0300 (EST) > From: favero@grad.ufsc.br > > list members: if u donĀ“t wanna help, dont disturb! damn god! > everybody here know that LARTC tutorial to load balance is > incomplete! > Alexis: try http://www.ssi.bg/~ja/nano.txt and search the list. > U
2005 May 08
1
tc/htb QoS script
...ip parent 1:0 prio $prioSAP u32 match ip src $SAPNET flowid 1:12 tc filter add dev $DEVICE protocol ip parent 1:0 prio $prioSAP u32 match ip dst $SAPNET flowid 1:12 # A little tweaking.... :-) # match icmp echo request tc filter add dev $DEVICE protocol ip parent 1:0 prio $prioSAP u32 match ip icmp_type 0x08 0xff flowid 1:12 # match icmp echo reply tc filter add dev $DEVICE protocol ip parent 1:0 prio $prioSAP u32 match ip icmp_type 0x00 0xff flowid 1:12 ############### WEB ############### # Web-surfing only possible via $PROXY-Server tc filter add dev $DEVICE protocol ip parent 1:0 prio $pr...
2003 Oct 03
0
SIGBUS on SPARCv9
...p = (struct icmp *)(packet->data + 14 + 20); /* Remember original source and destination */ @@ -217,7 +219,9 @@ memcpy(&hdr->ip_dst, &ip_src, 4); hdr->ip_sum = inet_checksum(hdr, 20, ~0); - + + memcpy(phdr, hdr, sizeof(*phdr)); + /* Fill in ICMP header */ icmp->icmp_type = ICMP_DEST_UNREACH;