search for: todev

Displaying 20 results from an estimated 60 matches for "todev".

Did you mean: odev
2017 Sep 28
4
Trusted domain with different short name to DNS name.
Hey, I have 2 trusted domains to deal with, "DEV" and "TODEV", and I have configured smb.conf like this:- [global] workgroup = MAIN security = ADS realm = MAIN.DOMAIN.LOCAL idmap config *:backend = tdb idmap config *:range = 95000-99999 idmap config MAIN:backend = rid idmap config MAIN:range = 100000-999999 idmap config DEV:backend = rid idma...
2005 May 18
4
HTB + IMQ + IPtables marking.
...it /sbin/tc class add dev imq1 parent 2:1 classid 2:20 htb rate 128kbit ceil 768kbit /sbin/tc filter add dev imq1 parent 2: protocol ip handle 10 fw classid 2:10 /sbin/tc filter add dev imq1 parent 2: protocol ip handle 20 fw classid 2:20 /usr/sbin/iptables -t mangle -A PREROUTING -i eth0 -j IMQ --todev 1 /usr/sbin/iptables -t mangle -A PREROUTING -i eth0 -j IMQ --todev 1 /usr/sbin/iptables -t mangle -A PREROUTING -i eth0 -d 202.x.1.0/24 -j MARK --set-mark 10 /usr/sbin/iptables -t mangle -A PREROUTING -i eth0 -d 202.x.2.0/24 -j MARK --set-mark 20 Please help me analyze whats wrong. Thank you....
2005 Jan 31
3
why there is any traffic in default class?
I have: tc qdisc add dev imq0 root handle 1: htb default 30 tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit then: iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0 tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit tc filter add dev imq0 protocol ip parent 1:0 prio 1 u32 match ip src 192.168.2.2 flowid 1:22 so, as I understand any traffic from source 192.168.2.2 and from interface ppp0 must be going directly in to class 1:22, so def...
2005 May 24
6
Problem with marking packets...
...x03 table neo ip route add 80.53.133.24/29 dev $DEV_DSL table dsl ip rule add fwmark 0x04 table dsl And I''m marking traffic as I want. IMQ is working in AB mode. I have src IP before nat, and dst after nat. Upload traffic is going to IMQ1 here: iptables -t mangle -A POSTROUTING -j IMQ --todev 1 Some ideas?
2004 Aug 24
1
IMQ on 2.6.x + iptraf = problem
2004 Nov 19
2
HTB&IMQ
...mangle -A POSTROUTING -d 192.168.50.36 -j MARK --set-mark 2020 #UPLOAD #15k mark 1020 iptables -t mangle -A PREROUTING -s 192.168.50.40 -j MARK --set-mark 1020 iptables -t mangle -A PREROUTING -s 192.168.50.36 -j MARK --set-mark 1020 #imq iptables -t mangle -A PREROUTING -i eth0 -j IMQ --todev 0 iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0 iptables -t mangle -A POSTROUTING -o eth0 -j IMQ --todev 1 iptables -t mangle -A POSTROUTING -o eth1 -j IMQ --todev 1 my ifconfig imq1,imq0 show tx and rx traffic , but upload and download shaping is not ok. please help me 10x ____...
2005 May 06
3
Broken filters?
Hi! By iptables I set marking (-j MARK) just before -j IMQ. There are only three marks. Exectly all of them are ditected to 1:20 Why I see 3 pkts in default 1:30? How explain it? ### imq0: queueing disciplines qdisc htb 1: r2q 10 default 30 direct_packets_stat 0 Sent 631429 bytes 1812 pkts (dropped 0, overlimits 20) ### imq0: traffic classes class htb 1:20 root prio 0 rate 100Kbit ceil
2003 Mar 24
1
IMQ
Hello I have a server with a dsl connection on eth1 and local interface eth0. Because of the NAT i cannot direct traffic to IMQ device in PREROUTING chain but have to use INPUT and FORWARD. So i use rules. iptables -t mangle -A INPUT -i eth1 -j IMQ --todev 0 iptables -t mangle -A FORWARD -i eth1 -j IMQ --todev 0 And now the strange thing: FORWARD traffic gets directed nicely to the IMQ, but INPUT *doesn''t* ! To be just sure i removed "FORWARD" line and left only the "INPUT" (other mangle rules were removed) Chain INPUT...
2005 Jan 30
5
simple questions about imq
...internet heading to the intranet. I would like to have a configuration like this: ---INTERNET1(eth0)-\ /- Local net1 (eth2) GW--imq0 ---INTERNET2(eth1)-/ \- Local net2 (eth3) I think it can be done this way: iptables -t mangle -A PREROUTING -i eth0 -j IMQ --todev 0 iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0 But it would include traffic heading to the gateway directly, wouldn''t it? Can i put these rules to the POSTROUTING chain? And i can still have my CLASSIFY targets in the POSTROUTING chain, because IMQ queing will happen after...
2005 Oct 01
2
imq + htb
...dev imq0 up #marking of incoming from eth1,eth2,eth3 iptables -t mangle -A markov -i eth1 -j MARK --set-mark 1 iptables -t mangle -A markov -i eth2 -j MARK --set-mark 2 iptables -t mangle -A markov -i eth3 -j MARK --set-mark 3 #forward it to imq0 iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0 iptables -t mangle -A PREROUTING -i eth2 -j IMQ --todev 0 iptables -t mangle -A PREROUTING -i eth3 -j IMQ --todev 0 tc qdisc add dev imq0 root handle 10: htb default 20 tc class add dev imq0 parent 10: classid 10:2 \ htb rate 512Kbit ceil 512Kbit ################################################...
2005 Jul 03
1
Getting the IMQ target to work.
Sorry to bug the list with this, but I can''t get past it. littlebear ~ # /usr/local/sbin/iptables -A PREROUTING -t mangle -o eth0 -j IMQ --todev 0 iptables v1.3.1-20050701: Unknown arg `--todev'' Try `iptables -h'' or ''iptables --help'' for more information. I''ve tried every combination of patching and recompiling that I can come up with, although this is my first time manually applying patches....
2005 Jul 27
8
IMQ
ive got such network: |--------| |-------------| | WORLD |---|ROUTER/server| ------ NATED LAN |--------| |-------------| I want to use imq on ROUTER, what behaviour to choose ? AA, BA, AB, BB ?? --
2002 Aug 07
11
pb with ingress policy
...d did= some simple test: modprobe imq numdevs=3D1 tc qdisc add dev imq0 root handle 1: htb default 10 tc class add dev imq0 parent 1: classid 1:10 htb rate 60kbit ceil 512kbit= burst 15k tc qdisc add dev imq0 parent 1:10 handle 10: sfq perturb 10 iptables -t mangle -A PREROUTING -i ppp0 -j IMQ --todev 0 ip li set imq0 up So now all traffic is limited to 60kbit. If I use some particular site fo= r downloading (with wget) I observe the following with tcpdump: At the beginning there is a huge burst (wget indicating something like 45= kbps) than speed decreases dramatically and achieves some equil...
2007 Apr 28
2
Re: LARTC Digest, Vol 26, Issue 24
...c class add dev imq0 parent 1:1 classid 1:20 htb rate 100kbit ceil 2000kbit tc class add dev imq0 parent 1:1 classid 1:30 htb rate 100kbit ceil 2000kbit tc qdisc add dev imq0 parent 1:10 handle 2 sfq tc qdisc add dev imq0 parent 1:20 handle 3 sfq iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0 tc filter add dev imq0 parent 1: prio 0 protocol ip handle 2 fw flowid 1:10 tc filter add dev imq0 parent 1: prio 1 protocol ip handle 3 fw flowid 1:20 iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 80 -j MARK --set-mark 2 iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 20 -j MA...
2005 Nov 25
7
tcpdump not working with imq0 devices
...no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on imq0, link-type LINUX_SLL (Linux cooked), capture size 68 bytes [...] and there is no packet seen. I have sent the packet to imq0 by: rt1:~# iptables -I PREROUTING -t mangle -j IMQ --todev 0 and there is no other entry in mangle table. There is also no firewall entry and no entry in nat table. The ifconfig command show, that the packet goes by imq0: [...] rt1:~# ifconfig imq0 imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00 UP RUNNING NOARP MTU:1...
2007 May 01
1
Re: LARTC Digest, Vol 26, Issue 25
...20 htb rate 100kbit ceil > 2000kbit > tc class add dev imq0 parent 1:1 classid 1:30 htb rate 100kbit ceil > 2000kbit > > > tc qdisc add dev imq0 parent 1:10 handle 2 sfq > tc qdisc add dev imq0 parent 1:20 handle 3 sfq > > iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0 > > tc filter add dev imq0 parent 1: prio 0 protocol ip handle 2 fw flowid > 1:10 > tc filter add dev imq0 parent 1: prio 1 protocol ip handle 3 fw flowid > 1:20 > iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 80 -j MARK > --set-mark 2 > iptables -t mangle -A PRE...
2006 Jan 19
1
IMQ slows computer to a crawl
I am attempting to implement IMQ on a 2.4.31 version kernel with iptables 1.3.3. I am following the example at http://www.linuximq.net/usage.html. When I enter the line iptables -t mangle -A POSTROUTING -o eth1 -j IMQ --todev1 (eth1 is the external interface), the computer slows to a crawl. OK, the CPU is only an AMD K6 233 which is not the world''s greatest CPU, but egress shaping is done at acceptable speed. Neither top nor free is any help. top says the system is using 35% and user about 1%, with load ave...
2005 Jan 05
2
Shaping the sum of incoming and outgoing traffic
Hello, does anyone have a working solution for the shaping both incoming and outgoing traffic in such way, that for a given client the *sum* of incoming and outgoing traffic is somehow defined? My ISP does the same thing, it gives me just a line of a defined rate, no matter the traffic direction (i.e. here is your line, the clock speed is 1024kbps, do what you want). I''m a litte bit
2004 Aug 23
2
imq question
...of putting a rule in iptables in PREROUTING should i use POSTROUTING? And another question is, can I make routing rule based on ip addresses assigned by iptables to an imq device? The idea is, let''s say i have some rules in iptables like: -t mangle -A PREROUTING -s 192.168.0.0/16 -j IMQ --todev 0 Can i route this class thru another ip, something like fwmark is doing? with iptables marking the packets and ip rule fwmark? Best regards, Alin
2007 Apr 26
1
HTB+SFQ
...a: ############################################ #!/bin/sh ifconfig imq0 up tc qdisc add dev imq0 handle 1: root htb default 1 tc class add dev imq0 parent 1: classid 1:1 htb rate 500kbit ceil 2000kbit tc qdisc add dev imq0 parent 1:1 handle 2 sfq iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0 tc filter add dev imq0 parent 1: prio 0 protocol ip handle 2 fw flowid 1:1 ############################################ SCRIPT que NO funciona: ############################################ #!/bin/sh ifconfig imq0 up tc qdisc add dev imq0 handle 1: root htb default 1 tc class add dev imq0 pare...