Difference between REJECT and DROP in iptables

Asked

Viewed 1,254 times

2

What’s the difference of using the REJECT or DROP in the configuration of iptables?

1 answer

4


Basically it works like this, when used the DROP received package is barred in silent mode(Stealth), that is to say, nothingness is returned to sender. Particularly when I need to bar packets on ports I prefer to use this rule, because in a possible attack, nothing is returned.

Already the REJECT, the package is barred as well as in DROP, but an answer is returned stating the error(UDP package returns an ICMP type 3, if TCP will be of type TCP reset).

Browser other questions tagged

You are not signed in. Login or sign up in order to post.