Re: Error responce when limiting access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mogens Valentin wrote:

Using iptables, I can of cause deny access to cirtain IP addresses or
websites, however, I'd like to make sure clients do not just get a
timeout, not found or something alike.
AFICS, it'll be difficult to set some errorresponce a browser can
understand, allowing it to display a meaningful errorresponce.



Use a tcp reset instead of just dropping the packet. Try -j REJECT.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux