[OPEN-ILS-DEV] SIPServer.pm patch to log connecting IP address

Bill Erickson erickson at esilibrary.com
Mon Jan 26 10:46:46 EST 2009


Hi David,

Below is a tiny patch for logging the IP address of the connecting  
client.  I thought I might be useful to add the main repo...

-b



Index: SIPServer.pm
===================================================================
RCS file: /cvsroot/openncip/src/SIPServer.pm,v
retrieving revision 1.12
diff -r1.12 SIPServer.pm
108a109,110
>     syslog('LOG_INFO', "Inbound connection from $sockaddr on port $port  
> and proto $proto");
>


-- 
Bill Erickson
| VP, Software Development & Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: erickson at esilibrary.com
| web: http://esilibrary.com


More information about the Open-ils-dev mailing list