All of lore.kernel.org
 help / color / mirror / Atom feed
* Using dynamic IP lists to block forwarding
@ 2018-01-09  9:28 Dave Osbourne
  2018-01-09  9:58 ` Joerg Dorchain
  0 siblings, 1 reply; 10+ messages in thread
From: Dave Osbourne @ 2018-01-09  9:28 UTC (permalink / raw)
  To: netfilter

Hi,

Not totally sure this is an acceptable post... I'm trying to find a 
"firewalling principles" discussion group, but everything I find online 
is either old and not longer used or brand / package specific.

This question is specifically about services that MUST be exposed to the 
"big bad internet" (i.e. internal MS Exchange servers for OWA, POP / 
IMAP etc) and I'd like to exclude any discussion of whether this 
(exposure) is good plan, focusing rather on how to best handle 
forwarding (via iptales or deeper level inspection)

Our current Watchguard does a temporary IP block on "bad" activity (this 
could be from bad SYN/ACK/PSH or from a log watch), but I've noticed 
that co-ordinated probes are coming from many different IPs, so this 
sort of response doesn't help that at all.

One suggestion I've had from a security agency is to identify a list of 
"good" (in my case "UK" IPs) and block everything else.  I don't think 
this is good since there are 2 modes of failure.

 1. The list might be incorrect and legit requests will be blocked, the
    list will have to regularly derived (there might be a source who knows)
 2. "bad" IPs might be on that list and allowed


My response is to implement a dynamic block list (say) 
http://iplists.firehol.org/?ipset=blocklist_net_ua - using iptables on 
(say) Debian.  I've looked at an hour of probe data and it seems that 
that /*specific */list would have blocked 97+% of known bad probe 
attempts (and the list is updated regularly).

I hope someone might be able to provide argument for / against... or 
share an alternative...

Regards,
Dave

---
http://dave.osbourne.uk.eu.org/


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

end of thread, other threads:[~2018-01-12  1:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-09  9:28 Using dynamic IP lists to block forwarding Dave Osbourne
2018-01-09  9:58 ` Joerg Dorchain
2018-01-09 16:24   ` Dave Osbourne
2018-01-09 16:59     ` Mauro Santos
2018-01-09 17:33     ` Joerg Dorchain
2018-01-09 18:40     ` Neal P. Murphy
2018-01-10 15:55       ` Dave Osbourne
2018-01-11 21:28       ` zrm
2018-01-11 22:17         ` Neal P. Murphy
2018-01-12  1:43           ` zrm

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.