Displaying 20 results from an estimated 3000 matches similar to: "(no subject)"
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__
2002 Sep 06
0
use of setsockopt(SO_LINGER)
I would like to remove setsockopt(SO_LINGER), as there does not seem
to be a reason for its use. If you know of specific reasons we should
keep any of these let me know, or run this patch in local test trees
where possible.
This is against OpenBSD, but should apply to portable with some
fuzz.
Index: channels.c
===================================================================
RCS file:
2001 Jan 12
0
Socket options not properly set for ssh and sshd.
I mentioned this problem in a previous post (in November). This time
I'm including a patch.
Version: OpenSSH_2.3.0p1
Keywords: setsockopt keepalive hang masquerade interactive
Symptom: For protocol 2, socket options (especially keepalive) are not
being properly set for OpenSSH_2.3.0p1, even when request in the config
files.
Furthermore (for either protocol), keepalive is only set for
2000 Feb 14
0
[openssh-1.2.2] some porting notes for SunOS 4.1.4
Hi.
Here are the relevant details about the setup:
SunOS 4.1.4
gcc 2.7.2.2
tcp wrappers 7.5
egd 0.6 (doesn't really come into play at compile time)
The following only pertains to the compilation (and linking) stage.
Code and patches are SunOS specific.
-- The following functions are missing in SunOS: strerror, atexit,
memmove. I wrote simple replacements in term of on_exit and bcopy
2007 Jul 24
3
Quota plugin, Maildir, dict backend loop problem
Hello,
I've been working with the quota plugin(s) the past few days and have
been having some real trouble. Only a few entries are appearing in the
database, a couple more when I restarted dovecot. None of the current
entries were being updated either.
I think I've tracked it down to somewhere in the dict backend. I put in
a few i_info() statements and recompiled. A few queries get
2000 Nov 05
0
Socket options not properly set for ssh and sshd.
I'm sending this only to openssh-unix-dev at mindrot.org (since I'm using
the ported version of OpenSSH) and not to openssh at openssh.com, even
though I believe this to be a general problem. Please advise if you
think I should redirect this to the other mailing list.
Version: OpenSSH_2.2.0p1
Keywords: setsockopt keepalive hang masquerade
Symptom: For protocol 2, socket options
2000 May 12
0
SunOS 4.x port
This is based on openssh-2.0.0beta1. There are a few rough spots:
1) SunOS doesn't have ut_type in struct utmp so I just whacked
in the old login() from openssh-1.2.3.
2) There is a SUNOS4 section added to defines.h -- this could probably
be a bit cleaner.
3) sigaction on SunOS is implemented via #defines to sigvec, thus there
is no SA_RESTART (this is the default behavior).
2012 Jun 11
1
tftp-hpa bug on aliased interface and recent kernels.
So as of recent kernels, this change helps:
http://git.kernel.org/?p=network/tftp/tftp-hpa.git;a=commitdiff;h=c6d2c36b1a2b1986cab7aebb72d120fa118bdfeb
But there is still a flaw. Notably, if tftpd is running with AF_UNSPEC (as
it will if ipv6 support is desired), myrecvfrom will fail to setsockopt to
get the data back on the first pass.
I'd guess the least disruptive change to get to be
2011 Nov 28
0
RFC: [PATCH] Add TCP congestion control and Diffserv options
In the bufferbloat age, anything that can make for a kinder,
gentler bulk transfer protocol seems desirable.
This add support for user and server selectable congestion control
algorithms. As examples:
--congestion-alg=lp # For the tcp-lp algorithm on the command line
Or in a subsection:
[mystuff]
congestion alg = westwood # for a wireless connection
And diffserv support: --diffserv=8 for
2009 Mar 27
1
very slow pop3 downloads
Hi all,
I have a dovecot installation which very suddenly decided to slow to a crawl yesterday after being totally fine for months.
IMAP is fine, but POP3 is very painful to use, and frequently times out.
here's my config:
# 1.0.7: /etc/dovecot.conf
log_path: /var/log/dovecot_errors
info_log_path: /var/log/dovecot_informational
ssl_ca_file: /etc/postfix/ssl/cacert.pem
ssl_cert_file:
2017 Jun 17
1
client reconnect fails (was gluster heal entry reappears)
Hi Ravi,
back to our client-cannot-reconnect-to-gluster-brick problem ...
> Von: Ravishankar N [ravishankar at redhat.com]
> Gesendet: Montag, 29. Mai 2017 06:34
> An: Markus Stockhausen; gluster-users at gluster.org
> Betreff: Re: [Gluster-users] gluster heal entry reappears
>
> > On 05/28/2017 10:31 PM, Markus Stockhausen wrote:
> > Hi,
> >
> > I'm
2000 Nov 08
1
socket leakage patch
We have been fighting with intermittent connections here and have noticed that
tinc seems to use up its supply of file descriptors.
After a whole bunch of
Nov 8 03:51:23 tserver tinc.calgary[23909]: Could not set up a meta connection.
Nov 8 03:51:23 tserver tinc.calgary[23909]: Still failed to connect to other. Will retry
Nov 8 03:51:33 tserver tinc.calgary[23909]: 10.38.9.1:8193: Connection
2006 Nov 25
3
[PATCH] HTTP accept filter support for FreeBSD
This small patch extends configure_socket_options to support FreeBSD''s
accf_http(9), which defers accept() until there''s a full HTTP request
to read.
Seems to work fine on 6.1-STABLE. DragonflyBSD should work too provided
the /freebsd/ line is modified to match it.
accf_http(9): http://www.freebsd.org/cgi/man.cgi?query=accf_http&sektion=9
--
Thomas
2006 Sep 11
3
openssh-4.3p2: setsockopt() problem
List,
I'm behind a dlink DSL-G604T wireless router. ssh client was hanging at:
debug1: Entering interactive session.
Telnet was having a similar problem to port 22, however a simple client.c
I compiled was not. My java ssh client was also working. After some
investigation, I noticed that the hang was after the system call:
setsockopt(3, SOL_IP, IP_TOS, [16], 4) = 0
I noticed also that
2007 Dec 19
2
maildirsize quota counting locking account?
Hi,
I've just straced a dovecot imap process and found one thread sitting
there doing hundreds and hundreds of maildirsize updates as follows:
>
> open("/home/virtual/mydomain.com/home/admin/Maildir/maildirsize", O_RDWR|O_APPEND) = 7
> read(7, "10485760000S\n1562717408 107547\n-"..., 5120) = 2446
> read(7, "", 2674) = 0
>
2002 Jan 26
7
[PATCH] Added NoDelay config option and nodelay subsystem option
Hello again!
Since there was some resistance against adding TCP_NODELAY uncontionally,
I've made another patch. The new patch contains the following:
* Added a NoDelay yes/no (default no) config option to ssh and sshd
* Added -oNoDelay=yes to the ssh command line for sftp.
* Changed the sshd subsystem config option syntax from
Subsystem name path
to
Subsystem name options path
2007 Jul 28
0
Ruby UDP Multicasting Binding Insanity
I''m writing a gem which binds multiple sockets to the same UDP
multicast port, basically like so..
socket = UDPSocket.new
socket.setsockopt( Socket::SOL_SOCKET, Socket::SO_REUSEPORT,
[1].pack("i_") )
socket.setsockopt(Socket::IPPROTO_IP, Socket::IP_ADD_MEMBERSHIP,
addresses)
socket.bind(Socket::INADDR_ANY, port)
data, meta = socket.recvfrom 1024
2010 Oct 10
3
pop3 TCP_CORK too late error
I was straceing a pop3 process and noticed that the TCP_CORK option
isn't set soon enough:
epoll_wait(8, {{EPOLLOUT, {u32=37481984, u64=37481984}}}, 38, 207) = 1
write(41, "iTxPBrNlaNFao+yQzLhuO4/+tQ5cuiKSe"..., 224) = 224
epoll_ctl(8, EPOLL_CTL_MOD, 41, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP,
{u32=37481984, u64=37481984}}) = 0
pread(19,
2008 Sep 17
4
dovecot 1.0.10 inet_addr(0.0.0.0)
Hi,
I've got a problem.
my Dovecot is not running ;)
It immidiately exits when run with no output info
I've figuret out that is something wrong with network but i can't find
such option in conf
any Ideas??
strace output :
dup(3) = 5
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
socket(PF_INET, SOCK_STREAM,
2015 Feb 25
2
Call for testing: OpenSSH 6.8
On 24/02/15 21:56, Tim Rice wrote:
> On Wed, 25 Feb 2015, Damien Miller wrote:
>
> | On Tue, 24 Feb 2015, Tom G. Christensen wrote:
> |
> | > I've switched to HEAD in the git repo and it now builds on Solaris
> | > 2.6, 7, 8 and 9 but the testsuite still cannot be built due to the
> | > missing <err.h>.
>
> The err.h issue is fixes but there still