|
@@ -556,6 +556,10 @@ route[RELAY] {
|
|
route[REQINIT] {
|
|
route[REQINIT] {
|
|
# no connect for sending replies
|
|
# no connect for sending replies
|
|
set_reply_no_connect();
|
|
set_reply_no_connect();
|
|
|
|
+ if(has_totag()) {
|
|
|
|
+ # no connect for requests within dialog
|
|
|
|
+ set_forward_no_connect();
|
|
|
|
+ }
|
|
|
|
|
|
#!ifdef WITH_ANTIFLOOD
|
|
#!ifdef WITH_ANTIFLOOD
|
|
# flood detection from same IP and traffic ban for a while
|
|
# flood detection from same IP and traffic ban for a while
|
|
@@ -826,7 +830,7 @@ route[NATMANAGE] {
|
|
}
|
|
}
|
|
|
|
|
|
if(isbflagset(FLB_NATB)) {
|
|
if(isbflagset(FLB_NATB)) {
|
|
- # message in a dialog involving NAT traversal - no connect
|
|
|
|
|
|
+ # no connect message in a dialog involving NAT traversal
|
|
set_forward_no_connect();
|
|
set_forward_no_connect();
|
|
}
|
|
}
|
|
#!endif
|
|
#!endif
|