Re: Best way to block a long list of IPs?



On 6/21/06, Brett Glass <brett@xxxxxxxxxx> wrote:
Everyone:

I've got an application in which I must block incoming TCP
connections to a FreeBSD server from a potentially large list of IP
addresses. Using IPFW is not a very efficient way to accomplish
this, because it must do a linear search of a list (either one
address per rule or an "or" list in a rule) and this could slow
down every packet entering the machine dramatically.

ipfw tables are stored in Radix trees, which are very efficient.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Best way to block a long list of IPs?
    ... Brett Glass writes: ... I've got an application in which I must block incoming TCP ... connections to a FreeBSD server from a potentially large list of IP ...
    (freebsd-net)
  • Re: WinXP hordes os/2 server connections
    ... convinces it to actually release connections when a file closes? ... FreeBSD server. ... I never share stuff to XP on the other OS/2 machines so ...
    (comp.os.os2.networking.misc)
  • Re: WinXP hordes os/2 server connections
    ... WinXP does not release connections, session or file, until the ... Is there any registry setting for XP that convinces ... FreeBSD server. ... I never share stuff to XP on the other OS/2 machines so ...
    (comp.os.os2.networking.misc)
  • Re: Getting mod_dav to work
    ... Alan Curtis writes: ... > connections from my OS X machine to my FreeBSD server. ... > apache 1.3.13 ...
    (freebsd-questions)