aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: SVN9565: assert "!m_publishingIPs->empty()" failed in ReCalculateTrustValue()  (Read 3959 times)

llama

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19

amule crashed while I had it minimized in an Xvnc.

AMD64 Ubuntu Jaunty (prerelease).  debug build of amule SNV 2.3.0~svnr9565-0ubuntu1~jaunty1 from https://launchpad.net/~amule-trunk/+archive/ppa
See http://www.amule.org/amule/index.php?topic=16693.new.  (Thanks Festor, it's really handy not to have to keep amule up to date myself.)

 I know there's a new svn build available.  I was waiting until the current one crashed before upgrading. :/  It ran for 8 days before crashing, which is an over previous versions.

The goods are at Thread 1, Frame #6.  The Ubuntu package didn't come with source, so I couldn't poke around any...  If I see the same crash again, I'll think about getting source for debugging.

Code: [Select]
log: Debug: ../../src/kademlia/kademlia/Entry.cpp(468): assert "!m_publishingIPs->empty()" failed in ReCalculateTrustValue().

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7f72fdbea7e0 (LWP 5277)]
0x00007f72fd807f3b in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
42      ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/pt-raise.c
Current language:  auto; currently c
(gdb)
(gdb)
(gdb) thread apply all bt full

Thread 5 (Thread 0x7f72eefdf950 (LWP 5288)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
No locals.
#1  0x00007f72fb7ce009 in wxConditionInternal::WaitTimeout (this=<value optimized out>, milliseconds=100) at ../src/unix/threadpsx.cpp:405
        curtime = <value optimized out>
        tspec = {tv_sec = 1240432426, tv_nsec = 516000000}
        err = <value optimized out>
#2  0x00007f72fb7cf892 in wxSemaphoreInternal::WaitTimeout (this=0x7f72e8001910, milliseconds=100) at ../src/unix/threadpsx.cpp:552
        remainingTime = 140131860435008
        locker = {m_isOk = true, m_mutex = @0x7f72e8001910}
#3  0x00000000007f5f03 in CTimerThread::Entry (this=0x7f72e80010e0) at ../../src/Timer.cpp:64
        now = 3481845168
        sinceLast = 0
        timeout = 100
        evt = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x9f3a90, static ms_classInfo = {m_className = 0x7f72fb800c38,
        m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180,
        m_next = 0x7f72fba5ad00, static sm_classTable = 0x1cbd4d0}, m_refData = 0x0}, m_eventObject = 0x0, m_eventType = 10244,
    m_timeStamp = 0, m_id = 6128, m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false,
    static ms_classInfo = {m_className = 0x7f72fb812bb0, m_objectSize = 64, m_objectConstructor = 0, m_baseInfo1 = 0x7f72fba5ac00,
      m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fba5cba0, static sm_classTable = 0x1cbd4d0}}, <No data fields>}
        lastEvent = 3481845168
#4  0x00007f72fb7d0212 in wxThreadInternal::PthreadStart (thread=0x7f72e80010e0) at ../src/unix/threadpsx.cpp:766
        pthread = (wxThreadInternal *) 0x7f72e8001170
        rc = <value optimized out>
        dontRunAtAll = false
        __FUNCTION__ = "PthreadStart"
#5  0x00007f72fd8003ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
        __res = <value optimized out>
        pd = (struct pthread *) 0x7f72eefdf950
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6911296890041503899, 8392704, 0, 140131860435008, 140733290074064,
        6842087014333968229, 6842057555709161317}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
      cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
#6  0x00007f72faa68fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 0x7f72f07e3950 (LWP 5285)):
#0  0x00007f72fd8077e1 in nanosleep () from /lib/libpthread.so.0
No locals.
#1  0x00007f72fb7d6a4c in wxMicroSleep (microseconds=<value optimized out>) at ../src/unix/utilsunx.cpp:191
        tmReq = {tv_sec = 1, tv_nsec = 0}
#2  0x00000000005e6d36 in UploadBandwidthThrottler::Entry (this=0x347a800) at ../../src/UploadBandwidthThrottler.cpp:320
        timeSinceLastLoop = 0
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 22528
        sleepTime = 1000
        thisLoopTick = 3481844651
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        lastLoopTick = 3481844651
        realBytesToSpend = 2048999
        allowedDataRate = 20480
        rememberedSlotCounter = 3
        extraSleepTime = 1000
        sendLock = {m_isOk = 136, m_mutex = @0x7f72f07e2ef0}
#3  0x00007f72fb7d0212 in wxThreadInternal::PthreadStart (thread=0x347a800) at ../src/unix/threadpsx.cpp:766
        pthread = (wxThreadInternal *) 0x327e040
        rc = <value optimized out>
        dontRunAtAll = false
        __FUNCTION__ = "PthreadStart"
#4  0x00007f72fd8003ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
        __res = <value optimized out>
        pd = (struct pthread *) 0x7f72f07e3950
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6911296890041503899, 8392704, 0, 140131860435008, 140733290070336,
        6842028746660147045, 6842057555709161317}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
      cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
#5  0x00007f72faa68fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#6  0x0000000000000000 in ?? ()
No symbol table info available.
Current language:  auto; currently asm

Thread 1 (Thread 0x7f72fdbea7e0 (LWP 5277)):
#0  0x00007f72fd807f3b in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1  0x00007f72fbe85ed5 in wxGUIAppTraits::ShowAssertDialog (this=<value optimized out>, msg=<value optimized out>)
    at ../src/gtk/utilsgtk.cpp:392
        dialog = (GtkWidget *) 0x9423450
        dump = {<wxStackWalker> = {<wxStackWalkerBase> = {_vptr.wxStackWalkerBase = 0x7f72fc29ddb0},
    static ms_exepath = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f72fb805c58}, <No data fields>},
    static ms_addresses = {0x7f72fb7cc284, 0x7f72fbe85e74, 0x7f72fb728ac0, 0x7f72fbe5efd0, 0x45c458, 0x7f72fb72931a, 0x8195ca, 0x819a40,
      0x60a7ae, 0x650754, 0x65c795, 0x61de37, 0x4d7e32, 0x58d942, 0x4d8937, 0x457d19, 0x7f72fb7d1579, 0x7f72fb7d2b67, 0x7f72fb7d2ca9,
      0x7f72fb7d29a6, 0x7f72fb72881e, 0x7f72fbf0d6fb, 0x7f72fbe5fc32, 0x7f72f84180ca, 0x7f72f841b7a0, 0x7f72f841bc6d, 0x7f72fa2b99f7,
      0x7f72fbe792a8, 0x7f72fbf0d438, 0x7f72fb768ccd, 0x69d691, 0x7f72fa9a15a6, 0x452a29, 0x0 <repeats 167 times>},
    static ms_symbols = 0x4f94650, static m_depth = 33}, m_dlg = 0x9423450}
        result = 0
        returnCode = <value optimized out>
        __FUNCTION__ = "ShowAssertDialog"
#2  0x00007f72fb728ac0 in ShowAssertDialog (szFile=0x9fcd20, nLine=468, szFunc=0x7f72da8ea948, szCond=0x9fd0b0, szMsg=0x0,
    traits=0x1d1b670) at ../src/common/appbase.cpp:836
        msg = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f72eb7a17f8}, <No data fields>}
        s_bNoAsserts = false
#3  0x00007f72fbe5efd0 in wxApp::OnAssertFailure (this=0x149d, file=0x149d, line=5, func=0xffffffffffffffff, cond=0x7f72f8ef86a8, msg=0x22)
    at ../src/gtk/app.cpp:556
No locals.
#4  0x000000000045c458 in CamuleApp::OnAssertFailure (this=0x1ceadc0, file=0x9fcd20, line=468, func=0x7f72da8ea948, cond=0x9fd0b0, msg=0x0)
    at ../../src/amule.cpp:1385
No locals.
#5  0x00007f72fb72931a in wxOnAssert (szFile=0x9fcd20, nLine=468, szFunc=<value optimized out>, szCond=0x9fd0b0, szMsg=0x0)
    at ../src/common/appbase.cpp:711
        guard = {m_flag = @0x7f72fba53080, m_isInside = false}
        strFunc = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f72da8ea948}, <No data fields>}
        s_bInAssert = 1
#6  0x00000000008195ca in Kademlia::CKeyEntry::ReCalculateTrustValue (this=0x7f72d9de35b0) at ../../src/kademlia/kademlia/Entry.cpp:468
        __FUNCTION__ = "ReCalculateTrustValue"
#7  0x0000000000819a40 in Kademlia::CKeyEntry::GetTrustValue (this=0x7f72d9de35b0) at ../../src/kademlia/kademlia/Entry.cpp:489
No locals.
#8  0x000000000060a7ae in Kademlia::CIndexed::SendValidKeywordResult (this=0x3570ae0, keyID=@0x7fff05c2f990, pSearchTerms=0x7f72ea6e5460,
    ip=3138951979, port=12238, oldClient=false, kad2=true, startPosition=0, senderKey=@0x7fff05c30ac0)
    at ../../src/kademlia/kademlia/Indexed.cpp:765
        currName = (class Kademlia::CKeyEntry *) 0x7f72d9de35b0
        itEntry = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x7f72d8163aa0, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
  _M_current = {_M_node = 0x7f72eb2f3d40}}
        currSource = (Source *) 0x7f72d8163a80
        itSource = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x86ef050, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
  _M_current = {_M_node = 0x7f72e8c93930}}
        packetdata = {<CFileDataIO> = {_vptr.CFileDataIO = 0x9f0d90}, m_growthRate = 51200, m_position = 34, m_BufferSize = 51200,
  m_fileSize = 34, m_delete = true, m_readonly = false, m_buffer = 0x7f72dae139f0 "!6Ô?YȱdkÎa\027ÐIß!\"Dä?\212¸\235$Pz\214ª)\212{W2"}
        maxResults = 300
        count = 0
        onlyTrusted = true
        currKeyHash = (KeyHash *) 0x86ef010
        itKeyHash = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x3570b28, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
  _M_current = {_M_node = 0x86eed10}}
        __FUNCTION__ = "SendValidKeywordResult"
#9  0x0000000000650754 in Kademlia::CKademliaUDPListener::Process2SearchKeyRequest (this=0xa6d4020,
    packetData=0x7fff05c30cc2 "\"Dä?\212¸\235$Pz\214ª)\212{W", lenPacket=45, ip=3138951979, port=12238, senderKey=@0x7fff05c30ac0)
    at ../../src/kademlia/net/KademliaUDPListener.cpp:1309
        bio = {<CFileDataIO> = {_vptr.CFileDataIO = 0x9f0d90}, m_growthRate = 0, m_position = 45, m_BufferSize = 45, m_fileSize = 45,
  m_delete = false, m_readonly = true, m_buffer = 0x7fff05c30cc2 "\"Dä?\212¸\235$Pz\214ª)\212{W"}
        target = {m_data = {1071924258, 614316170, 2861333072, 1467714089}}
        startPosition = 0
        restrictive = true
        pSearchTerms = (SSearchTerm *) 0x7f72ea6e5460
#10 0x000000000065c795 in Kademlia::CKademliaUDPListener::ProcessPacket (this=0xa6d4020,
    data=0x7fff05c30cc0 "ä3\"Dä?\212¸\235$Pz\214ª)\212{W", lenData=47, ip=3138951979, port=12238, validReceiverKey=true,
    senderKey=@0x7fff05c30ac0) at ../../src/kademlia/net/KademliaUDPListener.cpp:321
        curCon = true
        opcode = 51 '3'
        packetData = (const uint8_t *) 0x7fff05c30cc2 "\"Dä?\212¸\235$Pz\214ª)\212{W"
        lenPacket = 45
#11 0x000000000061de37 in Kademlia::CKademlia::ProcessPacket (data=0x7fff05c30cc0 "ä3\"Dä?\212¸\235$Pz\214ª)\212{W", lenData=47,
    ip=3138951979, port=12238, validReceiverKey=true, senderKey=@0x7fff05c30ac0) at ../../src/kademlia/kademlia/Kademlia.cpp:292
No locals.
#12 0x00000000004d7e32 in CClientUDPSocket::OnPacketReceived (this=0x3012e30, ip=731584699, port=12238,
    buffer=0x7fff05c30cb0 "\0340ñYm\t¾rb\016HI¯eÏ\223ä3\"Dä?\212¸\235$Pz\214ª)\212{W", length=63) at ../../src/ClientUDPSocket.cpp:100
        decryptedBuffer = (uint8_t *) 0x7fff05c30cc0 "ä3\"Dä?\212¸\235$Pz\214ª)\212{W"
        receiverVerifyKey = 655963549
        senderVerifyKey = 4081328459
        packetLen = 47
        protocol = 228 'ä'
        opcode = 51 '3'
        __FUNCTION__ = "OnPacketReceived"
#13 0x000000000058d942 in CMuleUDPSocket::OnReceive (this=0x3012e30, errorCode=0) at ../../src/MuleUDPSocket.cpp:184
        buffer = "\0340ñYm\t¾rb\016HI¯eÏ\223ä3\"Dä?\212¸\235$Pz\214ª)\212{W\000\200\001\030\00080s Forever The Pop Hits", '\0' <repeats 1969 times>, "\020;rÚr\177\000\000¹w»ör\177\000\000P+Ã\005ÿ\177\000\000\000\000\000\000\000\000\000\000\020;rÚr\177\000\000Us»ör\177\000\000P+Ã\005ÿ\177\000\000³{»ör\177\000\000\000\000\000\000\000\000\000\000ð\026Ã\005ÿ\177\000\000 <rÚr\177\000\000p;rÚr\177\000\000°H\t\003\000\000\000\000\020Ô\b\003\000\000\000\000c\037P6", '\0' <repeats 44 times>, "\020"...
        addr = {<wxIPaddress> = {<wxSockAddress> = {<wxObject> = {_vptr.wxObject = 0x7f72fbc8da50, static ms_classInfo = {
          m_className = 0x7f72fb800c38, m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
          static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fba5ad00, static sm_classTable = 0x1cbd4d0}, m_refData = 0x0},
      static ms_classInfo = {m_className = 0x7f72fba85620, m_objectSize = 24, m_objectConstructor = 0, m_baseInfo1 = 0x7f72fba5ac00,
        m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fbc8f840, static sm_classTable = 0x1cbd4d0},
      m_address = 0x7f72e9b85300}, static ms_classInfo = {m_className = 0x7f72fba85658, m_objectSize = 24, m_objectConstructor = 0,
      m_baseInfo1 = 0x7f72fbc8f740, m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fbc8f740,
      static sm_classTable = 0x1cbd4d0}}, static ms_classInfo = {m_className = 0x7f72fba85688, m_objectSize = 32,
    m_objectConstructor = 0x7f72fba7a060 <wxIPV4address::wxCreateObject()>, m_baseInfo1 = 0x7f72fbc8f780, m_baseInfo2 = 0x0,
    static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fbc8f780, static sm_classTable = 0x1cbd4d0}, m_origHostname = {<wxStringBase> = {
      static npos = 18446744073709551615, m_pchData = 0x7f72fb805c58}, <No data fields>}}
        length = 63
        error = false
        lastError = 0

        ip = 731584699
        port = 12238
#14 0x00000000004d8937 in CClientUDPSocket::OnReceive (this=0x3012e30, errorCode=0) at ../../src/ClientUDPSocket.cpp:69
No locals.
#15 0x0000000000457d19 in CamuleApp::UDPSocketHandler (this=0x1ceadc0, event=@0x7f72e932b150) at ../../src/amule.cpp:2205
        socket = (class CMuleUDPSocket *) 0x3012e30
        __FUNCTION__ = "UDPSocketHandler"
#16 0x00007f72fb7d1579 in wxEvtHandler::ProcessEventIfMatches (entry=<value optimized out>, handler=0x149d, event=@0x7f72e932b150)
    at ../src/common/event.cpp:1231
        tableId1 = <value optimized out>
        tableId2 = <value optimized out>
#17 0x00007f72fb7d2b67 in wxEventHashTable::HandleEvent (this=<value optimized out>, event=@0x7f72e932b150, self=0x1ceadc0)
    at ../src/common/event.cpp:906
        n = 2
        count = 3
        eventType = <value optimized out>
        eTTnode = (wxEventHashTable::EventTypeTable * const) 0x31701f0
#18 0x00007f72fb7d2ca9 in wxEvtHandler::ProcessEvent (this=0x1ceadc0, event=@0x7f72e932b150) at ../src/common/event.cpp:1293
        __FUNCTION__ = "ProcessEvent"
#19 0x00007f72fb7d29a6 in wxEvtHandler::ProcessPendingEvents (this=0x1ceadc0) at ../src/common/event.cpp:1191
        event = {m_ptr = 0x7f72e932b150}
        n = 1
        __FUNCTION__ = "ProcessPendingEvents"
#20 0x00007f72fb72881e in wxAppConsole::ProcessPendingEvents (this=<value optimized out>) at ../src/common/appbase.cpp:294
        handler = (class wxEvtHandler *) 0x1ceadc0
#21 0x00007f72fbf0d6fb in wxAppBase::ProcessIdle (this=0x149d) at ../src/common/appcmn.cpp:435
        event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x1c, static ms_classInfo = {m_className = 0x7f72fb800c38, m_objectSize = 16,
        m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fba5ad00,
        static sm_classTable = 0x1cbd4d0}, m_refData = 0x301acf0}, m_eventObject = 0x1c, m_eventType = -129973640, m_timeStamp = 0,
    m_id = -120785759, m_callbackUserData = 0x0, m_propagationLevel = -41929471, m_skipped = 114, m_isCommandEvent = 127,
    static ms_classInfo = {m_className = 0x7f72fb812bb0, m_objectSize = 64, m_objectConstructor = 0, m_baseInfo1 = 0x7f72fba5ac00,
      m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fba5cba0, static sm_classTable = 0x1cbd4d0}},
  m_requestMore = false, static sm_idleMode = wxIDLE_PROCESS_ALL, static ms_classInfo = {m_className = 0x7f72fbfe2c88, m_objectSize = 64,
    m_objectConstructor = 0x7f72fbe518d0 <wxIdleEvent::wxCreateObject()>, m_baseInfo1 = 0x7f72fba5cbe0, m_baseInfo2 = 0x0,
    static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fc2ea120, static sm_classTable = 0x1cbd4d0}}
        needMore = false
#22 0x00007f72fbe5fc32 in wxapp_idle_callback () at ../src/gtk/app.cpp:206
        idleID_save = 29903025
        moreIdles = true
#23 0x00007f72f84180ca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x00007f72f841b7a0 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0x00007f72f841bc6d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#26 0x00007f72fa2b99f7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#27 0x00007f72fbe792a8 in wxEventLoop::Run (this=0x7f72e8001a00) at ../src/gtk/evtloop.cpp:76
        exitcode = <value optimized out>
        __FUNCTION__ = "Run"
#28 0x00007f72fbf0d438 in wxAppBase::MainLoop (this=0x1ceadc0) at ../src/common/appcmn.cpp:312
        mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x7f72e8001a00}, m_pp = 0x1ceae38, m_pOld = 0x0}
#29 0x00007f72fb768ccd in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at ../src/common/init.cpp:460
No locals.
#30 0x000000000069d691 in main (argc=1, argv=0x7fff05c35258) at ../../src/amule-gui.cpp:94
No locals.
Current language:  auto; currently c
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming

Please check your logfile what happened before the crash. Did you have an internet disconnect short time before ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

llama

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19

Please check your logfile what happened before the crash. Did you have an internet disconnect short time before ?

 No, nothing weird was going on with my connection or my firewall box.  There do seem to be a surprising number of Kad connection messages, firewalled and then not firewalled.  My firewall box forwards the normal ports and the custom ports both to my internal machine's custom ports:

Code: [Select]
        iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 4662       -j DNAT --to $iptesla:14662
        iptables -t nat -A PREROUTING -i eth0 -p udp --dport 4665       -j DNAT --to $iptesla:14665
        iptables -t nat -A PREROUTING -i eth0 -p udp --dport 4672       -j DNAT --to $iptesla:14672
#custom ports for ed2k
        iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 14662      -j DNAT --to $iptesla
        iptables -t nat -A PREROUTING -i eth0 -p udp --dport 14665      -j DNAT --to $iptesla
        iptables -t nat -A PREROUTING -i eth0 -p udp --dport 14672      -j DNAT --to $iptesla

 (And no, that's not new.  With this setup, aMule usually shows not-firewalled, and I get a high ID).

Code: [Select]
  2009-04-14 23:12:23: amule.cpp(533): Initialising aMule SVN using wxGTK2 v2.8.9 (Debugging) (Snapshot: rev. 9565)
 2009-04-14 23:12:23: amule.cpp(552): Checking if there is an instance already running...
 2009-04-14 23:12:23: amule.cpp(577): No other instances are running.
 2009-04-14 23:12:32: ClientCreditsList.cpp(168): Creditfile loaded, 17096 clients are known
 2009-04-14 23:12:32: ClientCreditsList.cpp(171):  - Credits expired for 891 clients!
 2009-04-14 23:12:32: IPFilter.cpp(109): Loading IP-filters 'ipfilter.dat' and 'ipfilter_static.dat'.
 2009-04-14 23:12:32: IPFilter.cpp(335): Loaded 0 IP-ranges from '/home/peter/.aMule/ipfilter.dat'. 0 malformed lines were discarded.
 2009-04-14 23:12:32: IPFilter.cpp(335): Loaded 3 IP-ranges from '/home/peter/.aMule/ipfilter_static.dat'. 0 malformed lines were discarded.
 2009-04-14 23:12:32: ExternalConn.cpp(203): *** TCP socket (ECServer) listening on 127.0.0.1:4712
 2009-04-14 23:12:32: MuleUDPSocket.cpp(81): Created Server UDP-Socket at port 14665
 2009-04-14 23:12:32: ListenSocket.cpp(66): ListenSocket: Ok.
 2009-04-14 23:12:32: MuleUDPSocket.cpp(81): Created Client UDP-Socket at port 14672
 2009-04-14 23:12:32: amuleDlg.cpp(234):
 2009-04-14 23:12:32: amuleDlg.cpp(236):  - This is aMule SVN using wxGTK2 v2.8.9 (Debugging) (Snapshot: rev. 9565) based on eMule.
 2009-04-14 23:12:32: amuleDlg.cpp(238):    Running on Linux 2.6.28-11-tesla x86_64
 2009-04-14 23:12:32: amuleDlg.cpp(240):  - Visit http://www.amule.org to check if a new version is available.
 2009-04-14 23:12:32: amuleDlg.cpp(241):
 2009-04-14 23:12:32: IP2Country.cpp(167): Loaded 242 flag bitmaps.
 2009-04-14 23:12:33: ServerList.cpp(84): Loading server.met file: /home/peter/.aMule/server.met
!2009-04-14 23:12:33: ServerList.cpp(169): 4 servers in server.met found
 2009-04-14 23:12:33: DownloadQueue.cpp(110): Loading temp files from /home/peter/.aMule/Temp.
 2009-04-14 23:12:33: DownloadQueue.cpp(129): Loading PartFile 1 of 30
 2009-04-14 23:12:33: DownloadQueue.cpp(129): Loading PartFile 2 of 30
...
 2009-04-14 23:12:33: DownloadQueue.cpp(161): All PartFiles Loaded.
 2009-04-14 23:12:33: DownloadQueue.cpp(166): Found 30 part files
 2009-04-14 23:12:33: SharedFileList.cpp(325): Adding file /home/peter/.aMule/Temp/021.part.met to shares
 2009-04-14 23:12:33: SharedFileList.cpp(325): Adding file /home/peter/.aMule/Temp/026.part.met to shares
...
 2009-04-14 23:12:34: SharedFileList.cpp(352): Found 148 known shared files
!2009-04-14 23:12:34: amule.cpp(808): Connecting
 2009-04-14 23:12:34: ServerSocket.cpp(754): Connecting to www.UseNeXT.to (87.230.83.44 - 87.230.83.44:443) using protocol obfuscation.
 2009-04-14 23:12:39: RoutingZone.cpp(208): Read 200 Kad contacts
 2009-04-14 23:12:39: IP2Country.cpp(92): Download new GeoIP.dat from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
 2009-04-14 23:12:39: HTTPDownload.cpp(172): HTTP download thread started
 2009-04-14 23:12:39: ServerSocket.cpp(754): Connecting to 85.17.40.108 (85.17.40.108 - 85.17.40.108:4231) using protocol obfuscation.
 2009-04-14 23:12:39: ServerConnect.cpp(190): Connected to www.UseNeXT.to (87.230.83.44:4661)
!2009-04-14 23:12:39: amule.cpp(2160): Kad started.
 2009-04-14 23:12:39: HTTPDownload.cpp(329): Host: geolite.maxmind.com:80
 2009-04-14 23:12:39: HTTPDownload.cpp(330): URL: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
 2009-04-14 23:12:39: HTTPDownload.cpp(331): Response: 200 (Error: 0)
 2009-04-14 23:12:39: HTTPDownload.cpp(199): Download size: 594341
 2009-04-14 23:12:39: ServerConnect.cpp(190): Connected to 85.17.40.108 (85.17.40.108:4231)
 2009-04-14 23:12:40: HTTPDownload.cpp(249): HTTP download thread ended
 2009-04-14 23:12:40: IP2Country.cpp(138): Successfully updated GeoIP.dat
!2009-04-14 23:12:41: ServerConnect.cpp(263): Connection established on: www.UseNeXT.to
!2009-04-14 23:12:41: amule.cpp(2148): Connected to www.UseNeXT.to with HighID
 2009-04-14 23:12:41: ServerSocket.cpp(417): New clientid is 756419404
 2009-04-14 23:12:41: amule.cpp(1809): ServerMessage: server version 17.15 (lugdunum)
 2009-04-14 23:12:41: amule.cpp(1809): ServerMessage: Download - Tip: Haven´t you found what you´re looking for yet?
 2009-04-14 23:12:41: amule.cpp(1809): ServerMessage: Enjoy the unique service of www.UseNeXT.to and get what you are searching for immediately.
 2009-04-14 23:12:41: amule.cpp(1809): ServerMessage: Experience the fastest way of downloading so far!
 2009-04-14 23:12:41: amule.cpp(1809): ServerMessage: Clear recommendation for all of you who appreciate downloading at maximum speed, security and 100% anonymity!
 2009-04-14 23:12:41: amule.cpp(1809): ServerMessage: Benefit from a tremendous archive comprising more than 300 TB of actual MP3s, Videos, Games and Eroticism!
 2009-04-14 23:12:41: amule.cpp(1809): ServerMessage: www.UseNeXT.to archives are daily updated with latest files!
 2009-04-14 23:12:41: amule.cpp(1809): ServerMessage: Don´t wait any longer - start downloading 150 GB for FREE!
!2009-04-14 23:12:54: amule.cpp(2162): Kad stopped.
!2009-04-14 23:12:54: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-14 23:13:02: amule.cpp(2169): Connected to Kad (ok)

... bunch of activity which I don't feel the need to publicize. ...

!2009-04-21 04:12:48: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 04:12:52: amule.cpp(2169): Connected to Kad (ok)
!2009-04-21 05:12:50: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 05:12:50: amule.cpp(2169): Connected to Kad (ok)
 2009-04-21 06:01:00: BaseClient.cpp(2311): CAUGHT DEAD SOCKET IN SENDPACKET()
!2009-04-21 06:12:48: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 06:12:49: amule.cpp(2169): Connected to Kad (ok)
 2009-04-21 07:00:17: BaseClient.cpp(2311): CAUGHT DEAD SOCKET IN SENDPACKET()
!2009-04-21 07:12:50: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 07:12:50: amule.cpp(2169): Connected to Kad (ok)
 2009-04-21 07:57:37: BaseClient.cpp(2311): CAUGHT DEAD SOCKET IN SENDPACKET()
!2009-04-21 09:12:46: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 09:12:48: amule.cpp(2169): Connected to Kad (ok)
 2009-04-21 09:41:50: BaseClient.cpp(1790): Compatible client found with ET_COMPATIBLECLIENT of 15
!2009-04-21 10:12:48: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 10:12:50: amule.cpp(2169): Connected to Kad (ok)
!2009-04-21 11:12:46: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 11:12:46: amule.cpp(2169): Connected to Kad (ok)
 2009-04-21 12:15:17: BaseClient.cpp(1790): Compatible client found with ET_COMPATIBLECLIENT of 15
!2009-04-21 12:20:35: ClientTCPSocket.cpp(882): User [CHN][VeryCD]yourname (1032299788) requested your shareddirectories-list -> Accepted
!2009-04-21 12:20:35: ClientTCPSocket.cpp(945): User [CHN][VeryCD]yourname (1032299788) requested your sharedfiles-list for directory !Incomplete Files -> accepted
...
 2009-04-21 13:42:50: BaseClient.cpp(1790): Compatible client found with ET_COMPATIBLECLIENT of 15
!2009-04-21 14:12:46: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 14:12:47: amule.cpp(2169): Connected to Kad (ok)
!2009-04-21 15:12:49: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 15:12:49: amule.cpp(2169): Connected to Kad (ok)
!2009-04-21 16:12:47: amule.cpp(2171): Connected to Kad (firewalled)
!2009-04-21 16:12:47: amule.cpp(2169): Connected to Kad (ok)
!2009-04-21 17:03:27: ClientTCPSocket.cpp(882): User [CHN][VeryCD]yourname (3722255098) requested your shareddirectories-list -> Accepted
... my directories, which I allow world listings of.
 2009-04-21 21:07:58: Logger.cpp(343): Debug: ../../src/kademlia/kademlia/Entry.cpp(468): assert "!m_publishingIPs->empty()" failed in ReCalculateTrustValue().
Logged