Log incoming connections promptly
authordjfiander <djfiander>
Wed, 11 Feb 2009 01:05:04 +0000 (01:05 +0000)
committerdjfiander <djfiander>
Wed, 11 Feb 2009 01:05:04 +0000 (01:05 +0000)
SIPServer.pm

index 36650d9..e2f15e4 100644 (file)
@@ -105,7 +105,7 @@ sub process_request {
     $sockaddr = $self->{server}->{sockaddr};
     $port = $self->{server}->{sockport};
     $proto = $self->{server}->{client}->NS_proto();
-
+    syslog('LOG_INFO', "Inbound connection from $sockaddr on port $port and proto $proto");
     $self->{service} = $config->find_service($sockaddr, $port, $proto);
 
     if (!defined($self->{service})) {