[ previous ] [ next ] [ threads ]
 
 From:  =?iso-8859-1?q?Jose=20Iadicicco?= <joseiadicicco at yahoo dot com>
 To:  Justin Ellison <justin at techadvise dot com>, Monowall <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] Call for P2P Protocols
 Date:  Fri, 18 Jun 2004 14:30:03 -0300 (ART)
Hey Justin! I am trying the Magic Shaper configuration at two Monowalls at this moment and it
seems to run perfect, instead, i will try it more time to ensure you that its working perfect.
My doubt is what happen when in the future appears new P2P programs with new P2P ports? We will
need to add this new Programs ports to the mono to ensure all network can browse the internet? I
read about QoS for Universitys at Cisco Press, and they sayed that this solves the problem of
bandwidth hogs for ever.
What do you think?

Jose

P.D.: My actual Traffic Shaper configuration is: (Thanks to Dinesh Nair)
	<shaper>
		<magic>
			<maxup>128</maxup>
			<maxdown>512</maxdown>
			<enable/>
			<p2plow/>
		</magic>
		<rule>
			<descr>m_Small Pkt Upload</descr>
			<targetqueue>0</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<iplen>0-80</iplen>
		</rule>
		<rule>
			<descr>m_Outbound DNS Query</descr>
			<targetqueue>0</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
				<port>53</port>
			</destination>
			<protocol>udp</protocol>
		</rule>
		<rule>
			<descr>m_AH Upload</descr>
			<targetqueue>0</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<protocol>ah</protocol>
		</rule>
		<rule>
			<descr>m_ESP Upload</descr>
			<targetqueue>0</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<protocol>esp</protocol>
		</rule>
		<rule>
			<descr>m_GRE Upload</descr>
			<targetqueue>0</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<protocol>gre</protocol>
		</rule>
		<rule>
			<descr>m_ICMP Upload</descr>
			<targetqueue>1</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<protocol>icmp</protocol>
		</rule>
		<rule>
			<descr>m_TCP ACK Upload</descr>
			<targetqueue>2</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
			<protocol>tcp</protocol>
			<tcpflags>ack</tcpflags>
		</rule>
		<rule>
			<descr>m_P2P DirectConnect</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>412-412</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P DirectConnect</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>412-412</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P DirectFileExpress</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>1044-1045</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P DirectFileExpress</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>1044-1045</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P FastTrack</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>1214-1214</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P FastTrack</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>1214-1214</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P CuteMX</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>2340-2340</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P CuteMX</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>2340-2340</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P iMesh</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>4329-4329</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P iMesh</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>4329-4329</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P EDonkey2000</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>4661-4665</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P EDonkey2000</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>4661-4665</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P SongSpy</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>5190-5190</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P SongSpy</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>5190-5190</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P HotlineConnect</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>5500-5503</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P HotlineConnect</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>5500-5503</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P Gnutella</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6346-6346</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P Gnutella</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6346-6346</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P dcc</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6666-6668</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P dcc</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6666-6668</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P Napster</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6699-6701</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P Napster</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6699-6701</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P Aimster</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>7668-7668</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P Aimster</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>7668-7668</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P BuddyShare</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>7788-7788</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P BuddyShare</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>7788-7788</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P Scour</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>8311-8311</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P Scour</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>8311-8311</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P OpenNap</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>8888-8889</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P OpenNap</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>8888-8889</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P hotComm</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>28864-28865</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P hotComm</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>28864-28865</port>
			</destination>
		</rule>
		<rule>
			<descr>m_P2P BitTorrent</descr>
			<targetqueue>6</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6881-6999</port>
			</destination>
			<protocol>tcp</protocol>
		</rule>
		<rule>
			<descr>m_P2P BitTorrent</descr>
			<targetqueue>4</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any>1</any>
			</source>
			<destination>
				<any>1</any>
				<port>6881-6999</port>
			</destination>
			<protocol>tcp</protocol>
		</rule>
		<rule>
			<descr>m_Catch-All Upload</descr>
			<targetqueue>3</targetqueue>
			<interface>wan</interface>
			<direction>out</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
		</rule>
		<rule>
			<descr>m_Catch-All Download</descr>
			<targetqueue>5</targetqueue>
			<interface>wan</interface>
			<direction>in</direction>
			<source>
				<any/>
			</source>
			<destination>
				<any/>
			</destination>
		</rule>
		<pipe>
			<descr>m_Total Upload</descr>
			<bandwidth>115</bandwidth>
		</pipe>
		<pipe>
			<descr>m_Total Download</descr>
			<bandwidth>461</bandwidth>
		</pipe>
		<queue>
			<descr>m_High Priority #1 Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>50</weight>
		</queue>
		<queue>
			<descr>m_High Priority #2 Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>30</weight>
		</queue>
		<queue>
			<descr>m_High Priority #3 Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>15</weight>
		</queue>
		<queue>
			<descr>m_Bulk Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>4</weight>
		</queue>
		<queue>
			<descr>m_Hated Upload</descr>
			<targetpipe>0</targetpipe>
			<weight>1</weight>
		</queue>
		<queue>
			<descr>m_Bulk Download</descr>
			<targetpipe>1</targetpipe>
			<weight>90</weight>
		</queue>
		<queue>
			<descr>m_Hated Download</descr>
			<targetpipe>1</targetpipe>
			<weight>10</weight>
		</queue>
		<enable/>
	</shaper>



> 
> I'm finishing up work on the magic shaper, and need you guys to help
> out.  I myself don't use p2p except to BitTorrent the latest Linux
> distros, but I want the shaper to have the option to put p2p traffic at
> the bottom of the priority list.  I found one site that had most of the
> common protocols, but I need the users' feedback on any I might be
> missing.
> 
> I don't want the ports that your specific client runs on, I want the
> default port(s) that the program is installed with.
> 
> Here's my list thus far, in the format:
> ('Name','protocol(tcp/udp,blank for both)','begin port','end port')
>  
> ('BitTorrent','tcp','6881','6999');
> ('DirectConnect','','412','412');
> ('DirectFileExpress','','1044','1045');
> ('FastTrack','','1214','1214');
> ('CuteMX','','2340','2340');
> ('iMest','','4329','4329');
> ('EDonkey2000','','4661','4665');
> ('SongSpy','','5190','5190');
> ('HotlineConnect','','5500','5503');
> ('Gnutella','','6346','6346');
> ('dcc','','6666','6668');
> ('Napster','','6699','6701');
> ('Aimster','','7668','7668');
> ('BuddyShare','','7788','7788');
> ('Scour','','8311','8311');
> ('OpenNap','','8888','8889');
> ('hotComm','','28864','28865');
> 
> TIA,
> 
> Justin
> -- 
> Justin Ellison <justin at techadvise dot com>
> 

> ATTACHMENT part 2 application/pgp-signature name=signature.asc
 

=====
El objetivo escencial del correr es probar los limites de la voluntad humana...

------------




http://ar.online.yahoo.com