search for: mangle

Displaying 20 results from an estimated 3914 matches for "mangle".

Did you mean: mangled
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 ip...
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_I...
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 shows: TVTSSK~S GHO 0 11-02-04 3:07p test-file.GHO I can't see how samba came up with...
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 --l7prot...
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 par...
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 1...
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 28...
2001 Sep 26
3
Name mangling bug: was samba bug?
...> > windows explorer "foo..." dir is empty.. > > /James > Okay the name choping is a windows (at least 2000) thing - tried creating documents from cmd.exe and cygwin tools, all loose the trailing "..."'s Haven't tested on 9x/Dos/NT4 But samba normally mangles illegal names? why does it not do so here? user@sambaserv > mkdir samba\hello\\ooo user@win2000> dir foo H:\temp\samba>dir Volume in drive H is homes_inh Volume Serial Number is 1205-4BBA Directory of H:\temp\samba 2001/09/26 15:29 <DIR> . 2001/09/26 15:29...
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: h...
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 see: LNHQX6~C.TXT I tried to change mangling method = hash (instead of the defau...
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 M...
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 2...
2002 Aug 30
1
confusing name mangling results
...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 According to 'Using Samba', it should mangle to: ANTID~E3.TXT This is what smbd 2.2.1a showed me (viewing the file name on the Mac with DAVE ): ANTID~7H.TXT This is what Windows 2000 showed me (viewing the file name on the Mac with DAVE ): ANTIDI~1.TXT I have not changed the default name mangling in smb.conf. I looked at the latest samba...
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 ip...
2016 Sep 18
2
builtins name mangling in SPIR 2.0
...va Subject: Re: builtins name mangling in SPIR 2.0 On Fri, Sep 16, 2016 at 8:10 AM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com<mailto:Yaxun.Liu at amd.com>> wrote: + 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, ... ) clang 3.9 will drop the 'restrict' when it mangle this name, or I am missing some commandline argument? Thanks Hongbin Note that the ellipsis formal argument (...) is mangled to argument type specifier...
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...
...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 files which conform to 8.3 syntax to be preserved, hence short preserve case = no # I am not sure exactly what does this key/value pairs do, even though its the default value.. mangled name = yes --------- First thing : But whenever i testparm my smb.conf, i get the error of Unknown parameter encountered: "mangled name" Ignoring unknown parameter "mangled name" As per the smb.conf man page : "The name mangling (if enabled) allows a file to be copied be...
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 mangle...