OVH Cloud OVH Cloud

Quelques précissions sur "set block-policy return" de pf

1 réponse
Avatar
zobe
Bonjour,

Juste pour avoir quelques précissions sur l'option "set block-policy
return" de pf. En fait c'est équivalent à ça :

block return quick

ou encore

block return-rst in quick on $ext_if inet proto tcp all
block return-icmp in quick on $ext_if inet proto udp all

Merci.

1 réponse

Avatar
manu
zobe wrote:

Juste pour avoir quelques précissions sur l'option "set block-policy
return" de pf. En fait c'est équivalent à ça :

block return quick

ou encore

block return-rst in quick on $ext_if inet proto tcp all
block return-icmp in quick on $ext_if inet proto udp all


Cette option indique si les directives block doivent bloquer
silentieusement ou avec notification (TCP RST ou ICMP destination
unreachable).

--
Emmanuel Dreyfus
Un bouquin en français sur BSD:
http://www.eyrolles.com/php.informatique/Ouvrages/9782212112443.php3