diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-10-15 11:19:34 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-10-16 14:16:17 +0200 |
commit | 488b1cad135077367e4ea8f132fd0c263725b7b1 (patch) | |
tree | cbd10826e6b6e6dfdd45f5cc7b26d84cb7250d53 /src/libipsec/ipsec_processor.c | |
parent | 45885ca613d419185b9079de8dd5c7f4808343cc (diff) | |
download | strongswan-488b1cad135077367e4ea8f132fd0c263725b7b1.tar.bz2 strongswan-488b1cad135077367e4ea8f132fd0c263725b7b1.tar.xz |
Log IP addresses for discarded inbound IPsec packets
Diffstat (limited to 'src/libipsec/ipsec_processor.c')
-rw-r--r-- | src/libipsec/ipsec_processor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libipsec/ipsec_processor.c b/src/libipsec/ipsec_processor.c index a91d9e074..353f0e7e0 100644 --- a/src/libipsec/ipsec_processor.c +++ b/src/libipsec/ipsec_processor.c @@ -146,7 +146,9 @@ static job_requeue_t process_inbound(private_ipsec_processor_t *this) policy->destroy(policy); break; } - DBG1(DBG_ESP, "discarding inbound IP packet due to policy"); + DBG1(DBG_ESP, "discarding inbound IP packet %H == %H due to " + "policy", ip_packet->get_source(ip_packet), + ip_packet->get_destination(ip_packet)); /* no matching policy found, fall-through */ } case IPPROTO_NONE: |