Your message dated Thu, 31 Jul 2008 11:45:53 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Probably not anymore a problem with dhis versions >= 5.4
has caused the Debian Bug report #155462,
regarding dhis-client: incoming port cannot be changed in /etc/dhid.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
155462: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=155462
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dhis-client
Version: 5.1-3
Severity: normal

The router I use to access the network uses the ports above 50000
for internal redirections, so the default incoming UDP port 58800
cannot be translated by NAT (nor PAT) and hence is not available
to dhis client.

The docs say that it is possible to change the incoming port
by putting the option "-p XXXXX" in the  command line 
but not in the configuration file /etc/dhid.conf.
At least, I have not been able to find the syntax for that
option with the conf file in the docs.
Furthermore, I have checked the sources and in the file conf.c
there is a reference to extern variable "rport" but it is NOT 
changed there (it is only changed from command line in main.c).

So, to change the port you must edit the /etc/init.d/dhis-client
script and add the following to the end of start-stop-daemon line:
    -- -p $PORT
where PORT=58800  is the default to put at the begining of the
script and in my case to put PORT=49800  (to be below 50000
for the router and above 49152 for dynamic-private ports so 
it is possible to use PAT to translate to my pc from the router).

This change to /etc/init.d/dhis-client could be provisional until
upstream authors implement some "Incoming Port" option into the
configuration file, that would be the best solution (not touch
/etc/init.d...) for the Debian package (maybe a wish-bug to
upstream about this?).
And also, some warning about this in the README.Debian would
be useful.


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mordor 2.4.14 #3 jue jun 6 17:06:04 CEST 2002 i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages dhis-client depends on:
ii  debconf                       1.0.32     Debian configuration management sy
ii  libc6                         2.2.5-10   GNU C Library: Shared libraries an
ii  libgmp3                       4.0.1-3    Multiprecision arithmetic library



--- End Message ---
--- Begin Message ---
Package: dhis-client
Version: 5.5-1

I was checking my old submitted bugs already pending and found this one.
Now I am not using dhis, as my new router implements automatic DDNS
services, but I have looked into sources of dhis to see if the problem
was corrected already.

As far as I can understand from file WHATSNEW in upstream sources,
probably from version 5.4 and up dhis now uses a new NAT friendly
behaviour for the return port (replying to the same port sending the
request), so the usefulness of the suggested (to upstream) feature 
to configure rport in config file is less important.

As current version in testing (lenny) is 5.5-2, I think this almost
6 years old bug can be closed now. 

-- 
,....,....,....,........,.............,..........................,....,
: Jose Ramon   Alvarez Sanchez        : Email: [EMAIL PROTECTED]  :Ooo.:
: Dpto. de Inteligencia Artificial    : Tel:  (+34) 91-398-7199  :(  ):
: Univ. Nac. de Educacion a Distancia : Fax:  (+34) 91-398-8895  : ) |:
: Juan del Rosal, 16 - 3ยช             : --$[0,+oo)@!&>#%{}*\/^_= : (_):
: E-28040 Madrid       SPAIN          : http://www.ia.uned.es/~jras   :
'.....................................:..........................:....'
        Simple things are easier, you don't need to trouble your life.
        Las cosas simples son mas sencillas, no te compliques la vida.
_,+'^'+,_,+'^'+,_ Usuario de Debian GNU/Linux:  http://www.debian.org/
________________________________________ Linux Registered User #102342
La Espiral:   http://www.laespiral.org/   Debian, para los usuarios...



--- End Message ---

Reply via email to