aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)  (Read 5029 times)

Aardvarh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
« 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
« Last Edit: June 24, 2008, 10:18:04 AM by Festor »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Ubuntu 8.04 Hardy Heron
« Reply #1 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
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Ubuntu 8.04 Hardy Heron
« Reply #2 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?

Sharkypt

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Possible rootkit
« Reply #3 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
« Last Edit: June 24, 2008, 10:15:18 AM by Festor »
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Ubuntu 8.04 Hardy Heron
« Reply #4 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

Aardvarh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Ubuntu 8.04 Hardy Heron
« Reply #5 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
Logged

Sharkypt

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: Ubuntu 8.04 Hardy Heron
« Reply #6 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.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
« Reply #7 on: June 24, 2008, 11:07:57 AM »

What are your aMule ports, Sharkypt?
Logged

Sharkypt

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
« Reply #8 on: June 24, 2008, 11:46:08 AM »

The standards. From  4661 to 4669 TCP and 4672 UDP.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
« Reply #9 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.
Logged

Sharkypt

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
« Reply #10 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?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
« Reply #11 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.
Logged

Sharkypt

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
« Reply #12 on: June 24, 2008, 06:26:24 PM »

Yes... you are right.

Thanks for your help :-)
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
« Reply #13 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.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2.2.1 & libpupnp 2/3 & (router ST780WL)
« Reply #14 on: July 01, 2008, 06:16:50 AM »

dlopen code is removed from the svn code.
Logged