[ZBX-2555] Simple check doesn't send correct sendtoclose string for pop3 Created: 2010 Jun 15 Updated: 2017 May 30 Resolved: 2010 Jul 01 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Server (S) |
Affects Version/s: | 1.8.2 |
Fix Version/s: | 1.8.3, 1.9.0 (alpha) |
Type: | Incident report | Priority: | Major |
Reporter: | Mark Eissler | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 5.x |
Attachments: | simple.c.patch | ||||||||
Issue Links: |
|
Description |
When checking the status of a pop3 daemon, the connection isn't closed cleanly since no "sendtoclose" string is supplied (in simple.c). The correct string is "QUIT\n". I am attaching a patch. |
Comments |
Comment by Mark Eissler [ 2010 Jun 15 ] |
The patch file was produced with "diff -urNad" command. Let me know if more context, etc. is required. |
Comment by Aleksandrs Saveljevs [ 2010 Jul 01 ] |
Fixed in pre-1.8.3 in r13126. |
Comment by Andris Mednis [ 2014 Jun 16 ] |
https://tools.ietf.org/html/rfc1939 says: "All commands are terminated by a CRLF pair." |
Comment by Mark Eissler [ 2014 Jun 17 ] |
I no longer have a zabbix installation, so someone else is going to have to patch and regression test. |