All of lore.kernel.org
 help / color / mirror / Atom feed
* How to drop an isp
@ 2005-11-05 14:04 Dave Handler
  2005-11-05 18:41 ` Nikolai Georgiev
  2005-11-05 21:49 ` Robert Nichols
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Handler @ 2005-11-05 14:04 UTC (permalink / raw)
  To: netfilter

Greetings!

Sorry if I worded my subject wrong, it's the best I could do!

Ok, I'm on Fedora Core 3, running iptables 1.2 (which seems to be 
holding its own).  Logwatch sends me my logs every morning and I see 
people trying to tap in to tcp port 25.  I do lookups on the addresses 
and they all seems to be coming either from Taiwan or China.  A few in 
Europe and every once in while one from the US.

I've been googling around for how to block them.  I'm rather green to 
iptables and some of the options confuse me.  Is there a way I can block 
the whole ip from me?  I'll paste in a section where there where 
accepted packets:

Accepted 327 packets on interface eth0
  From 69.21.138.231 - 169 packets to tcp(22)
  From 70.86.208.18 - 6 packets to tcp(25)
  From 72.36.128.42 - 6 packets to tcp(25)
  From 202.107.195.52 - 128 packets to tcp(22)
  From 207.150.176.81 - 16 packets to tcp(25)
  From 219.133.247.226 - 1 packet to tcp(25)
  From 219.134.232.31 - 1 packet to tcp(25)


So for instance I probably would want to block 202.107.0.0 through 
202.107.255.255.  But I'm not really sure of the syntax I should be 
using.  And I don't want to screw up what I already have in place.

I'm going to chalk this one up as another learning experience!

Thanks in advance!

Dave


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-05 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-05 14:04 How to drop an isp Dave Handler
2005-11-05 18:41 ` Nikolai Georgiev
2005-11-05 21:49 ` Robert Nichols

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.