Skip to contentSkip to conversation

Drop vs. Reject

LARTC Guilherme Viebig 4 participants 4 messages Nov 19, 2003

lore
Share & tools
lore
#1 lore raw

with a reject u send a reject signal back to the origin. In case of a DoS this generates more traffic.

wich one to use mainly depends how do u want to protect a port and what kinds of attacks u expect to receive.

Jorge S.

Quoted 11 lines · Guilherme Viebig

Some say that DROP is the ideal manner to deal with non authorized requests, but using DROP let the atacker know the ports which are filtered. Using REJECT simply add one step to all proccess, sending the reject signal back to the oringin.

What your perspective about it?

Quoted 3 lines

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Guilherme Viebig

Not a LARTC question. Try firewall-wizards or netfilter.

: Some say that DROP is the ideal manner to deal with non authorized : requests, but using DROP let the atacker know the ports which are : filtered. Using REJECT simply add one step to all proccess, sending the : reject signal back to the oringin.

-Martin

P.S., I'd prefer to DROP in most cases.

Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to Guilherme Viebig

Depends, if your firewall's default policy is set to DROP then you'd want to DROP unwanted packets.

On the other hand if you allow everything and only want to block packets to certain (maybe M$ related) ports, then DROPping them is seen by the evil attacker scanning your network's holes. Altho REJECTing is more polite way of doing it, DROPping is more secure. Also REJECT sends a port unreachable ICMP back to the dropped packet's origin.

Someone correct me if I'm wrong since I'm quite new on netfilter.

Quoted 11 lines · Guilherme Viebig

Some say that DROP is the ideal manner to deal with non authorized requests, but using DROP let the atacker know the ports which are filtered. Using REJECT simply add one step to all proccess, sending the reject signal back to the oringin.

What your perspective about it?

Quoted 5 lines

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/