<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Wow, that's a lot of blocked IPs. Did you increase the default from
128 blocked IPs to something higher or are you using the defaults?<br>
<div class="moz-signature"><br>
</div>
<br>
On 02/24/2012 05:05 PM, River Hosting wrote:
<blockquote cite="mid:00d001ccf348$d2585160$7708f420$@nl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML - vooraf opgemaakt Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTML-voorafopgemaaktChar
        {mso-style-name:"HTML - vooraf opgemaakt Char";
        mso-style-priority:99;
        mso-style-link:"HTML - vooraf opgemaakt";
        font-family:Consolas;
        color:black;}
span.E-mailStijl20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.E-mailStijl21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">No
problem at all. Just a notice; I am running the script every
5 seconds so the log will include duplicate IP-adresses...
Second, since
iptables áre working now, all other IPs are just blocked
(not shown here).<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Log:
<a moz-do-not-send="true"
href="http://riverhosting.nl/includes/02-24-2012.log">http://riverhosting.nl/includes/02-24-2012.log</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Met
vriendelijke groeten,<br>
<br>
Julian Maartens<br>
River Hosting<br>
<br>
</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:gray"><a
moz-do-not-send="true"
href="mailto:info@riverhosting.nl"><span
style="color:gray;
text-decoration:none">info@riverhosting.nl</span></a></span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#A6A6A6"><br>
</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:gray"><a
moz-do-not-send="true"
href="http://www.riverhosting.nl/"><span
style="color:gray;
text-decoration:none">http://www.riverhosting.nl</span></a></span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#A6A6A6"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Van:</span></b><span
style="font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext"> Boyd G.
Gafford Ph.D.
[<a class="moz-txt-link-freetext" href="mailto:drboyd@westportresearch.com">mailto:drboyd@westportresearch.com</a>] <br>
<b>Verzonden:</b> vrijdag 24 februari 2012 23:27<br>
<b>Aan:</b> Call of Duty server admin list.<br>
<b>Onderwerp:</b> Re: [cod] CoD2 UDP flood<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">That's good news! I would love to see
ServerArk's log
for the past 24/48 hours, would you mind posting it? It
should show what
IP's have been detected as flood attacks and blocked.<br>
<br>
:)<br>
<br>
Thanks,<br>
<br>
<i> Boyd</i><br>
<br>
<br>
On 02/24/2012 03:38 PM, River Hosting wrote: <o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello
again guys,</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
was adding some new rules into the firewall and it looks
like
the flooding has stopped!</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Now
using;</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-
<i>serverark</i> (recently posted on this list)</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-
<i>getstatus_ban.sh</i> (recently posted aswell)</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-
<i>iptables</i></span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Since
this morning the traffic dropped from 6 Mbit/s to 45 Kb/s.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">When
filtering, shutting down all gameservers running on your
box for about 24-48 hours may do the trick. After that time
just reboot them
and let the magic happen... :)</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Met
vriendelijke groeten,</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">With
kind regards,<br>
<br>
Julian Maartens<br>
River Hosting<br>
<br>
</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:gray"><a
moz-do-not-send="true"
href="mailto:info@riverhosting.nl"><span
style="color:gray;
text-decoration:none">info@riverhosting.nl</span></a></span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#A6A6A6"><br>
</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:gray"><a
moz-do-not-send="true"
href="http://www.riverhosting.nl/"><span
style="color:gray;
text-decoration:none">http://www.riverhosting.nl</span></a></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Van:</span></b><span
style="font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext"> Marco
Padovan [<a moz-do-not-send="true"
href="mailto:evcz@evcz.tk">mailto:evcz@evcz.tk</a>] <br>
<b>Verzonden:</b> vrijdag 24 februari 2012 14:05<br>
<b>Aan:</b> Call of Duty server admin list.<br>
<b>Onderwerp:</b> Re: [cod] CoD2 UDP flood</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif"">You
can
either use the one you linked from modsrepository or the
more "complex"
one that was posted on this list</span><br>
<br>
Il 24/02/2012 14:03, <a moz-do-not-send="true"
href="mailto:david.lauriou@wanadoo.fr">david.lauriou@wanadoo.fr</a>
ha scritto: <o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">the
rules
is ?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid black
1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">-----
Original
Message ----- </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#E4E4E4"><b><span
style="font-size:10.0pt;
font-family:"Arial","sans-serif"">From:</span></b><span
style="font-size:10.0pt;
font-family:"Arial","sans-serif""> <a
moz-do-not-send="true" href="mailto:evcz@evcz.tk"
title="evcz@evcz.tk">Marco Padovan</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">To:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
title="cod@icculus.org">cod@icculus.org</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Sent:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
Friday, February 24,
2012 2:00 PM</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Subject:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
Re: [cod] CoD2 UDP
flood</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif"">that
rule
is very basic.<br>
<br>
cod1, cod1.5, cod2 and cod4 all suffer the same problem
and are exploited in
the same exact way.<br>
<br>
So an iptables that fixes the cod4 problem works also for
cod2 and cod1<br>
</span><br>
Il 24/02/2012 13:51, <a moz-do-not-send="true"
href="mailto:david.lauriou@wanadoo.fr">david.lauriou@wanadoo.fr</a>
ha scritto: <o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">i've
find
this : <a moz-do-not-send="true"
href="http://wiki.modsrepository.com/index.php/Call_of_Duty_4:_Servers">http://wiki.modsrepository.com/index.php/Call_of_Duty_4:_Servers</a><br>
<br>
its for cod4 not for COD2 !</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid black
1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">-----
Original
Message ----- </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#E4E4E4"><b><span
style="font-size:10.0pt;
font-family:"Arial","sans-serif"">From:</span></b><span
style="font-size:10.0pt;
font-family:"Arial","sans-serif"">
<a moz-do-not-send="true" href="mailto:evcz@evcz.tk"
title="evcz@evcz.tk">Marco Padovan</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">To:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<a moz-do-not-send="true"
href="mailto:cod@icculus.org"
title="cod@icculus.org">cod@icculus.org</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Sent:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
Friday, February 24,
2012 1:49 PM</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Subject:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
Re: [cod] CoD2 UDP
flood</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif"">NO!<br>
<br>
Read the messages that got posted in the last 2 days...<br>
<br>
This should be a proper ruleset:<br>
</span><a moz-do-not-send="true"
href="http://icculus.org/pipermail/cod/2012-February/015927.html">http://icculus.org/pipermail/cod/2012-February/015927.html</a><br>
<br>
Il 24/02/2012 13:47, <a moz-do-not-send="true"
href="mailto:david.lauriou@wanadoo.fr">david.lauriou@wanadoo.fr</a>
ha scritto: <o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">like
this
?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<pre>IPTABLES -A INPUT -p UDP -m length --length 42 -m recent --set --name getstatus_cod<o:p></o:p></pre>
<pre>IPTABLES -A INPUT -p UDP -m string --algo bm --string "getstatus" -m recent --update --seconds 1 --hitcount 20 --name getstatus_cod -j DROP<o:p></o:p></pre>
</div>
<blockquote style="border:none;border-left:solid black
1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">-----
Original
Message ----- </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#E4E4E4"><b><span
style="font-size:10.0pt;
font-family:"Arial","sans-serif"">From:</span></b><span
style="font-size:10.0pt;
font-family:"Arial","sans-serif""> <a
moz-do-not-send="true" href="mailto:evcz@evcz.tk"
title="evcz@evcz.tk">Marco Padovan</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">To:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<a moz-do-not-send="true"
href="mailto:cod@icculus.org"
title="cod@icculus.org">Call of Duty server admin
list.</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Sent:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
Friday, February 24,
2012 1:35 PM</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Subject:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
Re: [cod] CoD2 UDP
flood</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif"">iptables
rules</span><br>
<br>
Il 24/02/2012 13:28, <a moz-do-not-send="true"
href="mailto:david.lauriou@wanadoo.fr">david.lauriou@wanadoo.fr</a>
ha scritto: <o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">for
COD4
what is the best method to remove udp Flooding
exploit ?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid black
1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">-----
Original
Message ----- </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#E4E4E4"><b><span
style="font-size:10.0pt;
font-family:"Arial","sans-serif"">From:</span></b><span
style="font-size:10.0pt;
font-family:"Arial","sans-serif""> <a
moz-do-not-send="true"
href="mailto:evcz@evcz.tk" title="evcz@evcz.tk">Marco
Padovan</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">To:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<a moz-do-not-send="true"
href="mailto:cod@icculus.org"
title="cod@icculus.org">Call of Duty server
admin
list.</a> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Sent:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
Friday, February 24,
2012 12:10 PM</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Subject:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
Re: [cod] CoD2 UDP
flood</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Be
aware
that there are two different ways to talk about
offset: packet offset
(includes header) and payload offset</span> (does
not include header)<br>
<br>
Il 24/02/2012 10:41, Geoff Goas ha scritto: <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">You're
right, and I see my
error. That is frustrating because I have no idea why
it doesn't work with the
offset specified then.<o:p></o:p></p>
<div>
<p class="MsoNormal">On Fri, Feb 24, 2012 at 4:10 AM,
Luca Farflame Fabbro <<a moz-do-not-send="true"
href="mailto:farflame@cybergames.it">farflame@cybergames.it</a>>
wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Try this command<o:p></o:p></p>
</div>
<p class="MsoNormal">tcpdump -c 4 -nnvvvXS dst port
28960 <o:p></o:p></p>
<div>
<p class="MsoNormal">where port is the port that
you want to monitor<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">should be something like<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"> 0x0000: 4500 002b
35b3
0000 7511 179b b612 80ad E..+5...u.......<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> 0x0010: c0a8 010c
7012
7120 0017 0000 ffff ffff ....p.q.........<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> 0x0020: 6765 7473
7461
7475 730a 0000 0000 getstatus.....<o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">On Feb 24, 2012, at 9:54
AM, Geoff Goas wrote:<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"
style="margin-bottom:12.0pt">That is
strange, because if I
use those values, it does not work. If I
use "--from 31" alone, then
it works. As soon as I change that to 32,
it stops working. When I inspect the
packets in Wireshark, the "getstatus"
string starts at offset 48 if
counting from 1. Would there be a way for
iptables to print to log what it sees
in the specified offset range?<o:p></o:p></p>
<div>
<p class="MsoNormal">On Fri, Feb 24, 2012
at 3:28 AM, Luca Farflame Fabbro <<a
moz-do-not-send="true"
href="mailto:farflame@cybergames.it"
target="_blank">farflame@cybergames.it</a>>
wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal">It doesn't matter
the length of the packet. <o:p></o:p></p>
<div>
<p class="MsoNormal">That rule will
try to find the string "gestatus"
starting at position 32 bytes from
start of packet and searching for it
at
maximum at position 41.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The Q3 protocol
for that command expects the string
to be in
that range.<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">On Feb
24, 2012, at 1:11 AM, Geoff
Goas wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">Is
the offset range of 32-41
based on a 60-byte packet?<o:p></o:p></p>
<div>
<p class="MsoNormal">On Thu,
Feb 23, 2012 at 10:34 AM,
Marco Padovan <<a
moz-do-not-send="true"
href="mailto:evcz@evcz.tk"
target="_blank">evcz@evcz.tk</a>>
wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">iptables
-A INPUT -p udp -m
string --string
"getstatus" --algo bm
--from 32 --to 41 -j
DROP<o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal">-- <br>
<b><i><span
style="font-size:7.5pt;font-family:"Tahoma","sans-serif"">Geoff
Goas<br>
Systems Engineer</span></i></b><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true"
href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod"
target="_blank">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true"
href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod"
target="_blank">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
<b><i><span
style="font-size:7.5pt;font-family:"Tahoma","sans-serif"">Geoff
Goas<br>
Systems Engineer</span></i></b><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true"
href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod"
target="_blank">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true"
href="mailto:cod@icculus.org">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod"
target="_blank">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
<b><i><span
style="font-size:7.5pt;font-family:"Tahoma","sans-serif"">Geoff
Goas<br>
Systems Engineer</span></i></b><br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>cod mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:cod@icculus.org">cod@icculus.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></pre>
<div class="MsoNormal" style="text-align:center"
align="center">
<hr align="center" size="2" width="100%">
</div>
<p class="MsoNormal">_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true"
href="mailto:cod@icculus.org">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>cod mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:cod@icculus.org">cod@icculus.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></pre>
<div class="MsoNormal" style="text-align:center"
align="center">
<hr align="center" size="2" width="100%">
</div>
<p class="MsoNormal">_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>cod mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:cod@icculus.org">cod@icculus.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></pre>
<div class="MsoNormal" style="text-align:center"
align="center">
<hr align="center" size="2" width="100%">
</div>
<p class="MsoNormal">_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>cod mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:cod@icculus.org">cod@icculus.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></pre>
<div class="MsoNormal" style="text-align:center"
align="center">
<hr align="center" size="2" width="100%">
</div>
<p class="MsoNormal">_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>cod mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:cod@icculus.org">cod@icculus.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></pre>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>cod mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:cod@icculus.org">cod@icculus.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a><o:p></o:p></pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cod mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cod@icculus.org">cod@icculus.org</a>
<a class="moz-txt-link-freetext" href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a>
</pre>
</blockquote>
</body>
</html>