aMule Forum

English => aMule Help => Topic started by: Aardvarh on June 23, 2008, 03:11:27 PM

Title: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
Post by: Aardvarh on June 23, 2008, 03:11:27 PM
Hi,
I've seen quite a few comments about this bug in Intrepid & it seems to have been fixed in 2.2.0 for Hardy but :-
Quote
UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.3. Check PATH and LD_LIBRARY_PATH.
UPnP.cpp(1063): Universal Plug and Play: bound to 192.168.1.66:50000.
UPnP.cpp(1134): Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.

Regards
Title: Re: Ubuntu 8.04 Hardy Heron
Post by: wuischke on June 23, 2008, 03:18:07 PM
You need either libupnp.so.2 or libupnp.so.3 . In your case the .2 - library exists and you can savely ignore this message.

The old version however seems not to support your router properly. Please upgrade to the latest version of lipupnp (pupnp.sf.net) and see if it supports your router now properly.

kind regards
Title: Re: Ubuntu 8.04 Hardy Heron
Post by: Festor on June 23, 2008, 03:19:23 PM
Aardvarh, I think that I do not understand very well...


Ubuntu 8.10 Intrepid will use libupnp3 but Ubuntu 8.04 Hardy uses libupnp2... ¿where is the problem?
Title: Possible rootkit
Post by: Sharkypt on June 23, 2008, 10:05:10 PM
Hi all,

I'm using Festor`s repository
Code: [Select]
helio@hp-core:~$ cat /etc/apt/sources.list.d/amule.list
deb http://ppa.launchpad.net/festor90/ubuntu hardy main

... and today I have this warning in my daily report from rkhunter:
Quote
Warning: Network TCP port 2006 is being used by /usr/bin/amuled. Possible rootkit: CB
         Use the 'lsof -i' or 'netstat -an' command to check this.

I have checked all my amule network config and don't have port 2006 for anything. Do I need to have attentions do anything?

Regards,
Helio Pereira
Title: Re: Ubuntu 8.04 Hardy Heron
Post by: Festor on June 23, 2008, 10:16:53 PM
O.o guau...

Can anyone else confirm this?

you use a firewall tool? You should use a firewall tool like ufw or Firestarter
Title: Re: Ubuntu 8.04 Hardy Heron
Post by: Aardvarh on June 24, 2008, 01:58:54 AM
Festor,
I'm sorry - I'm confusing 2 issues here.  The basic problem is that my router is not being seen.  I thought that it was related to the dlopen failure (the messages appear together) but it seems that I was wrong. This does not seem to be a packaging issue.

Wuischke
Thank you for the suggestion but the router (ST780WL)  is still not seen with the latest version.  Ktorrent works fine BTW. I'm not sure now where the problem  lies.


Regards
Title: Re: Ubuntu 8.04 Hardy Heron
Post by: Sharkypt on June 24, 2008, 10:25:51 AM
O.o guau...

Can anyone else confirm this?

you use a firewall tool? You should use a firewall tool like ufw or Firestarter

My firewall is on the router and in my PC I have some ports bloqued with iptables.
Title: Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
Post by: Kry on June 24, 2008, 11:07:57 AM
What are your aMule ports, Sharkypt?
Title: Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
Post by: Sharkypt on June 24, 2008, 11:46:08 AM
The standards. From  4661 to 4669 TCP and 4672 UDP.
Title: Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
Post by: Kry on June 24, 2008, 12:11:43 PM
Maybe your rootkit detector is stupid enough to think that connecting to port 2006 on other user means you're rootkitted.
Title: Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
Post by: Sharkypt on June 24, 2008, 02:00:13 PM
Maybe your rootkit detector is stupid enough to think that connecting to port 2006 on other user means you're rootkitted.

I have so many connections to other ports and the rootkit only detect error on port 2006?
Title: Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
Post by: Kry on June 24, 2008, 05:49:39 PM
It's not an error, it's that there is an specific rootkit that works on port 2006, CB.

Or maybe amule is sending data to other client over port 2006, which can also happen (you open your incoming ports, but outgoing ports can be different). That's actually the most likely scenario.
Title: Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
Post by: Sharkypt on June 24, 2008, 06:26:24 PM
Yes... you are right.

Thanks for your help :-)
Title: Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
Post by: phoenix on June 27, 2008, 05:09:35 PM
So, what is the situation of this thread? If the router problem still persists, please enable Debug UPnP log messages in the preferences and post the log.

Successfull dlopen does not mean that your router has been seen. Also you will always get an error, either for not finding libupnp2 or libupnp3. You should not have both in your system, and aMule searches for both. You just can't have both errors.

In a near future, I will remove the dlopen code.
Title: Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
Post by: phoenix on July 01, 2008, 06:16:50 AM
dlopen code is removed from the svn code.