CN102347874A - Ftp (file transfer protocol) and ssh (struts spring hibernate) service monitoring method and system - Google Patents

Ftp (file transfer protocol) and ssh (struts spring hibernate) service monitoring method and system Download PDF

Info

Publication number
CN102347874A
CN102347874A CN2011103562685A CN201110356268A CN102347874A CN 102347874 A CN102347874 A CN 102347874A CN 2011103562685 A CN2011103562685 A CN 2011103562685A CN 201110356268 A CN201110356268 A CN 201110356268A CN 102347874 A CN102347874 A CN 102347874A
Authority
CN
China
Prior art keywords
ftp
ssh
module
service
judge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011103562685A
Other languages
Chinese (zh)
Inventor
王达心
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN2011103562685A priority Critical patent/CN102347874A/en
Publication of CN102347874A publication Critical patent/CN102347874A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides an ftp (file transfer protocol) and ssh (struts spring hibernate) service monitoring method and system. The ftp service monitoring method comprises the following steps of: sending an ftp connecting request; returning response content according to the ftp connecting request; judging whether the response content contains predetermined characters; judging that the service of an ftp is normal if the response content contains the predetermined characters; and judging that the service of the ftp is abnormal if the response content does not contain the predetermined characters. According to the ftp and ssh service monitoring method and system of the embodiment, whether the services of the ftp and the ssh are normal can be judged by whether the returned response content contains the predetermined characters. The monitoring method has high accuracy, efficiency and safety and cannot leak user names and passwords.

Description

Ftp and ssh service monitoring method and system
Technical field
The present invention relates to the service monitoring technical field, particularly a kind of ftp and ssh service monitoring method and system.
Background technology
At present general ftp (File Transfer Protocol, file transfer protocol (FTP)), ssh (secure shell, safety shell protocol) monitoring have dual mode, and first kind is whether detection port connects; Second kind is to use independently monitoring program, simulates real real user's login, and whether the service for checking credentials is normal.
For first method, can not judge fully whether service normal, when port normal and serve when unusual monitoring and lost efficacy.For second method, need in monitoring program, write username and password, therefore there is potential safety hazard, possibly reveal username and password.
Summary of the invention
The object of the invention is intended to solve at least one of above-mentioned technological deficiency.
For this reason, whether normal one object of the present invention be to propose a kind ofly can judge to entirely accurate ftp and ssh service ftp and ssh service monitoring method.
Another object of the present invention is to propose a kind of ftp and ssh service monitoring system.
To achieve these goals, the ftp service monitoring method according to the embodiment of first aspect present invention may further comprise the steps: send the ftp connection request; Return the response content according to said ftp connection request; Judge in the said response content and whether comprise book character; If comprise book character in the said response content, judge that then said ftp service is normal; And if do not comprise book character in the said response content, judge that then said ftp service is unusual.
To achieve these goals, the ssh service monitoring method according to the embodiment of second aspect present invention may further comprise the steps: send the ssh connection request; Return the response content according to said ssh connection request; Judge in the said response content and whether comprise book character; If comprise book character in the said response content, judge that then said ssh service is normal; And if do not comprise book character in the said response content, judge that then said ssh service is unusual.
According to the ftp and the ssh service monitoring method of the embodiment of the invention, can judge whether ftp and ssh serve normal, and this method for supervising is simple to operate according to whether comprising book character in the response content of returning, realize that easily, accuracy height and efficient are high.And, need not to import username and password during monitoring, thereby can not reveal user profile, safe.
To achieve these goals, comprise terminal and server according to the ftp service monitoring system of the embodiment of third aspect present invention, said terminal comprises: first sending module, and said first sending module is used to send the ftp connection request; First receiver module, said first receiver module are used to receive the response content that said server returns; And judge module; Said judge module is used for judging whether said response content comprises book character; If comprise book character in the said response content; Then said judge module judges that said ftp service is normal; And if do not comprise book character in the said response content, then said judge module would judge that said ftp service is unusual; Said server comprises: second receiver module, and said second receiver module is used to receive said ftp connection request; With second sending module, said second sending module is used for returning the response content according to said ftp connection request to said first receiver module.
To achieve these goals, comprise terminal and server according to the ssh service monitoring system of the embodiment of fourth aspect present invention, said terminal comprises: first sending module, and said first sending module is used to send the ssh connection request; First receiver module, said first receiver module are used to receive the response content that said server returns; And judge module; Said judge module is used for judging whether said response content comprises book character; If comprise book character in the said response content; Then said judge module judges that said ssh service is normal; And if do not comprise book character in the said response content, then said judge module would judge that said ssh service is unusual; Said server comprises: second receiver module, and said second receiver module is used to receive said ssh connection request; With second sending module, said second sending module is used for returning the response content according to said ssh connection request to said first receiver module.
According to the ftp and the ssh service monitoring system of the embodiment of the invention, can judge whether ftp and ssh serve normal, and this monitor system operation is simple according to whether comprising book character in the response content of returning, realize that easily, accuracy height and efficient are high.And, owing to need not to import username and password, therefore can not reveal user profile, safe.
Aspect that the present invention adds and advantage part in the following description provide, and part will become obviously from the following description, or recognize through practice of the present invention.
Description of drawings
Above-mentioned and/or additional aspect of the present invention and advantage are from obviously with easily understanding becoming the description of embodiment below in conjunction with accompanying drawing, wherein:
Fig. 1 is the flow chart of ftp service monitoring method according to an embodiment of the invention;
Fig. 2 is the flow chart of ftp service monitoring method in accordance with another embodiment of the present invention;
Fig. 3 is the flow chart of the ftp service monitoring method of another embodiment according to the present invention;
Fig. 4 is the flow chart of the ftp service monitoring method of another embodiment according to the present invention;
Fig. 5 is the structured flowchart of ftp service monitoring system according to an embodiment of the invention;
Fig. 6 is the structured flowchart of ftp service monitoring system in accordance with another embodiment of the present invention;
Fig. 7 is the structured flowchart of the ftp service monitoring system of another embodiment according to the present invention; And
Fig. 8 is the flow chart of ssh service monitoring method according to an embodiment of the invention.
Embodiment
Describe embodiments of the invention below in detail, the example of said embodiment is shown in the drawings, and wherein identical from start to finish or similar label is represented identical or similar elements or the element with identical or similar functions.Be exemplary through the embodiment that is described with reference to the drawings below, only be used to explain the present invention, and can not be interpreted as limitation of the present invention.
In description of the invention, it will be appreciated that term " first ", " second " etc. only are used to describe purpose, and can not be interpreted as indication or hint relative importance.In description of the invention, need to prove that only if clear and definite regulation and qualification are arranged in addition, term " links to each other ", " connection " should be done broad understanding, for example, can be to be fixedly connected, also can be to removably connect, or connect integratedly; Can be mechanical connection, also can be to be electrically connected; Can be directly to link to each other, also can link to each other indirectly through intermediary.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete implication in the present invention.In addition, in description of the invention, except as otherwise noted, the implication of " a plurality of " is two or more.
Describe and to be understood that in the flow chart or in this any process otherwise described or method; Expression comprises module, fragment or the part of code of the executable instruction of the step that one or more is used to realize specific logical function or process; And the scope of preferred implementation of the present invention comprises other realization; Wherein can be not according to order shown or that discuss; Comprise according to related function by the mode of basic while or by opposite order; Carry out function, this should be understood by the embodiments of the invention person of ordinary skill in the field.
In the present invention; Characteristics according to ftp and ssh communication protocol; When sending ftp connection request and ssh connection request; Send predetermined content; And the response content of returning at tcp network layer Analysis server end; Reach the purpose of monitoring, thereby can need not under the situation of username and password, judge entirely accurate whether ftp and ssh service is normal.
1-4 describes the ftp service monitoring method according to the embodiment of the invention with reference to the accompanying drawings below.
A kind of ftp service monitoring method may further comprise the steps: send the ftp connection request; Return the response content according to the ftp connection request; Judge to respond in the content whether comprise book character; If comprise book character in the response content, judge that then the ftp service is normal; And if respond in the content and do not comprise book character, judge that then the ftp service is unusual.
Fig. 1 is the flow chart of ftp service monitoring method according to an embodiment of the invention.
As shown in Figure 1, the ftp service monitoring method comprises the steps.
Step S101 sends the ftp connection request.
In one embodiment of the invention, when sending the ftp connection request, send following content " r ".
Step S102 returns the response content according to the ftp connection request.
After server end receives connection request, move corresponding thread, and the generation corresponding results is returned as responding content according to connection request.
Step S103 judges and responds in the content whether comprise book character.
Step S104 comprises book character if respond in the content, judges that then the ftp service is normal.
Step S105 does not comprise book character if respond in the content, judges that then the ftp service is unusual.
In one embodiment of the invention, if comprise character " Anonymous " in the response content of returning according to the ftp connection request, can judge that then the ftp service is normal, otherwise can judge that the ftp service is unusual.
Should be understood that except foregoing, also can be when sending the ftp connection request, the content of sending other, the present invention does not limit, as long as assurance is according to comprising the book character with uniqueness and the property judged in its response content of returning.Should also be understood that above-mentioned transmission content also can be done corresponding change with the setting of responding book character in the content when ftp communication protocol is made the adaptability change, these all should be included in protection scope of the present invention.
According to the ftp service monitoring method of the embodiment of the invention, judge according to whether comprising book character in the response content of returning whether the ftp service is normal, and this method for supervising is simple to operate, realize that easily, accuracy height and efficient are high.And, need not to import username and password during monitoring, there is not the risk of revealing user profile, safe.
Fig. 2 is a ftp service monitoring method in accordance with another embodiment of the present invention.
As shown in Figure 2, this ftp service monitoring method comprises the steps.
Step S201 judges whether the ftp port connects normally.
If the ftp port connects normal, then continue step S202; Otherwise, can judge directly that the ftp service is unusual, need not to continue the step of back.
Step S202 sends the ftp connection request.
Step S203 returns the response content according to the ftp connection request.
Step S204 judges and responds in the content whether comprise book character.
Step S205 comprises book character if respond in the content, judges that then the ftp service is normal.
Step S206 does not comprise book character if respond in the content, judges that then the ftp service is unusual.
Ftp service monitoring method according to the embodiment of the invention; Before further judging, can judge earlier whether port has connected, connect under the normal situation at port; Judge further more whether the ftp service is normal, can further improve judging efficiency and accuracy.
Fig. 3 is the flow chart of the ftp service monitoring method of another embodiment according to the present invention.
As shown in Figure 3, the ftp service monitoring method comprises the steps.
Step S301 judges whether the ftp port connects normally.
Step S302 sends the ftp connection request.
Step S303 returns the response content according to the ftp connection request.
Step S304 judges and responds in the content whether comprise book character.
Step S305 comprises book character if respond in the content, judges that then the ftp service is normal.
Step S306 does not comprise book character if respond in the content, judges that then the ftp service is unusual.
Step S307 is judging that ftp serves when unusual, sends the service abnormal prompt.
For example; Can point out through indicator light; Perhaps can send alarm sound; Perhaps can also will serve unusual message and be sent to relevant responsible person through communications platforms such as notes; Thereby make relevant responsible person can recognize the service operation situation of server end in time, and when going wrong, in time keep in repair.
In one embodiment of the invention, step S301 is optional.
According to the ftp service monitoring method of the embodiment of the invention, judging that ftp serves when unusual, can in time send prompting to the user.
Fig. 4 is the flow chart according to the ftp service monitoring method of another embodiment.
As shown in Figure 4, the ftp service monitoring method comprises the steps.
Step S401 judges whether the ftp port connects normally.
Step S402 sends the ftp connection request.
Step S403 returns the response content according to the ftp connection request.
Step S404 judges and responds in the content whether comprise book character.
Step S405 comprises book character if respond in the content, judges that then the ftp service is normal.
Step S406 does not comprise book character if respond in the content, judges that then the ftp service is unusual.
Step S407 is judging that ftp serves when unusual, sends the service abnormal prompt.
Step S408, the judged result of storage above-mentioned steps S405 and step S406.
The result who at every turn judges is stored to generate daily record, and the user can understand the history run situation of server end through checking daily record like this, so that better server end is monitored and managed.
In one embodiment of the invention, step S401 and step S407 are optional.And the execution of each step does not have tangible sequencing, for example can first execution in step S408 execution in step S407 again, perhaps execution in step S407 and step S408 simultaneously.
According to the ftp service monitoring method of the embodiment of the invention, the result of stores service monitoring, thus can monitor and manage server end better.
Be to realize that the foregoing description, the present invention also propose a kind of ftp service monitoring system.
5-7 describes the ftp service monitoring system of the embodiment of the invention in detail with reference to the accompanying drawings below.
Fig. 5 is the structured flowchart of ftp service monitoring system according to an embodiment of the invention.As shown in Figure 5, this ftp service monitoring system 1 comprises terminal 10 and server 20.
Particularly, terminal 10 comprises: first sending module, 110, the first receiver modules 120, judge module 130.Server 20 comprises: second receiver module, 210, the second sending modules 220.
First sending module 110 is used to send the ftp connection request.First receiver module 120 is used for the response content that reception server 20 returns.Judge module 130 is used for judging whether respond content comprises book character; If comprise book character in the response content; Then judge module 130 judges that the ftp service is normal, does not comprise book character if respond in the content, and then judge module 130 judges that the ftp service is unusual.
Second receiver module 210 is used to receive the ftp connection request.Second sending module 220 is used for returning the response content according to the ftp connection request to first receiver module 120.
According to the ftp service monitoring system of the embodiment of the invention, can judge whether the ftp service is normal, and this monitor system operation is simple according to whether comprising book character in the response content of returning, realize that easily, accuracy height and efficient are high.And, owing to need not to import username and password, therefore can not reveal user profile, safe.
In one embodiment of the invention, comprise following content " USER r " in the ftp connection request that first sending module 110 sends.Correspondingly, if comprise " Anonymous " in the response content of returning according to the ftp connection request that first receiver module 120 receives, then judge module 130 judges that the ftp service is normal, otherwise the ftp service is unusual.
Should be understood that except foregoing, also can be when sending the ftp connection request, the content of sending other, the present invention does not limit, as long as assurance is according to comprising the book character with uniqueness and the property judged in its response content of returning.Should also be understood that above-mentioned transmission content also can be done corresponding change with the setting of responding book character in the content when ftp communication protocol is made the adaptability change, these all should be included in protection scope of the present invention.
In one embodiment of the invention, judge module 130 can be used for also judging whether the ftp port connects normally, connects under the normal situation at port, judges further more whether the ftp service is normal.Thus, can further improve judging efficiency and accuracy.
Fig. 6 is the structured flowchart according to the ftp service monitoring system of another embodiment of invention.As shown in Figure 6, on the basis of embodiment shown in Figure 5, this terminal 10 also comprises reminding module 140.
Reminding module 140 is used for judging that at judge module 130 ftp serve when unusual, send the service abnormal prompt.For example; Can point out through indicator light; Perhaps can send alarm sound; Perhaps can also will serve unusual message and be sent to relevant responsible person through communications platforms such as notes; Thereby make relevant responsible person can recognize the service operation situation of server end in time, and when going wrong, in time keep in repair.
Fig. 7 is the structured flowchart of the ftp service monitoring system of another embodiment according to the present invention.As shown in Figure 7, on the basis of embodiment shown in Figure 6, this terminal 10 also comprises memory module 150.
Memory module 150 is used for after judge module 130 has judged that ftp service is whether normal; The judged result of storage judge module 130; So that the generation daily record, thereby the user can understand the history run situation of server 20 through inquiry log, better server 20 is monitored and is managed.
Another aspect of the present invention also proposes a kind of ssh service monitoring method.
Fig. 8 is the flow chart of ssh service monitoring method according to an embodiment of the invention.Should be understood that ssh service monitoring and ftp service monitoring are similar, for simplicity, only describe the ssh service monitoring method here with a specific embodiment.
As shown in Figure 8, the ssh service monitoring method comprises the steps.
Step S801 judges whether the ssh port connects normally.
If the ssh port connects normal, then continue step S802; Otherwise, can judge directly that the ssh service is unusual, need not to continue the step of back.
Step S802 sends the ssh connection request.
In one embodiment of the invention, when sending the ssh connection request, the discernible ssh version string of send server end is like " SSH-1.99-OpenSSH_3.9P1 ".
Step S803 returns the response content according to the ssh connection request.
Step S804 judges and responds in the content whether comprise book character.
Step S805 comprises book character if respond in the content, judges that then the ssh service is normal.
Step S806 does not comprise book character if respond in the content, judges that then the ssh service is unusual.
In one embodiment of the invention, if comprise character " zlib " in the response content of returning according to the ssh connection request, can judge that then the ssh service is normal, otherwise can judge that the ssh service is unusual.
Should be understood that except foregoing, also can be when sending the ssh connection request, the content of sending other, the present invention does not limit, as long as assurance is according to comprising the book character with uniqueness and the property judged in its response content of returning.Should also be understood that above-mentioned transmission content also can be done corresponding change with the setting of responding book character in the content when ssh communication protocol is made the adaptability change, these all should be included in protection scope of the present invention.
Step S807 is judging that ssh serves when unusual, sends the service abnormal prompt.For example; Can point out through indicator light; Perhaps can send alarm sound; Perhaps can also will serve unusual message and be sent to relevant responsible person through communications platforms such as notes; Thereby make relevant responsible person can recognize the service operation situation of server end in time, and when going wrong, in time keep in repair.
Step S808, the judged result of storage above-mentioned steps S805 and step S806.
The result who at every turn judges is stored to generate daily record, and the user can understand the history run situation of server end through checking daily record like this, so that better server end is monitored and managed.
In one embodiment of the invention, step S801, step S807 and step S808 all are optional.And the execution of each step does not have tangible sequencing, for example can first execution in step S808 execution in step S807 again, perhaps execution in step S807 and step S808 simultaneously.
According to the ssh service monitoring method of the embodiment of the invention, judge according to whether comprising book character in the response content of returning whether the ssh service is normal, and this method for supervising is simple to operate, realize that easily, accuracy height and efficient are high.And, need not to import username and password during monitoring, there is not the risk of revealing user profile, safe.
Be to realize that the foregoing description, the present invention also propose a kind of ssh service monitoring system.
Particularly; Ssh service monitoring system and above-mentioned ftp service monitoring system class are seemingly; Differently be; First sending module 110 is used to send the ssh connection request; Second receiver module 210 is used to receive the ssh connection request; Second sending module 220 is used for returning the response content according to the ssh connection request to first receiver module 120; Judge module 130 is used for judging whether respond content comprises book character; If comprise book character in the response content; Then judge module 130 judges that the ssh service is normal; If do not comprise book character in the response content, then judge module 130 judges that the ssh service is unusual.
In one embodiment of the invention, first sending module 110 is when sending the ssh connection request, and send server 20 discernible ssh version strings are like " SSH-1.99-OpenSSH_3.9P1 ".Correspondingly, if comprise " zlib " in the response content of returning according to the ssh connection request that first receiver module 120 receives, then judge module 130 judges that the ssh service is normal, otherwise the ssh service is unusual.
Should be understood that except foregoing, also can be when sending the ssh connection request, the content of sending other, the present invention does not limit, as long as assurance is according to comprising the book character with uniqueness and the property judged in its response content of returning.Should also be understood that above-mentioned transmission content also can be done corresponding change with the setting of responding book character in the content when ssh communication protocol is made the adaptability change, these all should be included in protection scope of the present invention.
In addition, judge module 130 is used to also judge whether the ssh port connects normally, connects under the normal situation at port, judges further more whether the ssh service is normal.Thus, can further improve judging efficiency and accuracy.
Reminding module 140 judges that at judge module 130 ssh serve when unusual, send the service abnormal prompt.For example; Can point out through indicator light; Perhaps can send alarm sound; Perhaps can also will serve unusual message and be sent to relevant responsible person through communications platforms such as notes; Thereby make relevant responsible person can recognize the service operation situation of server end in time, and when going wrong, in time keep in repair.
Memory module 150 is used for after judge module 130 has judged that ssh service is whether normal; The judged result of storage judge module 130; So that the generation daily record, thereby the user can understand the history run situation of server 20 through inquiry log, better server 20 is monitored and is managed.
According to the ssh service monitoring system of the embodiment of the invention, can judge whether the ssh service is normal, and this monitor system operation is simple according to whether comprising book character in the response content of returning, realize that easily, accuracy height and efficient are high.And, owing to need not to import username and password, therefore can not reveal user profile, safe.
In an embodiment of the present invention, the terminal can be various terminals such as notebook, desktop computer, mobile phone, PDA, net book.
Should be appreciated that each several part of the present invention can use hardware, software, firmware or their combination to realize.In the above-described embodiment, a plurality of steps or method can realize with being stored in the memory and by software or firmware that suitable instruction execution system is carried out.For example; If realize with hardware; The same in another embodiment; In the available following technology well known in the art each or their combination realize: have the discrete logic that is used for data-signal is realized the logic gates of logic function; Application-specific integrated circuit (ASIC) with suitable combinational logic gate circuit; Programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means the concrete characteristic, structure, material or the characteristics that combine this embodiment or example to describe and is contained at least one embodiment of the present invention or the example.In this manual, the schematic statement to above-mentioned term not necessarily refers to identical embodiment or example.And concrete characteristic, structure, material or the characteristics of description can combine with suitable manner in any one or more embodiment or example.
Although illustrated and described embodiments of the invention; For the ordinary skill in the art; Be appreciated that under the situation that does not break away from principle of the present invention and spirit and can carry out multiple variation, modification, replacement and modification that scope of the present invention is accompanying claims and be equal to and limit to these embodiment.

Claims (24)

1. a ftp service monitoring method is characterized in that, may further comprise the steps:
Send the ftp connection request;
Return the response content according to said ftp connection request;
Judge in the said response content and whether comprise book character;
If comprise book character in the said response content, judge that then said ftp service is normal; And
If do not comprise book character in the said response content, judge that then said ftp service is unusual.
2. ftp service monitoring method according to claim 1 is characterized in that, further comprises step:
Judge whether the ftp port connects normally.
3. ftp service monitoring method according to claim 1 is characterized in that, said ftp connection request comprises " USER r ".
4. ftp service monitoring method according to claim 3 is characterized in that, said book character is " Anonymous ".
5. ftp service monitoring method according to claim 1 and 2 is characterized in that, further comprises step:
Judging that said ftp serves when unusual, sends the service abnormal prompt.
6. ftp service monitoring method according to claim 1 and 2 is characterized in that, further comprises step:
Whether normally storage judges said ftp service result.
7. a ftp service monitoring system is characterized in that, comprises terminal and server,
Said terminal comprises:
First sending module, said first sending module are used for sending the ftp connection request to said server;
First receiver module, said first receiver module are used to receive the response content that said server returns; With
Judge module; Said judge module is used for judging whether said response content comprises book character; If comprise book character in the said response content; Then said judge module judges that said ftp service is normal; If do not comprise book character in the said response content, then said judge module judges that said ftp service is unusual;
Said server comprises:
Second receiver module, said second receiver module is used to receive said ftp connection request; With
Second sending module, said second sending module are used for returning the response content according to said ftp connection request to said first receiver module.
8. ftp service monitoring according to claim 7 system is characterized in that said judge module is used to also judge whether the ftp port of said server connects normally.
9. according to claim 7 or 8 described ftp service monitoring systems, it is characterized in that said terminal further comprises:
Reminding module, said reminding module are used for judging that at said judge module said ftp serves when unusual, sends the service abnormal prompt.
10. according to claim 7 or 8 described ftp service monitoring systems, it is characterized in that said terminal further comprises:
Memory module, said memory module are used for after said judge module has judged that said ftp service is whether normal, the judged result of storing said judge module.
11. ftp service monitoring according to claim 7 system is characterized in that, the ftp connection request that said first sending module sends comprises " USER r ".
12. ftp service monitoring according to claim 7 system is characterized in that, the book character in the response content that said first receiver module receives is " Anonymous ".
13. a ssh service monitoring method is characterized in that, may further comprise the steps:
Send the ssh connection request;
Return the response content according to said ssh connection request;
Judge in the said response content and whether comprise book character;
If comprise book character in the said response content, judge that then said ssh service is normal; And
If do not comprise book character in the said response content, judge that then said ssh service is unusual.
14. ssh service monitoring method according to claim 13 is characterized in that, further comprises step:
Judge whether the ssh port connects normally.
15. ssh service monitoring method according to claim 13 is characterized in that, said ssh connection request comprises " SSH-1.99-OpenSSH_3.9P1 ".
16. ssh service monitoring method according to claim 14 is characterized in that, said book character is " zlib ".
17. according to claim 13 or 14 described ssh service monitoring methods, it is characterized in that, further comprise step:
Judging that said ssh serves when unusual, sends the service abnormal prompt.
18. according to claim 13 or 14 described ssh service monitoring methods, it is characterized in that, further comprise step:
The whether normal result of said ssh service is judged in storage.
19. a ssh service monitoring system is characterized in that, comprises terminal and server,
Said terminal comprises:
First sending module, said first sending module are used for sending the ssh connection request to said server;
First receiver module, said first receiver module are used to receive the response content that said server returns; With
Judge module; Said judge module is used for judging whether said response content comprises book character; If comprise book character in the said response content; Then said judge module judges that said ssh service is normal; If do not comprise book character in the said response content, then said judge module judges that said ssh service is unusual;
Said server comprises:
Second receiver module, said second receiver module is used to receive said ssh connection request; With
Second sending module, said second sending module are used for returning the response content according to said ssh connection request to said first receiver module.
20. ssh service monitoring according to claim 19 system is characterized in that said judge module is used to also judge whether the ssh port of said server connects normally.
21., it is characterized in that said terminal further comprises according to claim 19 or 20 described ssh service monitoring systems:
Reminding module, said reminding module are used for judging that at said judge module said ssh serves when unusual, sends the service abnormal prompt.
22. ssh service monitoring according to claim 19 system is characterized in that, the ssh connection request that said first sending module sends comprises " SSH-1.99-OpenSSH_3.9P1 ".
23. ssh service monitoring according to claim 22 system is characterized in that, the book character in the response content that said first receiver module receives is " zlib ".
24., it is characterized in that said terminal further comprises according to claim 19 or 20 described ssh service monitoring systems:
Memory module, said memory module are used for after said judge module has judged that said ssh service is whether normal, the judged result of storing said judge module.
CN2011103562685A 2011-11-10 2011-11-10 Ftp (file transfer protocol) and ssh (struts spring hibernate) service monitoring method and system Pending CN102347874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103562685A CN102347874A (en) 2011-11-10 2011-11-10 Ftp (file transfer protocol) and ssh (struts spring hibernate) service monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103562685A CN102347874A (en) 2011-11-10 2011-11-10 Ftp (file transfer protocol) and ssh (struts spring hibernate) service monitoring method and system

Publications (1)

Publication Number Publication Date
CN102347874A true CN102347874A (en) 2012-02-08

Family

ID=45546180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103562685A Pending CN102347874A (en) 2011-11-10 2011-11-10 Ftp (file transfer protocol) and ssh (struts spring hibernate) service monitoring method and system

Country Status (1)

Country Link
CN (1) CN102347874A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825124A (en) * 2015-01-06 2016-08-03 中国移动通信集团广西有限公司 Server illegal operation monitoring method and monitoring system
CN106909505B (en) * 2017-02-19 2021-03-02 苏州浪潮智能科技有限公司 Remote testing method and device for java-based server operating system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859802A (en) * 2006-03-24 2006-11-08 华为技术有限公司 Method for detecting talking state
US7506047B2 (en) * 2001-03-30 2009-03-17 Bmc Software, Inc. Synthetic transaction monitor with replay capability
CN101594269A (en) * 2009-06-29 2009-12-02 成都市华为赛门铁克科技有限公司 A kind of detection method of unusual connection, device and gateway device
EP1502201B1 (en) * 2002-05-03 2009-12-23 American Power Conversion Corporation Method and apparatus for collecting and displaying network device information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7506047B2 (en) * 2001-03-30 2009-03-17 Bmc Software, Inc. Synthetic transaction monitor with replay capability
EP1502201B1 (en) * 2002-05-03 2009-12-23 American Power Conversion Corporation Method and apparatus for collecting and displaying network device information
CN1859802A (en) * 2006-03-24 2006-11-08 华为技术有限公司 Method for detecting talking state
CN101594269A (en) * 2009-06-29 2009-12-02 成都市华为赛门铁克科技有限公司 A kind of detection method of unusual connection, device and gateway device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825124A (en) * 2015-01-06 2016-08-03 中国移动通信集团广西有限公司 Server illegal operation monitoring method and monitoring system
CN106909505B (en) * 2017-02-19 2021-03-02 苏州浪潮智能科技有限公司 Remote testing method and device for java-based server operating system

Similar Documents

Publication Publication Date Title
US20160191318A1 (en) Systems and methods for programmable device installations
CN112714158B (en) Transaction processing method, relay network, cross-link gateway, system, medium and equipment
CN103152400A (en) Method and system for logging in through mobile terminal and cloud server
CN110147675A (en) A kind of safety detection method and equipment of intelligent terminal
US10244392B2 (en) Over-the-air personalization of network devices
CN109218407B (en) Code management and control method based on log monitoring technology and terminal equipment
CN103747013A (en) Cloud terminal login verification method and device
CN103634935B (en) WPS (Wi-Fi protected setup) or QSS (quick secure setup)-based network accessing method and device
CN103516851B (en) A kind of wireless product cloud test platform system
CN113468515A (en) User identity authentication method and device, electronic equipment and storage medium
CN111866083A (en) Equipment debugging system and method, equipment to be debugged, remote debugging equipment and transfer server
JP2021192214A (en) Method and device for verifying operation states of applications
CN108322366A (en) Access the methods, devices and systems of network
CN112019378A (en) Troubleshooting method and device
CN102347874A (en) Ftp (file transfer protocol) and ssh (struts spring hibernate) service monitoring method and system
CN102905290B (en) base station maintenance method and apparatus
CN103209100B (en) service monitoring method and system
CN112528296B (en) Vulnerability detection method and device, storage medium and electronic equipment
US20210258305A1 (en) Probe-based risk analysis for multi-factor authentication
CN111176567B (en) Storage supply verification method and device for distributed cloud storage
CN103281288B (en) A kind of SMSCallFilter system and method
WO2017065818A1 (en) Selective delivery state change of valve of remote metering device
CN111147899B (en) Fault early warning method and device
CN113965342A (en) Trusted network connection system and method based on domestic platform
CN103561355B (en) A kind of system method to set up and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120208