Opened 6 years ago

Closed 6 years ago

#914 closed defect (no response)

i2p router doesn't open its port on ipv4 address

Reported by: DISABLED Owned by: zzz
Priority: minor Milestone: 0.9.6
Component: router/transport Version: 0.9.5
Keywords: Cc:
Parent Tickets: Sensitive: no

Description (last modified by zzz)

Hi, I'm using i2prouter on a computer behind NAT. It works, but gives me warning "Network: WARN-Firewalled"( "with Inbound TCP Enabled" - depends on settings). My network structure is rather complicated, but I'm definitely sure that the required port has been properly forwarded and NATed for both incoming and outgoing connections, both for TCP and UDP. Like other ports for other networking apps on the same PC, e.g. a bittorrent client.
i2prouter just doesn't want to listen on this port.
"netstat -npl | grep *THAT_PORT*" gives me only one tcp6 and one udp6 entry, with no udp or tcp.
Is there a way to force i2p router to open the port for listening on ipv4 address?

—- I2P ROUTER LOG ———

I2P Version and Running Environment

Please report bugs on trac.i2p2.i2p or trac.i2p2.de. You may use the username "guest" and password "guest" if you do not wish to register.

Please include this information in bug reports:

I2P version: 0.9.5-0-deb1p1
Java version: Sun Microsystems Inc. 1.6.0_27 (OpenJDK Runtime Environment 1.6.0_27-b27)
Wrapper version: 3.5.17
Server version: 6.1.26
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux i386 3.2.0-4-486
Processor: Core i7/i5 (32nm) (corei)
Jbigi: Locally optimized native BigInteger library loaded from file
Encoding: UTF-8
Charset: UTF-8

Note that system information, log timestamps, and log messages may provide clues to your location; please review everything you include in a bug report.
Critical Logs

    16.04.13 5:56:44 CRIT [uterWatchdog] 2p.router.tasks.RouterWatchdog: Router appears hung, or there is severe network congestion. Watchdog starts barking!

Router Logs (configure)

File location: /var/log/i2p/log-router-0.txt

    16.04.13 13:45:48 WARN [uter Restart] net.i2p.router.Router : Restart complete
    16.04.13 13:45:48 WARN [uter Restart] net.i2p.router.Router : Restarting the client manager
    16.04.13 13:45:48 WARN [uter Restart] net.i2p.router.Router : Restarting the tunnel manager
    16.04.13 13:45:48 WARN [uter Restart] net.i2p.router.Router : Restarting the comm system
    16.04.13 13:45:38 WARN [uter Restart] net.i2p.router.Router : Router teardown complete, restarting the router...
    16.04.13 13:45:38 WARN [uter Restart] net.i2p.router.Router : Stopping the tunnel manager
    16.04.13 13:45:38 ERROR [Mv3Handler 1] net.i2p.sam.SAMv1Handler : DATAGRAM SEND failed
    16.04.13 13:45:38 ERROR [Mv3Handler 1] net.i2p.sam.SAMMessageSession : I2PSessionException while sending data
         net.i2p.client.I2PSessionException: Already closed
         at net.i2p.client.I2PSessionMuxedImpl.sendMessage(I2PSessionMuxedImpl.java:197)
         at net.i2p.client.I2PSessionMuxedImpl.sendMessage(I2PSessionMuxedImpl.java:176)
         at net.i2p.client.I2PSessionMuxedImpl.sendMessage(I2PSessionMuxedImpl.java:129)
         at net.i2p.sam.SAMMessageSession.sendBytesThroughMessageSession(SAMMessageSession.java:119)
         at net.i2p.sam.SAMDatagramSession.sendBytes(SAMDatagramSession.java:92)
         at net.i2p.sam.SAMv1Handler.execDatagramMessage(SAMv1Handler.java:432)
         at net.i2p.sam.SAMv3Handler.handle(SAMv3Handler.java:395)
         at net.i2p.sam.SAMHandler.run(SAMHandler.java:190)
         at java.lang.Thread.run(Thread.java:679)
         at net.i2p.util.I2PThread.run(I2PThread.java:85)
    16.04.13 13:45:31 ERROR [Mv3Handler 1] net.i2p.sam.SAMv1Handler : DATAGRAM SEND failed
    16.04.13 13:45:31 ERROR [Mv3Handler 1] net.i2p.sam.SAMMessageSession : I2PSessionException while sending data
         net.i2p.client.I2PSessionException: Already closed
         at net.i2p.client.I2PSessionMuxedImpl.sendMessage(I2PSessionMuxedImpl.java:197)
         at net.i2p.client.I2PSessionMuxedImpl.sendMessage(I2PSessionMuxedImpl.java:176)
         at net.i2p.client.I2PSessionMuxedImpl.sendMessage(I2PSessionMuxedImpl.java:129)
         at net.i2p.sam.SAMMessageSession.sendBytesThroughMessageSession(SAMMessageSession.java:119)
         at net.i2p.sam.SAMDatagramSession.sendBytes(SAMDatagramSession.java:92)
         at net.i2p.sam.SAMv1Handler.execDatagramMessage(SAMv1Handler.java:432)
         at net.i2p.sam.SAMv3Handler.handle(SAMv3Handler.java:395)
         at net.i2p.sam.SAMHandler.run(SAMHandler.java:190)
         at java.lang.Thread.run(Thread.java:679)
         at net.i2p.util.I2PThread.run(I2PThread.java:85)
    16.04.13 13:45:30 WARN [uter Restart] net.i2p.router.Router : Stopping the comm system
    16.04.13 13:45:30 ERROR [nal Reader 2] i2p.client.I2PSessionMuxedImpl: [shared clients #20163]: Error occurred communicating with router: Router restart
         net.i2p.client.I2PSessionException: Disconnect Message received
         at net.i2p.client.DisconnectMessageHandler.handleMessage(DisconnectMessageHandler.java:32)
         at net.i2p.client.I2PSessionImpl.messageReceived(I2PSessionImpl.java:606)
         at net.i2p.internal.QueuedI2CPMessageReader$QueuedI2CPMessageReaderRunner.run(QueuedI2CPMessageReader.java:56)
         at java.lang.Thread.run(Thread.java:679)
         at net.i2p.util.I2PThread.run(I2PThread.java:85)
    16.04.13 13:45:30 ERROR [nal Reader 6] i2p.client.I2PSessionMuxedImpl: [iMule_TCP #20165]: Error occurred communicating with router: Router restart
         net.i2p.client.I2PSessionException: Disconnect Message received
         at net.i2p.client.DisconnectMessageHandler.handleMessage(DisconnectMessageHandler.java:32)
         at net.i2p.client.I2PSessionImpl.messageReceived(I2PSessionImpl.java:606)
         at net.i2p.internal.QueuedI2CPMessageReader$QueuedI2CPMessageReaderRunner.run(QueuedI2CPMessageReader.java:56)
         at java.lang.Thread.run(Thread.java:679)
         at net.i2p.util.I2PThread.run(I2PThread.java:85)
    16.04.13 13:45:30 ERROR [nal Reader 4] i2p.client.I2PSessionMuxedImpl: [iMule_UDP #20164]: Error occurred communicating with router: Router restart
         net.i2p.client.I2PSessionException: Disconnect Message received
         at net.i2p.client.DisconnectMessageHandler.handleMessage(DisconnectMessageHandler.java:32)
         at net.i2p.client.I2PSessionImpl.messageReceived(I2PSessionImpl.java:606)
         at net.i2p.internal.QueuedI2CPMessageReader$QueuedI2CPMessageReaderRunner.run(QueuedI2CPMessageReader.java:56)
         at java.lang.Thread.run(Thread.java:679)
         at net.i2p.util.I2PThread.run(I2PThread.java:85)
    16.04.13 13:45:30 WARN [uter Restart] net.i2p.router.Router : Stopping the client manager
    16.04.13 13:45:30 ERROR [uter Restart] net.i2p.router.Router : Stopping the router for a restart...
    16.04.13 6:01:44 ERROR [uterWatchdog] 2p.router.tasks.RouterWatchdog: Memory: 57,04M/989,88M
    16.04.13 6:01:44 ERROR [uterWatchdog] 2p.router.tasks.RouterWatchdog: Outbound send rate: 388.79222415551686 Bps
    16.04.13 6:01:44 ERROR [uterWatchdog] 2p.router.tasks.RouterWatchdog: 1minute send processing time: 1010.2850574567456
    16.04.13 6:01:44 ERROR [uterWatchdog] 2p.router.tasks.RouterWatchdog: Participating tunnel count: 0

Service (Wrapper) Logs

File location: /var/log/i2p/wrapper.log

2013/04/16 00:19:06 | --> Wrapper Started as Daemon
2013/04/16 00:19:06 | Java Service Wrapper Community Edition 32-bit 3.5.17
2013/04/16 00:19:06 |   Copyright (C) 1999-2012 Tanuki Software, Ltd. All Rights Reserved.
2013/04/16 00:19:06 |     http://wrapper.tanukisoftware.com
2013/04/16 00:19:06 | 
2013/04/16 00:19:06 | Launching a JVM...
2013/04/16 00:19:06 | WrapperManager: Initializing...
2013/04/16 00:19:06 | Starting I2P 0.9.5-0-deb1p1
2013/04/16 00:19:06 | Setting up new user directory /var/lib/i2p/i2p-config
2013/04/16 00:19:06 | Created /var/lib/i2p/i2p-config/eepsite
2013/04/16 00:19:06 | Created /var/lib/i2p/i2p-config/eepsite/etc
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/etc/webdefault.xml
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/etc/realm.properties
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/jetty-ssl.xml
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/jetty-jmx.xml
2013/04/16 00:19:06 | Created /var/lib/i2p/i2p-config/eepsite/logs
2013/04/16 00:19:06 | Created /var/lib/i2p/i2p-config/eepsite/cgi-bin
2013/04/16 00:19:06 | Created /var/lib/i2p/i2p-config/eepsite/webapps
2013/04/16 00:19:06 | Created /var/lib/i2p/i2p-config/eepsite/docroot
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/favicon.ico
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/robots.txt
2013/04/16 00:19:06 | Created /var/lib/i2p/i2p-config/eepsite/docroot/help
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/index_de.html
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/index_fr.html
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/pagetemplate.html
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/index_ru.html
2013/04/16 00:19:06 | Created /var/lib/i2p/i2p-config/eepsite/docroot/help/lib
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/h2bg.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/brown.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/itoopie.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/us.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/ru.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/eepsite.css
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/jp.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/nl.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/bg.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/es.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/ir.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/de.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/se.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/cn.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/it.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/lib/fr.png
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/index_na.html
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/index.html
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/index_sv.html
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/help/index_nl.html
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/docroot/index.html
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/jetty-rewrite.xml
2013/04/16 00:19:06 | Created /var/lib/i2p/i2p-config/eepsite/contexts
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/contexts/cgi-context.xml
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/contexts/base-context.xml
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/jetty.xml
2013/04/16 00:19:06 | Copied /usr/share/i2p/blocklist.txt
2013/04/16 00:19:06 | Copied /usr/share/i2p/hosts.txt
2013/04/16 00:19:06 | Copied /usr/share/i2p/i2psnark.config
2013/04/16 00:19:06 | Copied /usr/share/i2p/i2ptunnel.config
2013/04/16 00:19:06 | Copied /usr/share/i2p/router.config
2013/04/16 00:19:06 | Copied /usr/share/i2p/systray.config
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/jetty.xml with modifications
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/jetty-ssl.xml with modifications
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/contexts/base-context.xml with modifications
2013/04/16 00:19:06 | Copied /usr/share/i2p/eepsite/contexts/cgi-context.xml with modifications
2013/04/16 00:19:06 | Copied /usr/share/i2p/clients.config with modifications
2013/04/16 00:19:06 | Successfully copied data files to new user directory /var/lib/i2p/i2p-config
2013/04/16 00:19:07 | INFO: Native CPUID library jcpuid-x86-linux loaded from file
2013/04/16 00:19:07 | INFO: Locally optimized native BigInteger library loaded from file
2013/04/16 00:19:08 | INFO: Jetty 6.1.26 logging to I2P logs using class org.mortbay.jetty.Server
2013/04/16 00:19:08 | Reseed start
2013/04/16 00:19:08 | Reseeding from https://netdb.i2p2.no/
2013/04/16 00:19:10 | INFO:  Addressbook directory addressbook created
2013/04/16 00:20:30 | Reseed got 60 router infos from https://netdb.i2p2.no/ with 0 errors
2013/04/16 00:20:30 | Reseeding from https://i2p.feared.eu/
2013/04/16 00:21:33 | Reseed got no router infos from https://i2p.feared.eu/
2013/04/16 00:21:33 | Reseeding from https://i2p.mooo.com/netDb/
2013/04/16 00:22:59 | Reseed got 60 router infos from https://i2p.mooo.com/netDb/ with 0 errors
2013/04/16 00:22:59 | Reseed complete, 120 received
2013/04/16 00:37:32 | TERM trapped.  Shutting down.
2013/04/16 00:37:35 | CRIT  [r 1 shutdown] net.i2p.router.Router         : Shutting down the router...
2013/04/16 00:37:35 | CRIT  [r 1 shutdown] net.i2p.router.Router         : Starting final shutdown(3)
2013/04/16 00:37:35 | CRIT  [r 1 shutdown] net.i2p.router.Router         : Shutdown(3) complete
2013/04/16 00:37:35 | <-- Wrapper Stopped
2013/04/16 00:38:07 | --> Wrapper Started as Daemon
2013/04/16 00:38:07 | Java Service Wrapper Community Edition 32-bit 3.5.17
2013/04/16 00:38:07 |   Copyright (C) 1999-2012 Tanuki Software, Ltd. All Rights Reserved.
2013/04/16 00:38:07 |     http://wrapper.tanukisoftware.com
2013/04/16 00:38:07 | 
2013/04/16 00:38:07 | Launching a JVM...
2013/04/16 00:38:09 | WrapperManager: Initializing...
2013/04/16 00:38:09 | Starting I2P 0.9.5-0-deb1p1
2013/04/16 00:38:10 | INFO: Native CPUID library jcpuid-x86-linux loaded from file
2013/04/16 00:38:10 | INFO: Locally optimized native BigInteger library loaded from file
2013/04/16 00:38:11 | INFO: Jetty 6.1.26 logging to I2P logs using class org.mortbay.jetty.Server
2013/04/16 00:42:43 | CRIT  [hutdown hook] net.i2p.router.Router         : Graceful shutdown progress - no more tunnels, safe to die
2013/04/16 00:42:43 | CRIT  [hutdown hook] net.i2p.router.Router         : Starting final shutdown(5)
2013/04/16 00:42:43 | CRIT  [hutdown hook] net.i2p.router.Router         : Shutdown(5) complete
2013/04/16 00:42:46 | on_exit trigger matched.  Restarting the JVM.  (Exit code: 5)
2013/04/16 00:43:01 | Launching a JVM...
2013/04/16 00:43:01 | WrapperManager: Initializing...
2013/04/16 00:43:01 | Starting I2P 0.9.5-0-deb1p1
2013/04/16 00:43:26 | INFO: Native CPUID library jcpuid-x86-linux loaded from file
2013/04/16 00:43:26 | INFO: Locally optimized native BigInteger library loaded from file
2013/04/16 00:43:27 | INFO: Jetty 6.1.26 logging to I2P logs using class org.mortbay.jetty.Server
2013/04/16 00:54:20 | CRIT  [hutdown hook] net.i2p.router.Router         : Graceful shutdown progress - no more tunnels, safe to die
2013/04/16 00:54:20 | CRIT  [hutdown hook] net.i2p.router.Router         : Starting final shutdown(5)
2013/04/16 00:54:20 | CRIT  [hutdown hook] net.i2p.router.Router         : Shutdown(5) complete
2013/04/16 00:54:23 | on_exit trigger matched.  Restarting the JVM.  (Exit code: 5)
2013/04/16 00:54:38 | Launching a JVM...
2013/04/16 00:54:38 | WrapperManager: Initializing...
2013/04/16 00:54:38 | Starting I2P 0.9.5-0-deb1p1
2013/04/16 00:54:38 | INFO: Native CPUID library jcpuid-x86-linux loaded from file
2013/04/16 00:54:38 | INFO: Locally optimized native BigInteger library loaded from file
2013/04/16 00:54:40 | INFO: Jetty 6.1.26 logging to I2P logs using class org.mortbay.jetty.Server
2013/04/16 01:02:49 | CRIT  [hutdown hook] net.i2p.router.Router         : Graceful shutdown progress - no more tunnels, safe to die
2013/04/16 01:02:49 | CRIT  [hutdown hook] net.i2p.router.Router         : Starting final shutdown(5)
2013/04/16 01:02:49 | CRIT  [hutdown hook] net.i2p.router.Router         : Shutdown(5) complete
2013/04/16 01:02:52 | on_exit trigger matched.  Restarting the JVM.  (Exit code: 5)
2013/04/16 01:03:07 | Launching a JVM...
2013/04/16 01:03:07 | WrapperManager: Initializing...
2013/04/16 01:03:07 | Starting I2P 0.9.5-0-deb1p1
2013/04/16 01:03:07 | INFO: Native CPUID library jcpuid-x86-linux loaded from file
2013/04/16 01:03:07 | INFO: Locally optimized native BigInteger library loaded from file
2013/04/16 01:03:09 | INFO: Jetty 6.1.26 logging to I2P logs using class org.mortbay.jetty.Server
2013/04/16 01:52:45 | CRIT  [hutdown hook] net.i2p.router.Router         : Graceful shutdown progress - no more tunnels, safe to die
2013/04/16 01:52:45 | CRIT  [hutdown hook] net.i2p.router.Router         : Starting final shutdown(5)
2013/04/16 01:52:45 | CRIT  [hutdown hook] net.i2p.router.Router         : Shutdown(5) complete
2013/04/16 01:52:48 | on_exit trigger matched.  Restarting the JVM.  (Exit code: 5)
2013/04/16 01:53:03 | Launching a JVM...
2013/04/16 01:53:03 | WrapperManager: Initializing...
2013/04/16 01:53:03 | Starting I2P 0.9.5-0-deb1p1
2013/04/16 01:53:03 | INFO: Native CPUID library jcpuid-x86-linux loaded from file
2013/04/16 01:53:03 | INFO: Locally optimized native BigInteger library loaded from file
2013/04/16 01:53:05 | INFO: Jetty 6.1.26 logging to I2P logs using class org.mortbay.jetty.Server
2013/04/16 02:14:25 | CRIT  [hutdown hook] net.i2p.router.Router         : Graceful shutdown progress - no more tunnels, safe to die
2013/04/16 02:14:25 | CRIT  [hutdown hook] net.i2p.router.Router         : Starting final shutdown(5)
2013/04/16 02:14:25 | CRIT  [hutdown hook] net.i2p.router.Router         : Shutdown(5) complete
2013/04/16 02:14:28 | on_exit trigger matched.  Restarting the JVM.  (Exit code: 5)
2013/04/16 02:14:43 | Launching a JVM...
2013/04/16 02:14:43 | WrapperManager: Initializing...
2013/04/16 02:14:43 | Starting I2P 0.9.5-0-deb1p1
2013/04/16 02:14:44 | INFO: Native CPUID library jcpuid-x86-linux loaded from file
2013/04/16 02:14:44 | INFO: Locally optimized native BigInteger library loaded from file
2013/04/16 02:14:45 | INFO: Jetty 6.1.26 logging to I2P logs using class org.mortbay.jetty.Server
2013/04/16 05:57:04 | CRIT  [uterWatchdog] 2p.router.tasks.RouterWatchdog: Router appears hung, or there is severe network congestion.  Watch

Subtickets

Change History (2)

comment:1 Changed 6 years ago by zzz

Component: unspecifiedrouter/transport
Description: modified (diff)
Owner: set to zzz

Is I2P working at all?

There's a chance that I2P may have switched to a different port, could you check netstat for that?

Never heard of I2P opening IPv6 ports only - at least for transport. We don't support IPv6 transport yet.

Could you describe your "rather complicated" network setup?

comment:2 Changed 6 years ago by zzz

Resolution: no response
Status: newclosed

Please reopen if you can provide more information.

Note: See TracTickets for help on using tickets.