[pve-devel] firewall : ipv6 reject not working for udp

Alexandre DERUMIER aderumier at odiso.com
Mon Apr 29 12:15:06 CEST 2019


Looking on the net, the udp reject should be done with:

 -p udp -j REJECT --reject-with icmp6-adm-prohibited

----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 29 Avril 2019 11:48:32
Objet: [pve-devel] firewall : ipv6 reject not working for udp

Hi, 

I'm currently testing firewall with ipv6, 
and it seem than default reject is not working with udp. 

looking at code, I see that comment on udp/icmp. 

Is it a bug ? 


'PVEFW-reject' => [ 
# same as shorewall 'reject' 
#{ action => 'DROP', dsttype => 'BROADCAST' }, 
#{ action => 'DROP', source => '224.0.0.0/4' }, 
{ action => 'DROP', proto => 'icmpv6' }, 
{ match => '-p tcp', target => '-j REJECT --reject-with tcp-reset' }, 
#"-p udp -j REJECT --reject-with icmp-port-unreachable", 
#"-p icmp -j REJECT --reject-with icmp-host-unreachable", 
#"-j REJECT --reject-with icmp-host-prohibited", 
], 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 




More information about the pve-devel mailing list