search for: mangl

Displaying 20 results from an estimated 3889 matches for "mangl".

Did you mean: mangle
2005 Jul 05
0
Please: Judge this script
...10 tc qdisc add dev eth1 parent 1:12 handle 120: sfq perturb 10 tc qdisc add dev eth1 parent 1:13 handle 130: sfq perturb 10 tc qdisc add dev eth1 parent 1:14 handle 140: sfq perturb 10 tc qdisc add dev eth1 parent 1:15 handle 150: sfq perturb 10 #Se asocian las marcas que hubiera en iptables mangle con las bandas respectivas tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 1 fw classid 1:10 tc filter add dev eth1 protocol ip parent 1:0 prio 2 handle 2 fw classid 1:11 tc filter add dev eth1 protocol ip parent 1:0 prio 3 handle 3 fw classid 1:12 tc filter add dev eth1 protocol i...
2004 May 08
1
Dual Multipath DSL Script Problem!
...#39;s gateway NET_EXT_GW1=192.168.21.2 # Second external interface NET_EXT_INT1=eth2 # Second external IP NET_EXT_IP1=192.168.22.1 # Second external interface''s gateway NET_EXT_GW1=192.168.22.2 echo "Flushing All Tables" iptables -F iptables -F -t nat iptables -F -t mangle iptables -X -t nat iptables -X -t mangle iptables -X echo "Mangle eth1" iptables -t mangle -N eth1 iptables -t mangle -F eth1 iptables -t mangle -A eth1 -p tcp -j LOG --log-prefix " MANGLE_TCP_ETH1 " iptables -t mangle -A eth1 -p icmp -j LOG --log-prefix " MANGLE_...
2005 Jul 06
2
Please: "judge" this script
...th0. The LAN has eth1 and NAT. I formed the band so that shaping goes by the eth1 (of the LAN) with bandwidth maximum CEIL=768. But I observe that the traffic sometimes accelerates and other moments stops. Please, you they could say to me what is bad of script that I paste below??? (iptables mangle mark ports 54xxx is for emule) Thanks for its patience. ----------paste script------------------------------------------------- CEIL=768 #Primero borrar todas las bandas que pudiera haber tc qdisc del dev eth1 root #Se crea la banda principal root 1, cuyos paquetes por defecto van a la banda 1...
2004 Nov 02
2
Wierd 8.3 Name Mangling
I've installed Samba 3.0.7 (stock Debian package), but I'm having some wierd problems with name mangling. The relevant lines in smb.conf are: preserve case = yes short preserve case = yes mangled names = yes mangle prefix = 5 mangling method = hash2 In a share, I did "touch test-file.GHO" to create a long filename. When I do a "dir" under DOS, however, it show...
2005 Jul 06
8
HTB and bittorrent, won''t work
...maybe its a bittorrent problem, because with the edonkey protocol I have no problem at all, traffic get shaped and I can use the rest of my bandwidth, I''ll post my iptables rules for marking the bittorrent packets and the htb rules I use (using tcng): ### IPTABLES RULES ### iptables -t mangle -F iptables -t mangle -X iptables -t mangle -N lay7 iptables -t mangle -A POSTROUTING -j lay7 iptables -t mangle -A lay7 -m layer7 --l7proto bittorrent -j MARK --set-mark 1 iptables -t mangle -A lay7 -o eth1 -m mark --mark 1 -j CLASSIFY --set-class 2:2 iptables -t mangle -A lay7 -m layer7 --l7pro...
2006 Sep 21
0
layer7 http
...TER_IN root 2> /dev/null > /dev/null $TC_BIN qdisc del dev $INTER_IN ingress 2> /dev/null > /dev/null $TC_BIN qdisc del dev $INTER_OUT root 2> /dev/null > /dev/null $TC_BIN qdisc del dev $INTER_OUT ingress 2> /dev/null > /dev/null # Delete magle''s rules $IPT_BIN -t mangle -F $IPT_BIN -t mangle -X $IPT_BIN -t mangle -Z ######################## # TC Rules ######################## # initRules $TC_BIN qdisc add dev $INTER_OUT handle 1: root htb default 1 $TC_BIN class add dev $INTER_OUT parent 1: classid 1:1 htb rate $LINK_RATE_UP $TC_BIN filter add dev $INTER_OUT pa...
2007 Sep 03
3
Classes do not receive any traffic ?
...d;/aim*/d;/msnmessenger*/d;/yahoo*/d;/qq*/d;/battlefield1942/d;/battlefield2/d;/counterstrike-source*/d;/dayofdefeat-source*/d;/doom3*/d;/halflife2-deathmatch*/d;/mohaa*/d;/quake-halflife*/d;/quake1*/d;/worldofwarcraft*/d'' /tmp/1 > /tmp/2 fi i=`cat /tmp/2|wc -l` j=1 iptables -t mangle -N ${dev[2]}_SKYPE iptables -t mangle -A ${dev[2]}_SKYPE -p tcp --sport 1:1024 -j RETURN iptables -t mangle -A ${dev[2]}_SKYPE -p udp --sport 1:1024 -j RETURN iptables -t mangle -A ${dev[2]}_SKYPE -p tcp --dport 1:1024 -j RETURN iptables -t mangle -A ${dev[2]}_SKYPE -p udp --dport...
2003 Nov 13
1
HTB traffic shaping + squid cache proxy
...IL, ICQ, IRC, SSH and etc. ------------------------------------------------------------------------- #!/bin/bash TC=/sbin/tc IPTABLES=/usr/sbin/iptables $TC qdisc del dev eth0 root 2> /dev/null > /dev/null $TC qdisc del dev ppp0 root 2> /dev/null > /dev/null $IPTABLES -F POSTROUTING -t mangle $TC qdisc add dev eth0 root handle 1: htb default 50 r2q 2 $TC class add dev eth0 parent 1: classid 1:2 htb rate 248Kbit burst 35k $TC class add dev eth0 parent 1:2 classid 1:10 htb rate 220Kbit ceil 240Kbit burst 25k prio 0 $TC class add dev eth0 parent 1:2 classid 1:30 htb rate 28Kbit ceil 2...
2001 Sep 26
3
Name mangling bug: was samba bug?
...ropping the trailing dots BEFORE it sends the request over the wire. so samba never sees the name foo..., thus does not create it. Don -----Original Message----- From: James Nord [mailto:teilo@cdt.luth.se] Sent: Wednesday, September 26, 2001 9:34 AM To: James Nord Cc: samba@samba.org Subject: Name mangling bug: was samba bug? James Nord wrote: > Hi, > > I stumbled accross the following just now (samba 2.2.2-pre) > > anyone else seen this? is it known? > > windows explorer make a new folder "foo..." -> gets renamed to "foo" > i.e. looses the traili...
2006 Feb 02
0
Linux Gateway Qos_2 interfaces (1 lan and 1 internet) problem
...ong? Here is the script i use: -------------------------------------------------------------------- #!/bin/bash # clean existing down- and uplink qdiscs, hide errors tc qdisc del dev eth1 root 2> /dev/null > /dev/null tc qdisc del dev eth1 ingress 2> /dev/null > /dev/null #Create a mangle array iptables -t mangle -F #MSS Clamping discovery iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu #------------------------------------ Klasseis -----------------------------------------------# #Create classes # root class tc qdisc add dev eth1 root handle 1:...
2015 Jan 09
2
Name mangling problem
Hi all, I run samba 3.6.6 from debian wheezy (version 3.6.6) and i am experiencing some troubles with file name mangling. If i try "dir /x" on a mapped folder it gives me unexpected mangled names: the name mangling matches only the first character and not the first 5 as i expect. For example: if the long file name is LONGFILENAME.TXT, i expect the mangled sholud be something like LONGF~01.TXT, but i...
2007 Apr 18
1
[Bridge] Multilink + bridge + nat problem
...50 from 217.125.139.204/26 table 150 /sbin/ip rule del prio 101 fwmark 0x4000/0xf000 table 151 /sbin/ip rule del prio 151 from 80.32.61.58/24 table 151 /sbin/ip rule del prio 200 table 200 /sbin/ip route flush table 150 /sbin/ip route flush table 151 /sbin/ip route flush table 200 /sbin/iptables -t mangle -D PREROUTING -j MARCAR_IFACE /sbin/iptables -t mangle -F MARCAR_IFACE /sbin/iptables -t mangle -X MARCAR_IFACE /sbin/iptables -t mangle -F MARCAR_IFACE_TRAFICO /sbin/iptables -t mangle -X MARCAR_IFACE_TRAFICO /sbin/iptables -t mangle -D POSTROUTING -j MARCAR_IFACE_OUT /sbin/iptables -t mangle -F...
2016 Sep 16
2
builtins name mangling in SPIR 2.0
+ Alexey Anastasia According to SPIR spec v1.2 s2.10.3 2.10.3 The printf function The printf function is supported, and is mangled according to its prototype as follows: int printf(constant char * restrict fmt, ... ) Note that the ellipsis formal argument (...) is mangled to argument type specifier z It seems printf should be mangled. Alexey/Anastasia, What do you think? Thanks. Sam From: Hongbin Zheng [mailto:etherzhhb...
2005 Jan 08
2
script
...(squid uses 3128) here is my script #!/bin/bash TC=/sbin/tc IPTABLES=/sbin/iptables $TC qdisc del dev eth0 root 2> /dev/null > /dev/null $TC qdisc del dev eth1 root 2> /dev/null > /dev/null $TC qdisc del dev eth1 ingress 2> /dev/null > /dev/null $IPTABLES -F POSTROUTING -t mangle $TC qdisc add dev eth0 root handle 1: htb default 50 r2q 2 $TC class add dev eth0 parent 1: classid 1:2 htb rate 248Kbit burst 35k $TC class add dev eth0 parent 1:2 classid 1:10 htb rate 220Kbit ceil 240Kbit burst 25k prio 0 $TC class add dev eth0 parent 1:2 classid 1:30 htb rate 28Kbit ceil...
2002 Aug 30
1
confusing name mangling results
Dear sambaphiles, I hope someone can help me understand why I see inconsistent name mangling between Samba and Windows 2000. I am running: LINUX: smbd Version 2.2.1a on linux kernel 2.4.18 MAC: Mac OS 9.1; DAVE version 2.5.2 WINDOWS 2000 PROFESSION (ServicePack 2) According to the O'Reilly book, 'Using Samba', given a file named: antidisestablishmentarianism.txt Accordin...
2005 Jul 08
2
P2P shaping, won''t work
...I should be able to, also I keep seeing download being limited too, and that shouldn''t be happening, I don''t think I''m the only one with this problem out there, so I will post here once again my configuration, to match p2p traffic and to shape it: ### ### iptables -t mangle -F iptables -t mangle -X iptables -t mangle -N lay7PRE iptables -t mangle -N lay7POST iptables -t mangle -N ipp2pPRE iptables -t mangle -N ipp2pPOST ### PREROUTING RULES ### iptables -t mangle -A PREROUTING -j CONNMARK --restore-mark iptables -t mangle -A PREROUTING -m mark ! --mark 0 -j ACCEPT i...
2016 Sep 18
2
builtins name mangling in SPIR 2.0
I don't see any problem mangling it to be honest even though there seems to be only one prototype anyways. We could add restrict in as well. Cheers, Anastasia ________________________________ From: Hongbin Zheng <etherzhhb at gmail.com> Sent: 17 September 2016 05:32:54 To: Liu, Yaxun (Sam) Cc: cfe-dev at lists.llvm.org;...
2005 Dec 23
3
Pb routing/fwmark
...rohibit default proto static metric 1 $ ip route list table 222 default proto static nexthop via 192.168.1.6 dev eth0 weight 1 nexthop via 192.168.0.6 dev eth1 weight 4 nexthop via 192.168.2.6 dev eth2 weight 4 And, I mark the paquet with this rule : iptables -t mangle -A PREROUTING -p tcp --dport 3389 -j MARK --set-mark 3389 iptables -t mangle -A PREROUTING -p tcp --dport 25 -j MARK --set-mark 25 iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 80 My problem, is that the HTTP is to route to all the interfaces, the SMTP seems to be route...
2005 Dec 20
1
File-name Mangling issue...
...file-names to be stored on a samba share from my XP clients to be automatically converted to 8.3 syntax, so that i do not have any further problem while transporting those files over to other networks/servers like netware. As for now i am using these below mentioned lines to support file-name mangling over my samba. --------- #I do not want my filenames to be case sensitive, hence case sensitive = no #I want all file names to be saved as in upper case, hence default case = upper #I do not want user input file-name case to be preserved, hence preserve case = no #I do not even want the case of...
2005 Dec 27
3
Ingress policing (matching netfilter marks)
...-i $INET_IFACE -p tcp --dport 34567 -d $INET_IP -j DNAT --to-destination $DUMPER_IP #### 4.2.5 POSTROUTING chain # Enable simple IP Forwarding and Network Address Translation $IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -j SNAT --to-source $INET_IP #### 4.2.6 OUTPUT chain ######## 4.3 mangle table #### 4.3.1 Set policies #### 4.3.2 Create user specified chains #### 4.3.3 Create content in user specified chains #### 4.3.4 PREROUTING chain # Forwarding marks for packets that have to go to the internal network # Emule # Debugging - set EVERYTHING to BULK # $IPTABLES -t mangl...