Displaying 20 results from an estimated 7000 matches similar to: "Re: [nut-commits] svn commit r755 - in trunk: . clients"
2007 Jan 19
0
Re: [nut-commits] svn commit r755 - in trunk: . clients
> I see. For IP4 addresses, will ups@192.168.0.1:3493 still work as
> expected? -- Peter
Yes. Whatever is between '@' and the optional ':<portnumber>' is passed as
hostname. Brackets (in case of domain literals) are removed.
Best regards, Arjen
--
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
2007 Jan 19
1
Re: [nut-commits] svn commit r755 - in trunk: . clients
Great, thanks! Two questions:
* what is a domain literal? Is this something like 192.168.0.1? In
this case, the '[]' are probably unnecessary.
* are you sure you want to use fprintf(stderr, ...) in a library?
This doesn't seem like a good idea to me. Wouldn't it be more
consistent to extend upscli_errlist[] ?
-- Peter
Arjen de Korte wrote:
>
> Author:
2007 Jan 19
0
Re: [nut-commits] svn commit r755 - in trunk: . clients
> * are you sure you want to use fprintf(stderr, ...) in a library?
> This doesn't seem like a good idea to me. Wouldn't it be more
> consistent to extend upscli_errlist[] ?
Errorcodes are passed in 'ups->upserror' (and 'ups->syserrno'). Uh oh, we
don't have a connection to an UPS yet when we call upscli_splitname() or
upscli_splitaddr(). The
2007 Jan 06
1
Re: [nut-commits] svn commit r710 - in trunk: . clients server
Great, thanks Arjen! Now we need an autoconf test to set HAVE_IPV6
automatically. I will look into what functionality needs to be tested;
the test can be refined as problems arise later. -- Peter
Arjen de Korte wrote:
>
> Author: adkorte-guest
> Date: Sat Jan 6 19:39:08 2007
> New Revision: 710
>
> Modified:
> trunk/ChangeLog
> trunk/clients/upsc.c
>
2007 Jan 06
3
Re: [nut-commits] svn commit r708 - in trunk: . clients server
With the Ipv6 patch (r708), I get:
upsclient.c: In function `upscli_connect':
upsclient.c:469: `AI_ADDRCONFIG' undeclared (first use in this function)
upsclient.c:469: (Each undeclared identifier is reported only once
upsclient.c:469: for each function it appears in.)
Even if it doesn't break IPv4 support, it may break portability, as
IPv6 seems to require specific functions that are
2007 Jan 23
2
Re: [nut-commits] svn commit r731
Hi Arjen,
in server/upsd.c r731, you moved the call conf_load() from after
check_perms() (~ l.1020) to before setupsignals() (~ l.989).
The problem is that conf_load() needs to open the ups driver socket,
and it assumes that STATEPATH is the current working directory. The
directory is only set in l.1016. Therefore, the first attempt to open
a socket will always fail. From the user's point of
2000 Jan 27
0
more NetBSD patches, for OpenSSH V1.2.2
Hi,
the following patches are in the NetBSD packages collection to get OpenSSH
1.2.2 going. Changes:
* /dev/urandom may be there but not in the kernel - make sure
* Pull in some more headers needed by configure
* Add proper ld-flags for ELF platforms
* Some code cleanup
* Install example files always to a different dir, and use out
build system to DTRT WRT getting them to /etc.
2000 Jan 18
0
More NetBSD patches
Here's a unified diff, proposed by Christos Zoulas (with a little
reworking to get the configure.in part a bit cleaner). The main target of
the patches are NetBSD compatability, although there are some changes
making
if (pointer X)
into
if (X != NULL)
as well. Christos also proposed a change to Makefile.in, but I'll send
that as a seperate mail.
Thanks,
David
Index: configure.in
2009 Jun 01
2
[PATCH viewer] few minor bugfixes
- perform dns lookup on hostname,
- randomize local tunnel port
- simple autobuild script
- bump rpm spec version
---
autobuild.sh | 41 +++++++++++++++++++++++++++++++++++++++++
main.c | 14 +++++---------
ovirt-viewer.spec | 9 ++++++++-
tunnel.c | 29 ++++++++++++++++++++---------
4 files changed, 74 insertions(+), 19 deletions(-)
create mode 100755
2009 Jun 08
2
[PATCH] few minor bugfixes
- perform dns lookup on hostname,
- randomize local tunnel port
- bump rpm spec version
updated to include danpb's feedback regarding getaddrinfo
---
main.c | 36 ++++++++++++++++++------------------
ovirt-viewer.spec | 9 ++++++++-
tunnel.c | 29 ++++++++++++++++++++---------
3 files changed, 46 insertions(+), 28 deletions(-)
diff --git a/main.c b/main.c
index
2015 Feb 13
1
Error installing Nut 2.7.2 on RedHat 6.6
Hi,
I need help because I can't install Nut in RedHat EL 6.6
The version of Nut in repository ot RHEL is 2.6.5-2, but doesn't suppor my
UPS,
Liebert GXT3-200RT.
I read that it is supported using Nut version 2.7.2, but I looking all
around the web how to install it in my RedHat but I didn't find answers.
Follow the guide, I can downlad lasted version stable on web: 2.7.2
Here the
2001 Jul 27
0
openssh-2.9p2 compilation on LynxOS
To whoever can help me,
I tried to compile OpenSSH-2.9p2 on i386-LynxOS. I
made a
# ./configure --without-pam --without-shadow \
--with-ssl-dir=/usr/local/ssl --with-pcre \
--disable-libutil --sysconfdir=/etc/ssh
Then,
# make
gave the following error:
gcc -o ssh ssh.o sshconnect.o sshconnect1.o
sshconnect2.o sshtty.o reonf.o clientloop.o -L.
-Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh
2002 Jan 08
2
Compile SSH static on Solaris 2.7 (64Bit)
I like to compile ssh-3.0.2 on Solaris 2.7 with 64 Bit support in static
mode. But I get a fatal error. The compilation with shared libraries is
working very fine. Does anyone has ideas to compile OpenSSH cleanly in
static mode?
gcc -static -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
-I/usr/local/include -DETCDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM
=\"/usr/ssh/bin/ssh\"
2011 Sep 14
1
[nut-commits] svn commit r3226 - trunk/tools/nut-scanner
On Wed, 2011-09-14 at 12:25 +0000, Charles Lepple wrote:
> Author: clepple-guest
> Date: Wed Sep 14 12:25:03 2011
> New Revision: 3226
> URL: http://trac.networkupstools.org/projects/nut/changeset/3226
>
> Log:
> Include <string.h> for nut-scanner
>
> Modified:
> trunk/tools/nut-scanner/scan_snmp.c
> trunk/tools/nut-scanner/scan_usb.c
>
>
2007 Feb 27
1
Re: [nut-commits] svn commit r831 - in trunk: . docs scripts scripts/hotplug scripts/udev
> Added:
> trunk/scripts/hotplug/Makefile.am
> trunk/scripts/udev/Makefile.am
> Modified:
> trunk/ChangeLog
> trunk/Makefile.am
> trunk/configure.in
> trunk/docs/configure.txt
> trunk/scripts/Makefile.am
> trunk/scripts/hotplug/ (props changed)
> trunk/scripts/udev/ (props changed)
> trunk/scripts/udev/README
> Log:
> -
2007 Sep 14
1
GSSAPI vs load-balanced servers - anything we can do?
Dear all,
(apologoies - this has nothing to do with 4.7 being out, but is rather a
long-standing issue that regularly bites us).
Is there anything I could do to further the case of
https://bugzilla.mindrot.org/show_bug.cgi?id=1008
As a summary, GSSAPI auth against machine in a DNS load-balanced server
farm fails. SSH-1 Kerberos works.
DNS load-balanced farm:
Individual machines in the farm
2008 Jan 26
1
Memory leak in upsmon
Hello,
I was running upsmon some time without UPS connected and noticed
significant memory leak.
After some debugging I found the leak source. It is in file clients/upsclient.c.
Function upscli_connect() allocates memory for ups->pc_ctx and in case
of any error, just returns -1 without freeing it.
My NUT version is 2.2.0, but I quickly looked through 2.2.1 sources
and it seems this bug was not
2008 Feb 26
0
[nut-commits] svn commit r1334 - in trunk: . drivers
> Author: adkorte-guest
> Date: Mon Feb 25 20:40:41 2008
> New Revision: 1334
>
> Log:
> Allocate twice the maximum number of reports we expect (MAX_REPORTS), to
> allow for bogus/duplicate reports.
Retrospectively, this is gross hack at best and probably only good to fix
the problem temporarily. I think I have a better solution available (in a
similar way as r1210, that was
2006 Jul 11
1
Re: [nut-commits] svn commit r446 - in branches/Testing: . drivers man
> +22 = Gamatronic UPSs with alarm interface
> + [CP=RTS] [OL=CTS] [LB=\-DCD] [SD=DTR]
> +
> +22 = CyberPower SL seriess
> + [CP=RTS] [OL=CTS] [LB=\-CAR] [SD=DTR]
> +
> +
This part of the patch is no good. While TIOCM_CAR is equivalent to
TIOCM_CD (at least in some implementations) CAR certainly isn't handled
the same as DCD by genericups. It won't be
2007 Feb 16
1
Re: [nut-commits] svn commit r808 - in trunk: . drivers
> next_device:
> + free(curDevice->Vendor);
> + free(curDevice->Product);
> + free(curDevice->Serial);
> + free(curDevice->Bus);
> usb_close(udev);
> udev = NULL;
> }
Wouldn't it be necessary to check whether there is anything to free or
not? Vendor, Product and Serial are set conditionally.
In the lines
upsdebugx(2, "-