Displaying 20 results from an estimated 1000 matches similar to: "socket leakage patch"
1999 Oct 20
3
patch for tinc-0.3
Hi tinc list members,
There were some problems with Ivo's email adresses (both zarq@iname.com
and
zarq@spark.icicle.dhs.org) so I resent the stuff to the mailling list.
=============================================
Hi Ivo,
Hier is een oplossing voor een bugje in flush_queue(), en ook wat andere
troepjes
zoals een tincd scheduler. Dit werkt wat beter, omdat de
2019 Aug 27
1
[PATCH nbdkit] server: Try hard to maintain invariant that fds 0, 1 and 2 are always open.
https://www.redhat.com/archives/libguestfs/2019-August/thread.html#00347
Thanks: Eric Blake and Daniel P. Berrangé
---
common/utils/utils.h | 1 +
server/connections.c | 4 ++--
server/crypto.c | 5 +++--
server/main.c | 23 +++++++++++++++++++++++
common/utils/utils.c | 29 +++++++++++++++++++++++++++++
5 files changed, 58 insertions(+), 4 deletions(-)
diff --git
2019 Dec 11
1
Mac clients trouble with NFD accented characters on Samba share
File names on a Samba share with accented characters using the NFD form
of UTF8 cannot be seen or used by Mac clients.
While tying to find a solution, I came across this old thread :
https://lists.samba.org/archive/samba/2014-December/187545.html
("[Samba] Mount unix samba 4 share to osx client without mangled file
names")
A reply in that thread suggested:
> >/Do I have
2015 Feb 26
4
Call for testing: OpenSSH 6.8
On Thu, 26 Feb 2015, Damien Miller wrote:
> > Yes I saw that later.
> >
> > The testsuite build fails on Solaris 2.6 thusly:
> [...]
> > regress/netcat.c:1037: error: 'struct msghdr' has no member named
> > 'msg_control'
>
> ah, looks like we need to copy some bits from monitor_fdpass.c
Perhaps like this:
diff --git regress/netcat.c
2002 Jun 10
2
Crashing R (PR#1651)
Concerns: R 1.5.0 gui version, Windows (downloaded binary) and Linux
(installed from sources).
# Load the data from the attached file:
kk<-read.table("__filename__", header=1)
# attach the data:
attach(kk)
Snr<-factor(Snr)
# fool around with a call to anova.glm():
anova.glm( aov( nFD~Type+size+Modality+Error(Snr/(Type+size+Modality)) ) )
# Error: object nFD not found
# Well, I
2016 May 06
1
Lots of Flushing x bytes to y would block messages
The server has a 1G symmetrical fibre line. It has been speedtested to
various local servers to be close to 800-900M. When there is only a single
client, there isn't much problem and as soon as the connection is made, the
ping time through to tunnel is a respectable 30ms. As soon as a few more
clients are connected, ping time degrades to hundreds and sometimes seconds
and with dropped packets.
2007 Oct 18
0
[PATCH] Use a control socket directory to restrict access
This approach is more complex than I'd like, but it works even on Solaris,
which has neither credential passing nor permissions on the socket itself.
---
src/control.c | 82 +++++++++++++++++++++++++++++++++++++++-----------
src/control_common.h | 1 +
src/tincctl.c | 67 +++++++++++++++++++++++++++++++++--------
src/tincd.c | 2 +-
4 files changed, 120
2003 Feb 20
0
Netbios name service forwarding.
I wrote this little program to deal with the situation
where there are a number of workgroups on a number of
subnets with no WINS server [actually I couldn't get this
configuration to run with a WINS server - but that's
another story]
You run this program on machines bridging your subnets and
it listens for netbios nameserver packets and forwards
them. [Broadcast packets are sent on to
2016 Oct 05
3
Dev: new option to mark all tincd socket of a tincd process
I know i'm new to the list but i'd like to propose something for tincd
daemon.
I'd like to mark all sockets established by a tincd process with a mark
passed as an argument in the command line.
What could be the purpose of this new option?
The goal of this option is to be able to have several tincd process
running at the same time using the same port but using different ip.
In
2008 May 16
1
error: failed reading from tcp: Connection reset by peer
All,
I see the following message fairly frequently in our nsd.log files:
error: failed reading from tcp: Connection reset by peer
A quick grep through the source code reveals that this log message comes
from server.c, and can come pretty much at any time during a TCP query.
Since:
- This condition occurs during normal operation, and
- There is nothing a server operator can do about it.
I
2017 Feb 13
0
[cifs-utils PATCH] cifs.upcall: switch group IDs when handling an upcall
Currently, we leave the group ID alone, but now that we're looking at
KRB5CCNAME, we need to be a little more careful with credentials. After
we get the uid, do a getpwuid and grab the default gid for the user.
Then use setgid to set it before calling setuid.
Signed-off-by: Jeff Layton <jlayton at samba.org>
---
cifs.upcall.c | 37 +++++++++++++++++++++++++++++++++++++
1 file changed,
2005 Oct 27
0
Converting OS X UTF-8 NFD to UTF-8 NFC
To make rsync work better when rsyncing between OS X (whose filenames
are encoded in UTF-8 NFD form) and just about every other OS (whose
filenames are encoded in UTF-8 NFC form), I wrote a little patch for
rsync that converts the filenames to NFC before sending them to the
other side.
It uses libidn for that, and currently has no option to enable/disable
this behaviour, but since on OS X all
2020 Mar 28
0
[klibc:update-dash] dash: redir: Handle nested exec within REALLY_CLOSED redirection
Commit-ID: 9a5ae0a757f8e021a83941d34a5876760445ddb6
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=9a5ae0a757f8e021a83941d34a5876760445ddb6
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Fri, 18 Jan 2019 13:01:18 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: redir: Handle
2010 Mar 04
1
Making tftpd (hpa) firewall frienldy
Hello all,
Tested on linux 2.6.18 (Centos5) and FreeBSD 7.0.
You would execute it like below (which basically makes tftp reply back with
same port is listening on )
tftpd --port-range 69:69 -4 -s /tftpboot/
--- tftp-hpa-0.49/tftpd/tftpd.c 2008-10-21 01:08:31.000000000 +0300
+++ tftp-hpa-0.49-tftpd-reuseport.c 2010-03-03 15:19:26.000000000 +0200
@@ -524,6 +524,11 @@
#ifndef __CYGWIN__
2004 Jan 13
1
tftpd-hpa suggestions
Hello, Peter and others!
there are some issues regarding the tftp-hpa server:
1. Running as Windows service seems to require that the application does
not detach (otherwise "net start" says smth. like "could not start,
the service didn't report any errors").
The attached patch adds the option "-n", which can be used to have
tftpd run in foreground.
2001 Feb 12
0
log-server.c patch: adding tag to every log output.
The attached modification to log-server.c
add a "tag" to all the
syslog output. The tag is a composite of
the internal verbose level names used in sshd and the
external syslogd names.
The form of the tag is as follows.
ssh_internal_name(syslog_priority)
This might be instructive for a learning sysadmin
trying to setup syslog for sshd logging.
(I have posted earlier about
2009 Jul 10
1
PowerWare USB debug messages
Earlier this year, I added a patch to my local NUT tree to
additionally print the value of usb_strerror() if usb_clear_halt()
failed.
(Ignore the commented-out goto.)
Since these messages are at the LOG_ERR level, should we add
usb_strerror() to all of the calls in nut_usb.c?
diff --git a/drivers/nut_usb.c b/drivers/nut_usb.c
index 494a1fa..4ca2691 100644
--- a/drivers/nut_usb.c
+++
2007 Oct 18
0
[PATCH] Use credentials and permissions on control socket where available
There are at least three cases:
* Linux: check credentials and pid from client;
restrict permissions from server
* BSD: check credentials only from client; restrict permissions from server
* Solaris: wide open
---
configure.in | 4 ++--
src/control.c | 11 ++++++++++-
src/control_common.h | 1 +
src/tincctl.c | 38 ++++++++++++++++++++++++++++++++++----
4
2006 Feb 23
2
Calgary Ruby Users Society (CRUSERS)
Calgary Ruby Users Society (otherwise known as Association of Anonymous
Java Programmers, Calgary branch) had it''s first meeting today. After a
round of introductions, we discussed our interests and brainstormed
possible activities for the group. Paul Rogers did a presentation on
Watir [http://wtr.rubyforge.org/]. Watir is not just a great tool, but
also a way to sneak Ruby into your
2009 Jul 19
3
[PATCH] tftpd.c: write a pid file in standalone mode
The default path is /var/run/tftpd-hpa.pid, which can be overridden
by the newly introduced -P option. On normal termination (SIGTERM
or SIGINT) the pid file is automatically removed.
Moved setting the umask later, right before entering the select loop,
so that it does not affect the permissions of the pid file.
Signed-off-by: Ferenc Wagner <wferi at niif.hu>
---
tftpd/tftpd.c | 38