That's not a netmask, it's a way to specify the subnet. I think you want to use <a href="http://77.41.40.0/24">77.41.40.0/24</a>.<br><br>John<br><br><div class="gmail_quote">On Thu, Jun 12, 2008 at 10:04 PM, Jed S. Baer <<a href="mailto:cluemail@jbaer.cotse.net">cluemail@jbaer.cotse.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Folks.<br>
<br>
Trying to do some stopgap blocking. I'm not a network guru. Here's the<br>
netblock I want to have just be ignored:<br>
<br>
inetnum: <a href="http://77.41.40.0" target="_blank">77.41.40.0</a> - <a href="http://77.41.47.255" target="_blank">77.41.47.255</a><br>
netname: NeoCentel-Home<br>
descr: BRAS E-320-31 DHCP-pool<br>
descr: Russian Central Telegraph, Moscow<br>
country: RU<br>
<br>
My approach is to do this:<br>
iptables -t INPUT -A DROP -p all -s <a href="http://77.41.41.253/255.255.248.0" target="_blank">77.41.41.253/255.255.248.0</a><br>
<br>
But I don't understand if that notation will cause the entire block to be<br>
dropped. Input on the -s parameter, or verification that I have it<br>
correct, or how to specify it so it works, much appreciated.<br>
<br>
jed<br>
_______________________________________________<br>
clue-tech mailing list<br>
<a href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a><br>
<a href="http://www.cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://www.cluedenver.org/mailman/listinfo/clue-tech</a><br>
</blockquote></div><br>