Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / templates / simplerule.epp @ c82b960a

Historique | Voir | Annoter | Télécharger (1,88 ko)

# Date Auteur Commentaire
bd8baa0f 2021-04-26 12:27 Nacho Barrientos

Fix IPv4 source address type detection

Before this patch, a rule like this:

```
nftables::simplerule { 'foo':
action => 'accept',
dport => 443,
proto => 'tcp4',
saddr => '192.168.1.10',
}
```

would incorrectly generate this rule:...

1d56f209 2021-01-27 06:45 Nacho Barrientos

Fix IP version filter for IPv6 traffic

42e7f3ea 2020-12-09 11:44 Nacho Barrientos

Relax type validation in template

It comes already validated from the calling class.

55277023 2020-12-09 11:44 Nacho Barrientos

Align template parameters

f1ef02c5 2020-12-09 11:44 Nacho Barrientos

Encapsulate addr-related exprs in Nftables::Addr

09b07e56 2020-12-09 11:44 Nacho Barrientos

Encapsulate port-related exprs in Nftables::Port

6739966c 2020-12-09 11:44 Nacho Barrientos

Sort template parameters alphabetically

3a469f2b 2020-12-09 11:44 Nacho Barrientos

Implement nftables::simplerule::saddr

77abc10b 2020-12-09 11:44 Nacho Barrientos

Implement nftables::simplerule::sport

6793d286 2020-12-09 11:44 Nacho Barrientos

Handle dport internally always as an array

d43ced4d 2020-12-09 11:44 Nacho Barrientos

Implement nftables:;simplerule::counter

aaa37172 2020-12-09 11:44 Nacho Barrientos

Implement nftables:;simplerule::daddr

316bc3f8 2020-12-09 11:44 Nacho Barrientos

Allow IPv4 and IPv6 only rules

3a52fb41 2020-12-09 11:44 Nacho Barrientos

Richer dport

83382bb5 2020-12-09 11:44 Nacho Barrientos

Add nftables::simplerule