[Koha-bugs] [Bug 7787] SIP server closes the TCP connection when it receives an invalid message
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 23 15:33:49 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7787
Marc Véron <veron at veron.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |veron at veron.ch
--- Comment #7 from Marc Véron <veron at veron.ch> ---
I applied patch 8511.
Then I followed Marc Balmers test senario with following differences:
- Took /debian/templates/SIPconfig.xml as configuration file for SIPServer.pm
(without changes)
- Created a patron koha/koha with circulation permisssions (as found in
SIPconfig.xml)
- run script SIPServer.pm in console #1
-> console #1 displays something like:
--Snip-------------------
SIPServer config:
$VAR1 = bless( {
(...)
'syslog_facility=local6'
];
--Snip-------------------
- then started telnet in console #2
- telnet localhost 8023
- was prompted for login
->console #1 says:
Use of uninitialized value $var in hash element at
/usr/share/kohaclone/C4/Context.pm line 1024, <STDIN> chunk 2.
- Enter some garbage value in (telnet) console #2
-> telnet answer in console #2: 96
-> repeat several times, same answer
- Hit return (without input)
->Telnet connection closes
(Connection closed by foreign host.)
If I repeat again an hit return just after login, connection closes
immediately.
Fazit:
- Entering garbage does not close connection
- Hit "Enter" immediately closes connection
- Error (Warning?) in Context.pm as mentioned above.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list