SABnzbd opening UDP ports via UPNP (Fritzbox)

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
homi79
Newbie
Newbie
Posts: 5
Joined: April 5th, 2015, 4:54 am

SABnzbd opening UDP ports via UPNP (Fritzbox)

Post by homi79 »

Hello,

i just found out that SABnzbd is opening an UDP-port via UPNP directly after start up on my Fritzbox.
In my case it is UDP 56973.
But when i first saw it yesterday SABnzbd had already opened several UDP ports. I use it for 3 or 4 days now.
Is this normal behavior ?
What is the purpose of these opened ports? I couldn't find anything by searching the web.

Kind regards.
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd opening UDP ports via UPNP (Fritzbox)

Post by sander »

homi79 wrote:Hello,

i just found out that SABnzbd is opening an UDP-port via UPNP directly after start up
What makes you think SABnzbd is opening an UDP-port via UPnP?
homi79 wrote: In my case it is UDP 56973.
And what is running on UDP port 56973? Probably not SABnzbd, so what would be the use for SABnzbd?
homi79
Newbie
Newbie
Posts: 5
Joined: April 5th, 2015, 4:54 am

Re: SABnzbd opening UDP ports via UPNP (Fritzbox)

Post by homi79 »

sander wrote: What makes you think SABnzbd is opening an UDP-port via UPnP?
because i tried to find out which application opens the port. So i deleted all UPNP opended ports
on my router. The port reopens via UPNP on the router right after! i start SABnzbd. I can definitely reproduce this behavior.
sander wrote: And what is running on UDP port 56973? Probably not SABnzbd, so what would be the use for SABnzbd?
So you can say for sure, that sabnzbd is not the source of this behavior? I just want to be sure that this behavior is
not normal.. so i know i have to search a little bit more in detail maybe with Wireshark.
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd opening UDP ports via UPNP (Fritzbox)

Post by sander »

SABnzbd has no code for UPnP and SABnzbd does not use UDP.

You could find out which process is listening on port 56973. You can do that with "netstat"

On which operating system are you running SABnzbd?

Linux:

Code: Select all

netstat -apon | grep -i -e "listen "
Windows

Code: Select all

netstat -aon | find /i "listening"
tasklist | find /i "<process id>"
Does that show the process on port 56973?
homi79
Newbie
Newbie
Posts: 5
Joined: April 5th, 2015, 4:54 am

Re: SABnzbd opening UDP ports via UPNP (Fritzbox)

Post by homi79 »

Ok thank you for your help. I will research it in more detail when i am at home at my computer.
OS is Win7
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd opening UDP ports via UPNP (Fritzbox)

Post by sander »

homi79 wrote: OS is Win7
Here's how to find the name of the process listening on UDP port 49153 on Windows (tested on Windows 8 ):

Code: Select all

C:\Users\Sander>netstat -aon | find "UDP" | find "49153"
  UDP    [::]:49153             *:*                                    1488

C:\Users\Sander>tasklist | find /i "1488"
mDNSResponder.exe             1488 Services                   0      4 140 K
So: UDP port 49153 <-> Process ID 1488 <-> mDNSResponder.exe

EDIT & PS:

If you run CMD as admin, you can use

Code: Select all

netstat -abon
which will automagically show the name of the binary involved. Alas the binary name is on the next line, so you can't use FIND:

Code: Select all

  UDP    [::]:49153             *:*                                    1488
 [mDNSResponder.exe]
homi79
Newbie
Newbie
Posts: 5
Joined: April 5th, 2015, 4:54 am

Re: SABnzbd opening UDP ports via UPNP (Fritzbox)

Post by homi79 »

Thank you for your help. I found out that the "opener" was the IP-help-service of Win7.
Strangely it reopens the port via UPNP right after i start sabnzbd.
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd opening UDP ports via UPNP (Fritzbox)

Post by sander »

homi79 wrote:Thank you for your help. I found out that the "opener" was the IP-help-service of Win7.
Strangely it reopens the port via UPNP right after i start sabnzbd.
Have you set SABnzbd's Logging to +Debug?
homi79
Newbie
Newbie
Posts: 5
Joined: April 5th, 2015, 4:54 am

Re: SABnzbd opening UDP ports via UPNP (Fritzbox)

Post by homi79 »

At the Commandline? no..
Post Reply