# reject
[
{
"reject": null
}
]
# reject with icmp type host-unreachable
[
{
"reject": {
"expr": "host-unreachable",
"type": "icmp"
}
}
]
# reject with icmp type net-unreachable
[
{
"reject": {
"expr": "net-unreachable",
"type": "icmp"
}
}
]
# reject with icmp type prot-unreachable
[
{
"reject": {
"expr": "prot-unreachable",
"type": "icmp"
}
}
]
# reject with icmp type port-unreachable
[
{
"reject": {
"expr": "port-unreachable",
"type": "icmp"
}
}
]
# reject with icmp type net-prohibited
[
{
"reject": {
"expr": "net-prohibited",
"type": "icmp"
}
}
]
# reject with icmp type host-prohibited
[
{
"reject": {
"expr": "host-prohibited",
"type": "icmp"
}
}
]
# reject with icmp type admin-prohibited
[
{
"reject": {
"expr": "admin-prohibited",
"type": "icmp"
}
}
]
# mark 0x80000000 reject with tcp reset
[
{
"match": {
"left": {
"meta": { "key": "mark" }
},
"op": "==",
"right": "0x80000000"
}
},
{
"reject": {
"type": "tcp reset"
}
}
]