whois 128.10.0.5
#
# Query terms are ambiguous. The query is assumed to be:
# "n 128.10.0.5"
#
# Use "?" to get help.
#
#
# The following results may also be obtained via:
# http://whois.arin.net/rest/nets;q=128.10.0.5?showDetails=true&showARIN=false&e xt=netref2
#
NetRange: 128.10.0.0 - 128.10.255.255
CIDR: 128.10.0.0/16
OriginAS:
NetName: PURDUE-CS-EN
NetHandle: NET-128-10-0-0-1
Parent: NET-128-0-0-0-0
NetType: Direct Assignment
RegDate: 1984-08-01
Updated: 2009-06-19
Ref: http://whois.arin.net/rest/net/NET-128-10-0-0-1
OrgName: Purdue University
OrgId: PURDUE
Address: Information Technology
Address: 155 S. Grant Street
City: West Lafayette
StateProv: IN
PostalCode: 47907-2114
Country: US
RegDate:
Updated: 2010-09-20
Ref: http://whois.arin.net/rest/org/PURDUE
OrgNOCHandle: PNOC-ARIN
OrgNOCName: Purdue Network Operations Center
OrgNOCPhone: +1-765-496-6200
OrgNOCEmail: noc@purdue.edu
OrgNOCRef: http://whois.arin.net/rest/poc/PNOC-ARIN
OrgAbuseHandle: PUISP-ARIN
OrgAbuseName: Purdue University STEAM-CIRT
OrgAbusePhone: +1-765-496-1666
OrgAbuseEmail: abuse@purdue.edu
OrgAbuseRef: http://whois.arin.net/rest/poc/PUISP-ARIN
OrgTechHandle: PURDU-ARIN
OrgTechName: Purdue Hostmaster
OrgTechPhone: +1-765-496-8320
OrgTechEmail: hostmaster@purdue.edu
OrgTechRef: http://whois.arin.net/rest/poc/PURDU-ARIN
RTechHandle: DT50-ARIN
RTechName: Trinkle, Daniel
RTechPhone: +1-765-494-7844
RTechEmail: trinkle@purdue.edu
RTechRef: http://whois.arin.net/rest/poc/DT50-ARIN
#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/whois_tou.html
#
#
# speed limit to download\upload data from Internet
# for local IP's in interface eth0
#
#!/bin/sh
# start shaper
shaper_start() {
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit ceil 100mbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 512kbit ceil 512kbit
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 512kbit ceil 512kbit
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 100mbit ceil 100mbit
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst 192.168.10.0/24 match ip sport 80 0xffff flowid 1:10
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 192.168.10.0/24 match ip dport 80 0xffff flowid 1:10
tc qdisc add dev eth0 parent 1:10 handle 20: pfifo limit 5
tc qdisc add dev eth0 parent 1:11 handle 30: pfifo limit 5
tc qdisc add dev eth0 parent 1:12 handle 40: pfifo limit 10
}
shaper_stop () {
# remove shaper
tc qdisc del dev eth0 root
}
# Restart shaper
shaper_restart (){
shaper_stop
sleep 1
shaper_start
}
# View shaper status
shaper_status (){
# view status shaper
tc -s -d qdisc show dev eth0
}
case "$1" in
'start')
shaper_start
;;
'stop')
shaper_stop
;;
'restart')
shaper_restart
;;
'status')
shaper_status
;;
*)
echo "usage rc.shaper : start|stop|restart|status"
esac