在监控内网数据包时,发现有一些异常UDP数据包,每秒发送一次:
16:26:58.633722 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto 17, length: 119) 192.168.4.45.33389 > 234.3.1.2.33389: UDP, length 91
16:26:59.635459 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto 17, length: 119) 192.168.4.45.33389 > 234.3.1.2.33389: UDP, length 91
(后面总结,应该是一种心跳机制)
于是我就在这台机上用iptables给封了
# iptables -A OUTPUT -p udp -m udp --dport 33389 -j DROP
结果,今天开发人员跟我反馈,confluence 无法访问了,想来想去,就是前些天做了这个封端口的工作。将这条规则删除后,果然可以了。
看看 confluence 给我反馈的错误信息:
CONFLUENCE
System Error
A system error has occurred - our apologies! Please contact your Confluence administrator to create a support issue on our support system at http://support.atlassian.com with the following information:
a description of your problem and what you were doing at the time it occurred
cut & paste the error and system information found below
attach the application server log file (if possible).
We will respond as promptly as possible.
Thank you!
Cause:
java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINED)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.waitAcceptingClients(Service.CDB:12)
Stack Trace: [hide]
java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINED)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.waitAcceptingClients(Service.CDB:12)
at com.tangosol.coherence.component.net.Cluster$ClusterService.waitAcceptingClients(Cluster.CDB:1)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.poll(Service.CDB: 
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.poll(Service.CDB:1 
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ClusterService.ensureService(ClusterService.CDB:15)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:25)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.start(ReplicatedCache.CDB:12)
at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:16)
at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
at com.tangosol.coherence.component.util.SafeService.restartService(SafeService.CDB:17)
at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:39)
at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:810)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:679)
at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:864)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:277)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:689)
at com.atlassian.confluence.cache.tangosol.ListenerTangosolCacheFactory.getCache(ListenerTangosolCacheFactory.java:75)
at com.atlassian.confluence.cache.tangosol.TangosolCacheManager.getCache(TangosolCacheManager.java:32)
at com.atlassian.confluence.cache.TransactionalCacheFactory.getCache(TransactionalCacheFactory.java:6 
at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.getCache(ConfluenceCachingBandanaPersister.java:41)
at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:54)
at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:41)
at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:33)
at com.atlassian.confluence.setup.settings.DefaultSettingsManager.getGlobalSettings(DefaultSettingsManager.java:25)
at com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncoding(ConfluenceEncodingFilter.java:22)
at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:20)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:17 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:14 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Referer URL: Unknown
Build Information:
buildNumber: 1325
upTime: 2 months, 11 days, 1 hour, 32 minutes, 44 seconds
devMode: false
version: 2.8.2
home: /opt/confluence/data
Unique ID: 0x0000011FB68C7ADDAC11042D2C5D9FDF5517D38BDFE8088ACC0FCDB2CA836B34
Server Information:
Application Server: Apache Tomcat/5.5.20
Servlet Version: 2.4
Database Dialect: com.atlassian.hibernate.dialect.MySQLDialect
Database Driver Name: com.mysql.jdbc.Driver
Database Driver Version: 3.1
Database Name: MySQL
Database Version: 4.1.20
Database Transaction Isolation: Repeatable read Database Latency: 1
Memory Information:
Total Memory: 359 MB
Used Memory: 190 MB
Free Memory: 169 MB
System Information:
userName: root
favouriteColour: Myrtle
time: 15:04:47
javaVm: Java HotSpot(TM) Server VM
operatingSystemArchitecture: i386
date: Friday, 27 Feb 2009
operatingSystem: Linux 2.6.9-42.ELsmp
jvmVersion: 1.0
userTimezone: Asia/Shanghai
fileSystemEncoding: UTF-8
jvmImplementationVersion: 1.5.0_16-b02
appServer: Apache Tomcat
javaVendor: Sun Microsystems Inc.
javaVersion: 1.5.0_16
javaRuntime: Java(TM) 2 Runtime Environment, Standard Edition
jvmVendor: Sun Microsystems Inc.
Cluster Information:
Name: wiki
Description: TangosolClusterInformation: wiki, listening on 229.75.123.162:33389 (后来分析,这就是重点)
Members:
Member(Id=1, Timestamp=2009-02-27 15:04:42.559, Address=192.168.4.45:8088, MachineId=47405, Location=process:4096@dev.******.com)
Enabled Plugins:
Content Action Menu Sections (confluence.content.action.menu, Version: 1.0)
Default Theme (com.atlassian.confluence.themes.default, Version: 1.0)
Checklists Macros (com.comalatech.checklists, Version: 1.4.0)
Linking Plugin (net.customware.confluence.plugin.linking, Version: 2.6.3)
Basic Macros (confluence.macros.basic, Version: 1.3)
Chart Plugin (confluence.extra.chart, Version: 1.11)
User Listener (confluence.extra.userlister, Version: 2.3)
Information Macros (confluence.extra.information, Version: 1.0)
Global Labels Sections (confluence.sections.labels, Version: 1.0)
Page Operations (confluence.sections.page.operations, Version: 1.0)
WebDAV Plugin (confluence.extra.webdav, Version: 1.1)
Confluence Remote API (confluence.extra.confluencerpc, Version: 2.8.2)
Profile Tabs (confluence.sections.profile, Version: 1.0)
French language pack (confluence.languages.fr_FR, Version: 1.6)
Admin Sections (confluence.sections.admin, Version: 1.0)
Core Startup and Shutdown (confluence.lifecycle.core, Version: 1)
Simplified Chinese language pack (confluence.languages.zh_CN, Version: 2.8.0)
Content Buttons (confluence.sections.page.temp, Version: 1.0)
Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.5)
TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 3.0-rc1)
Space Pages Sections (confluence.sections.space.pages, Version: 1.0)
Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 2.0)
Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0)
News Tabs (confluence.sections.news, Version: 1.0)
Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.10)
Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1.2)
Space Actions Sections (confluence.sections.space.actions, Version: 1.0)
Core Path Converters (confluence.converters.core, Version: 1.0)
Space Labels Sections (confluence.sections.space.labels, Version: 1.0)
Wiki Renderer Components (confluence.renderer.components, Version: 1.0)
Core Extractors (confluence.extractors.core, Version: 1.4)
Compatibility Macros (confluence.macros.compatibility, Version: 1.3)
Page Tabs (confluence.sections.page, Version: 1.0)
View Profile Web Interface (confluence.sections.profile.view, Version: 1.0)
Core Listeners (confluence.listeners.core, Version: 1.3)
Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 3.0.6)
Dashboard Macros (confluence.macros.dashboard, Version: 1.3)
Live Search Macros (confluence.extra.livesearch, Version: 2.6)
Page View Links (confluence.sections.page.actions, Version: 1.0)
System Web Resources (confluence.web.resources, Version: 1.0)
Comment Action Sections (confluence.comment.action, Version: 1.0)
JIRA Macros (confluence.extra.jira, Version: 2.8.1)
Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 2.0-rc1)
Attachment Actions (confluence.sections.attachments, Version: 1.0)
Layout Macros (confluence.extra.layout, Version: 1.1)
German language pack (confluence.languages.de_DE, Version: 1.2)
Add Content Menu Sections (confluence.menu.add, Version: 1.0)
Metadata Plugin (org.andya.confluence.plugins.metadata, Version: 2.1.0)
Excel Plugin (org.swift.confluence.excel, Version: 3.5.0)
Page Tree (com.atlassian.confluence.plugins.pagetree, Version: 1.10)
Space Browse Sections (confluence.sections.space.browse, Version: 1.0)
Tabular Metadata (confluence.extra.masterdetail, Version: 2.7)
Space Admin Sections (confluence.sections.space.admin, Version: 1.0)
Calendar Plugin (confluence.extra.calendar, Version: 2.7.1)
IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.1)
Advanced Macros (confluence.macros.advanced, Version: 1.3)
Page Tabs (confluence.search.mappers.lucene, Version: 1.0)
Confluence Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.13)
HTML Plugin (org.swift.confluence.html, Version: 3.1.0)
Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0)
Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.1.1)
User Menu Sections (confluence.user.menu, Version: 1.0)
Attachment Extractors (confluence.extractors.attachments, Version: 1.4)
Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 2.0-rc1)
BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2)
Space Item Tabs (confluence.sections.space, Version: 1.0)
Code Macro (confluence.macros.code, Version: 1.4)
Request
Information:
URL: http://dev.******.com:8080/confluence/500page.jsp
- Scheme: http
- Server: dev.******.com
- Port: 8080
- URI: /confluence/500page.jsp
- - Context Path: /confluence
- - Servlet Path: /500page.jsp
- - Path Info:
- - Query String:
foofoo
Attributes:
- javax.servlet.forward.request_uri : /confluence/dashboard.action
- javax.servlet.forward.context_path : /confluence
- javax.servlet.forward.servlet_path : /dashboard.action
- javax.servlet.forward.path_info : /500page.jsp
- javax.servlet.error.message :
- javax.servlet.error.servlet_name : action
- javax.servlet.error.exception : java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINED)
- javax.servlet.error.request_uri : /confluence/dashboard.action
- javax.servlet.error.status_code : 500
Parameters:
Confluence User:
- anonymous
Logging:
0 log statements generated by this request.