Opened 7 years ago

Closed 6 years ago

#553 closed defect (fixed)

Problem handling detected, correct external IP address resulting in Status "firewalled"

Reported by: guest Owned by: zzz
Priority: minor Milestone: 0.9.3
Component: router/transport Version: 0.8.11
Keywords: IP, Status detection, firewalled Cc:
Parent Tickets:

Description

Hi,
the problem was that my node assumed I was firewalled even though I'm not. I could not find the reason for this behaviour, until I edited the "TCP-Configuration" and specified my current IP manually. Since then everything works fine. The weird part is that the detected external IP was correct at all times. All displayed information in UPnP Status was correct, too. But somehow this information is not handled correctly. Th eproblem is not limited to 0.8.11 only. 0.8.10 and 0.8.9 were affected, too.

UPnP Status

Found Device: MyAwesomeWLAN UPnP/1.0 AVM FRITZ!Box Fon WLAN 7170 29.04.80
Service: ~~~~~~~ urn:schemas-any-com:service:Any:1 
Subdevice: WANDevice - FRITZ!Box Fon WLAN 7170 
Service: WAN Common Interface Configuration
Status: Up
Type: DSL
Upstream: 640000
Downstream: 6656000
Subdevice: WANConnectionDevice - FRITZ!Box Fon WLAN 7170 
Service: ~~~~~~~ urn:schemas-upnp-org:service:WANDSLLinkConfig:1 
Service: WAN IP Connection
Status: Connected
Type: IP_Routed
External IP: AAA.BBB.CCC.DDD

The current external IP address reported by UPnP is AAA.BBB.CCC.DDD
TCP port XXXX was successfully forwarded by UPnP.
UDP port YYYY was successfully forwarded by UPnP.

These settings work fine. SSU detection is _not_ the only one working btw.

UPnP Configuration:
X Enable UPnP to open firewall ports - UPnP status 

IP Configuration:
Externally reachable hostname or IP address:
 Use all auto-detect methods
 Disable UPnP IP address detection
 Ignore local interface IP address
X Use SSU IP address detection only
 Specify hostname or IP:  
 Hidden mode - do not publish IP (prevents participating traffic)

Action when IP changes:
 Laptop mode - Change router identity and UDP port when IP changes for enhanced anonymity (Experimental) 

UDP Configuration:
UDP port: YYYY

TCP Configuration:
Externally reachable hostname or IP address:
 Use auto-detected IP address (currently 84.157.246.160) if we are not firewalled
 Always use auto-detected IP address (Not firewalled)
X Specify hostname or IP: AAA.BBB.CCC.DDD
 Disable inbound (Firewalled)
 Completely disable (select only if behind a firewall that throttles or blocks outbound TCP)

Externally reachable TCP port:
 Use the same port configured for UDP (currently YYYY)
X Specify Port: XXXX 

General information.

I2P version: 0.8.11-0
Java version: Sun Microsystems Inc. 1.6.0_26 (Java(TM) SE Runtime Environment 1.6.0_26-b03)
Wrapper version: 3.1.1
Platform: Linux i386 2.6.35-30-generic
Processor: Core i3 or i5/i7 mobile (32nm) (corei)
Jbigi: Locally optimized native BigInteger library loaded from file
Encoding: UTF-8

And the wrapper report

2011/11/20 11:38:58 | --> Wrapper Started as Daemon
2011/11/20 11:38:58 | Launching a JVM...
2011/11/20 11:39:05 | Wrapper (Version 3.1.1) http://wrapper.tanukisoftware.org
2011/11/20 11:39:05 | 
2011/11/20 11:39:05 | Starting I2P 0.8.11-0
2011/11/20 11:39:09 | INFO: Native CPUID library jcpuid-x86-linux loaded from file
2011/11/20 11:39:09 | INFO: Locally optimized native BigInteger library loaded from file
2011/11/20 11:39:16 | 20.11.2011 10:39:14 org.mortbay.http.HttpServer doStart
2011/11/20 11:39:16 | INFO: Version Jetty/5.1.15
2011/11/20 11:39:16 | 20.11.2011 10:39:16 org.mortbay.util.FileResource <clinit>
2011/11/20 11:39:16 | INFO: Checking Resource aliases
2011/11/20 11:39:17 | Adding /abc/def/i2p/lib/i2psnark.jar to classpath for i2psnark
2011/11/20 11:39:17 | 20.11.2011 10:39:17 org.mortbay.util.Container start
2011/11/20 11:39:17 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@70be88
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started WebApplicationContext[/i2psnark,/i2psnark]
2011/11/20 11:39:18 | Adding /abc/def/i2p/lib/jstl.jar to classpath for susidns
2011/11/20 11:39:18 | Adding /abc/def/i2p/lib/standard.jar to classpath for susidns
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@1f31652
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started WebApplicationContext[/susidns,susidns]
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@35bb0f
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started WebApplicationContext[/i2ptunnel,/i2ptunnel]
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@ee3aa7
2011/11/20 11:39:18 | INFO: Starting Addressbook 2.0.4
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started WebApplicationContext[/addressbook,/addressbook]
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@3afb99
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started WebApplicationContext[/susimail,susimail]
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started net.i2p.router.web.LocaleWebAppHandler@167d7fb
2011/11/20 11:39:18 | [Fatal Error] :12:1: Content is not allowed in trailing section.
2011/11/20 11:39:18 | [Fatal Error] :6:1: Content is not allowed in trailing section.
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started WebApplicationContext[/,/]
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.http.SocketListener start
2011/11/20 11:39:18 | INFO: Started SocketListener on 0:0:0:0:0:0:0:1:7657
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.http.SocketListener start
2011/11/20 11:39:18 | INFO: Started SocketListener on 127.0.0.1:7657
2011/11/20 11:39:18 | 20.11.2011 10:39:18 org.mortbay.util.Container start
2011/11/20 11:39:18 | INFO: Started org.mortbay.jetty.Server@198cb3d
2011/11/20 11:39:18 | [Fatal Error] :6:1: Content is not allowed in trailing section.
2011/11/20 11:39:39 | 20.11.2011 10:39:39 org.mortbay.http.HttpServer doStart
2011/11/20 11:39:39 | INFO: Version Jetty/5.1.15
2011/11/20 11:39:39 | 20.11.2011 10:39:39 org.mortbay.util.Container start
2011/11/20 11:39:39 | INFO: Started org.mortbay.jetty.servlet.ServletHandler@178920a
2011/11/20 11:39:39 | 20.11.2011 10:39:39 org.mortbay.util.Container start
2011/11/20 11:39:39 | INFO: Started ServletHttpContext[/cgi-bin,/cgi-bin]
2011/11/20 11:39:39 | 20.11.2011 10:39:39 org.mortbay.util.Container start
2011/11/20 11:39:39 | INFO: Started HttpContext[/,/]
2011/11/20 11:39:39 | 20.11.2011 10:39:39 org.mortbay.http.SocketListener start
2011/11/20 11:39:39 | INFO: Started SocketListener on 127.0.0.1:7658
2011/11/20 11:39:39 | 20.11.2011 10:39:39 org.mortbay.util.Container start
2011/11/20 11:39:39 | INFO: Started org.mortbay.jetty.Server@42f352
2011/11/20 12:28:43 | [Fatal Error] :12:1: Content is not allowed in trailing section.
2011/11/20 12:28:43 | [Fatal Error] :6:1: Content is not allowed in trailing section.
2011/11/20 12:28:43 | [Fatal Error] :6:1: Content is not allowed in trailing section.
2011/11/20 14:22:04 | [Fatal Error] :12:1: Content is not allowed in trailing section.
2011/11/20 14:22:04 | [Fatal Error] :6:1: Content is not allowed in trailing section.
2011/11/20 14:22:04 | [Fatal Error] :6:1: Content is not allowed in trailing section.
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.ThreadedServer$Acceptor run
2011/11/20 21:32:10 | INFO: Stopping Acceptor ServerSocket[addr=/0:0:0:0:0:0:0:1,port=0,localport=7657]
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.http.SocketListener stop
2011/11/20 21:32:10 | INFO: Stopped SocketListener on 0:0:0:0:0:0:0:1:7657
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.ThreadedServer$Acceptor run
2011/11/20 21:32:10 | INFO: Stopping Acceptor ServerSocket[addr=/127.0.0.1,port=0,localport=7657]
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.http.SocketListener stop
2011/11/20 21:32:10 | INFO: Stopped SocketListener on 127.0.0.1:7657
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped org.mortbay.jetty.servlet.WebApplicationHandler@70be88
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped WebApplicationContext[/i2psnark,/i2psnark]
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped org.mortbay.jetty.servlet.WebApplicationHandler@1f31652
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped WebApplicationContext[/susidns,susidns]
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped org.mortbay.jetty.servlet.WebApplicationHandler@35bb0f
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped WebApplicationContext[/i2ptunnel,/i2ptunnel]
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped org.mortbay.jetty.servlet.WebApplicationHandler@ee3aa7
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped WebApplicationContext[/addressbook,/addressbook]
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped org.mortbay.jetty.servlet.WebApplicationHandler@3afb99
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped WebApplicationContext[/susimail,susimail]
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped net.i2p.router.web.LocaleWebAppHandler@167d7fb
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped WebApplicationContext[/,/]
2011/11/20 21:32:10 | 20.11.2011 20:32:10 org.mortbay.util.Container stop
2011/11/20 21:32:10 | INFO: Stopped org.mortbay.jetty.Server@198cb3d
2011/11/20 21:32:12 | KRITISCH [hutdown hook] net.i2p.router.Router         : Graceful shutdown progress - no more tunnels, safe to die
2011/11/20 21:32:12 | KRITISCH [hutdown hook] net.i2p.router.Router         : Shutdown(5) complete
2011/11/20 21:32:13 | 20.11.2011 20:32:13 org.mortbay.jetty.Server$ShutdownHookThread run
2011/11/20 21:32:13 | INFO: Shutdown hook executing
2011/11/20 21:32:16 | on_exit trigger matched.  Restarting the JVM.  (Exit code: 5)
2011/11/20 21:32:30 | Launching a JVM...
2011/11/20 21:32:32 | Wrapper (Version 3.1.1) http://wrapper.tanukisoftware.org
2011/11/20 21:32:32 | 
2011/11/20 21:32:32 | Starting I2P 0.8.11-0
2011/11/20 21:32:33 | INFO: Native CPUID library jcpuid-x86-linux loaded from file
2011/11/20 21:32:33 | INFO: Locally optimized native BigInteger library loaded from file
2011/11/20 21:32:34 | 20.11.2011 20:32:34 org.mortbay.http.HttpServer doStart
2011/11/20 21:32:34 | INFO: Version Jetty/5.1.15
2011/11/20 21:32:34 | 20.11.2011 20:32:34 org.mortbay.util.FileResource <clinit>
2011/11/20 21:32:34 | INFO: Checking Resource aliases
2011/11/20 21:32:34 | Adding /abc/def/i2p/lib/i2psnark.jar to classpath for i2psnark
2011/11/20 21:32:34 | 20.11.2011 20:32:34 org.mortbay.util.Container start
2011/11/20 21:32:34 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@1fa6d18
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started WebApplicationContext[/i2psnark,/i2psnark]
2011/11/20 21:32:35 | Adding /abc/def/i2p/lib/jstl.jar to classpath for susidns
2011/11/20 21:32:35 | Adding /abc/def/i2p/lib/standard.jar to classpath for susidns
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@1c208b0
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started WebApplicationContext[/susidns,susidns]
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@922804
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started WebApplicationContext[/i2ptunnel,/i2ptunnel]
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@969c29
2011/11/20 21:32:35 | INFO: Starting Addressbook 2.0.4
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started WebApplicationContext[/addressbook,/addressbook]
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@157ea4a
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started WebApplicationContext[/susimail,susimail]
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started net.i2p.router.web.LocaleWebAppHandler@1dacccc
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started WebApplicationContext[/,/]
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.http.SocketListener start
2011/11/20 21:32:35 | INFO: Started SocketListener on 0:0:0:0:0:0:0:1:7657
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.http.SocketListener start
2011/11/20 21:32:35 | INFO: Started SocketListener on 127.0.0.1:7657
2011/11/20 21:32:35 | 20.11.2011 20:32:35 org.mortbay.util.Container start
2011/11/20 21:32:35 | INFO: Started org.mortbay.jetty.Server@125fefa
2011/11/20 21:32:35 | [Fatal Error] :12:1: Content is not allowed in trailing section.
2011/11/20 21:32:36 | [Fatal Error] :6:1: Content is not allowed in trailing section.
2011/11/20 21:32:36 | [Fatal Error] :6:1: Content is not allowed in trailing section.
2011/11/20 21:33:03 | 20.11.2011 20:33:03 org.mortbay.http.HttpServer doStart
2011/11/20 21:33:03 | INFO: Version Jetty/5.1.15
2011/11/20 21:33:03 | 20.11.2011 20:33:03 org.mortbay.util.Container start
2011/11/20 21:33:03 | INFO: Started org.mortbay.jetty.servlet.ServletHandler@14627a
2011/11/20 21:33:03 | 20.11.2011 20:33:03 org.mortbay.util.Container start
2011/11/20 21:33:03 | INFO: Started ServletHttpContext[/cgi-bin,/cgi-bin]
2011/11/20 21:33:03 | 20.11.2011 20:33:03 org.mortbay.util.Container start
2011/11/20 21:33:03 | INFO: Started HttpContext[/,/]
2011/11/20 21:33:03 | 20.11.2011 20:33:03 org.mortbay.http.SocketListener start
2011/11/20 21:33:03 | INFO: Started SocketListener on 127.0.0.1:7658
2011/11/20 21:33:03 | 20.11.2011 20:33:03 org.mortbay.util.Container start
2011/11/20 21:33:03 | INFO: Started org.mortbay.jetty.Server@1642bd6

Hope that helps.
Greets

Subtickets

Change History (3)

comment:1 Changed 7 years ago by zzz

  • Component changed from router/general to router/transport
  • Owner set to zzz
  • Priority changed from major to minor

comment:2 Changed 7 years ago by guest

HI,
changed my local router AVM Fritzbox Fon WLAN 7170 to a Buffalo Air Station WHR-HP-G300N. Everything works fine now, even without the manual workaround.
Greets

comment:3 Changed 6 years ago by zzz

  • Milestone changed from 0.8.12 to 0.9.3
  • Resolution set to fixed
  • Status changed from new to closed

We updated our UPnP library in 0.9.2 and that should help a lot of people.

Also, changes in 0.9.2, with more coming in 0.9.3, will help people with firewalls that change UDP ports.

We'll never eliminate all UPnP issues, but we're getting better. As the OP changed his firewall and we never got to the bottom of the problem with the old one, I'm closing this ticket.

Note: See TracTickets for help on using tickets.