CentOS qpidd 默认网络服务

CentOS qpidd 默认网络服务

我刚刚完成了 Cent OS 6 的全新最小网络安装。我执行了 netstat 只是为了查看正在监听的内容:

tcp    0  0 127.0.0.1:25    0.0.0.0:*       LISTEN      1165/master
tcp    0  0 0.0.0.0:5672    0.0.0.0:*       LISTEN      1178/qpidd

除了 ssh,我还看到了 qpidd 和 localhost 上看起来像是邮件的东西。我试着在 Google 上搜索一下,看看这些是什么,以及为什么它们在最小安装中默认运行。如果可能的话,我想禁用它们,因为我正在尝试将其最小化。

答案1

如果你在 /etc/services 中查找端口 5672,你会发现它被分配给消息队列协议

我怀疑其中一个已安装的应用程序依赖于 AMQP(这是我的 SL 安装作为参考点):

No Matches found
[root@kerberos bin]# yum search amqp
Loaded plugins: refresh-packagekit
=============================================================================================================== N/S Matched: amqp ================================================================================================================
matahari-broker.x86_64 : Optional AMQP Broker for Matahari
mingw32-qpid-cpp.noarch : MinGW Windows port of AMQP C++ Daemons and Libraries
python-qpid.noarch : Python client library for AMQP
qpid-cpp-client-devel-docs.noarch : AMQP client development documentation
qpid-cpp-server.i686 : An AMQP message broker daemon
qpid-cpp-server.x86_64 : An AMQP message broker daemon
ruby-qpid.x86_64 : Ruby language client for AMQP

  Name and summary matches only, use "search all" for everything.
[root@kerberos bin]# yum search qpid
Loaded plugins: refresh-packagekit
=============================================================================================================== N/S Matched: qpid ================================================================================================================
fence-virtd-libvirt-qpid.x86_64 : Libvirt-qpid backend for fence-virtd
libvirt-qpid.x86_64 : QPid QMF interface to Libvirt
python-qpid-qmf.x86_64 : Python QMF library for Apache Qpid
qpid-cpp-client.i686 : Libraries for Qpid C++ client applications
qpid-cpp-client.x86_64 : Libraries for Qpid C++ client applications
qpid-cpp-client-devel.x86_64 : Header files, documentation and testing tools for developing Qpid C++ clients
qpid-cpp-client-rdma.x86_64 : RDMA Protocol support (including Infiniband) for Qpid clients
qpid-cpp-client-ssl.i686 : SSL support for Qpid clients
qpid-cpp-client-ssl.x86_64 : SSL support for Qpid clients
qpid-cpp-server-cluster.x86_64 : Cluster support for the Qpid daemon
qpid-cpp-server-devel.x86_64 : Libraries and header files for developing Qpid broker extensions
qpid-cpp-server-rdma.x86_64 : RDMA Protocol support (including Infiniband) for the Qpid daemon
qpid-cpp-server-ssl.x86_64 : SSL support for the Qpid daemon
qpid-cpp-server-store.x86_64 : Red Hat persistence extension to the Qpid messaging system
qpid-cpp-server-xml.x86_64 : XML extensions for the Qpid daemon
qpid-qmf.i686 : The Qpid Management Framework
qpid-qmf.x86_64 : The Qpid Management Framework
qpid-tests.noarch : Conformance tests for Apache Qpid
qpid-tools.noarch : Management and diagnostic tools for Apache Qpid
ruby-qpid-qmf.i686 : The QPID Management Framework bindings for ruby
ruby-qpid-qmf.x86_64 : The QPID Management Framework bindings for ruby
mingw32-qpid-cpp.noarch : MinGW Windows port of AMQP C++ Daemons and Libraries
python-qmf.noarch : Python QMF library for Apache Qpid
python-qpid.noarch : Python client library for AMQP
qpid-cpp-client-devel-docs.noarch : AMQP client development documentation
qpid-cpp-server.i686 : An AMQP message broker daemon
qpid-cpp-server.x86_64 : An AMQP message broker daemon
qpid-qmf-devel.x86_64 : Header files and tools for developing QMF extensions
rh-qpid-cpp-tests.x86_64 : Internal Red Hat test utilities
ruby-qpid.x86_64 : Ruby language client for AMQP

答案2

通过查看软件包依赖关系,似乎 qpidd 被太阳,某种管理框架。我还没有尝试过,但是,如果您不打算使用这些远程管理功能,我想您可以安全地禁用/卸载它。

答案3

此特定守护进程来自qpid-cpp-serverEL6 附带的软件包。这是Apache Qpid,实现高级消息队列协议有趣的是,我的 CentOS 安装中没有一个安装了这个特定的软件包,尽管我是使用 CentOS 安装 CD 进行安装的。你确定你做了一个真正的“最小”安装,还是你根据某人的“最小”(他们声称)模板安装了虚拟服务器?也许是某人预先制作的EC2 AMI

另一个监听本地主机端口 25 的项目是 postfix。在默认安装中,它只监听来自系统的邮件,不能接收来自网络的邮件。通常情况下,保留该配置是安全的,但您可能希望将其设置为将所有服务器生成的邮件转发到其他电子邮件地址,以便您实际上在方便的地方接收它。

相关内容