Displaying 17 results from an estimated 17 matches for "in_port_t".
2019 Jan 04
1
Feature request: client bind address for replication
...llowed_commands = "",
--- dovecot-2.2.36/src/doveadm/doveadm-settings.h 2017-10-05 19:09:55.000000000 +0200
+++ dovecot-2.2.36-new/src/doveadm/doveadm-settings.h 2019-01-04 14:57:32.906269791 +0100
@@ -19,6 +19,7 @@
const char *doveadm_socket_path;
unsigned int doveadm_worker_count;
in_port_t doveadm_port;
+ const char *doveadm_local_ip;
const char *doveadm_username;
const char *doveadm_password;
const char *doveadm_allowed_commands;
--- dovecot-2.2.36/src/doveadm/doveadm-util.c 2018-04-30 15:52:05.000000000 +0200
+++ dovecot-2.2.36-new/src/doveadm/doveadm-util.c 2019-01-04 15:26:...
2009 Mar 16
2
openssh 5.2p1 fails to build on IRIX 5.3
...R=\"/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty/sshd\"
-DSSH_RAND_HELPER=\"/usr/tgcware/libexec/ssh-rand-helper\"
-DHAVE_CONFIG_H -c channels.c
cfe: Warning 581: /usr/include/sys/param.h:223: Macro MAXPATHLEN redefined.
cfe: Error: channels.c, line 2472: 'in_port_t' undefined; reoccurrences
will not be reported.
in_port_t *lport_p;
^
cfe: Error: channels.c, line 2546: 'lport_p' undefined; reoccurrences
will not be reported.
lport_p = &((struct sockaddr_in *)ai->ai_addr)->...
2019 Jul 10
0
Dovecot 2.3.6 on Solaris10: build issues, segfaults
...ng correctly and then crashes because it didn't do it correctly. I guess you're compiling this as 32bit? Is size_t 32bit or 64bit?
Can you try with the below small test program if it prints the same 20?
#include <stdio.h>
#include <stdbool.h>
#include <stddef.h>
#define in_port_t unsigned short
struct submission_settings {
bool verbose_proctitle;
const char *rawlog_dir;
const char *hostname;
const char *login_greeting;
const char *login_trusted_networks;
/* submission: */
size_t submission_max_mail_size;
unsigned int submission_max_recipients;
const char *submi...
2004 Mar 02
2
[PATCH] Force mountd(8) to a specified port.
...ar 2004 21:08:17 -0000
@@ -272,11 +272,15 @@
fd_set readfds;
SVCXPRT *udptransp, *tcptransp, *udp6transp, *tcp6transp;
struct netconfig *udpconf, *tcpconf, *udp6conf, *tcp6conf;
+ struct sockaddr_in sin;
+ struct sockaddr_in6 sin6;
int udpsock, tcpsock, udp6sock, tcp6sock;
+ char *endptr;
+ in_port_t svcport = 0;
int xcreated = 0, s;
int maxrec = RPC_MAXDATASIZE;
int one = 1;
- int c;
+ int c, r;
udp6conf = tcp6conf = NULL;
udp6sock = tcp6sock = NULL;
@@ -298,7 +302,7 @@
errx(1, "NFS server is not available or loadable");
}
- while ((c = getopt(argc, argv, "2d...
2017 Aug 03
2
proxy-dict with tcp connection
...lib-dict/dict-client.c
@@ -721,6 +721,10 @@ client_dict_init(struct dict *driver, const char *uri,
struct ioloop *old_ioloop = current_ioloop;
struct client_dict *dict;
const char *p, *dest_uri, *path;
+ const char *const *args;
+ unsigned int argc;
+ struct ip_addr ip;
+ in_port_t port=0;
unsigned int idle_msecs = DICT_CLIENT_DEFAULT_TIMEOUT_MSECS;
unsigned int warn_slow_msecs = DICT_CLIENT_DEFAULT_WARN_SLOW_MSECS;
@@ -772,7 +776,21 @@ client_dict_init(struct dict *driver, const char *uri,
dict->warn_slow_msecs = warn_slow_msecs;
i_array_init(&dic...
2000 Nov 21
1
Openssh-2.2.0pl1 for UnixWare 7.1
...kaddr_in structure
that splits the 16 bit family entity into an 8-bit length and an 8-bit
familiy memember: (from in.h):
struct sockaddr_in {
#ifdef __NEW_SOCKADDR__
sa_len_t sin_len; /* 8-bit structure length */
#endif
sa_family_t sin_family; /* 8/16-bit address family (AF_INET) */
in_port_t sin_port; /* 16-bit port number */
struct in_addr sin_addr; /* 32-bit internet address */
unsigned char sin_zero[8]; /* optional with TLI */
};
This causes problems with the getaddrinfo() call in canohost.c, since the
family it uses is incorrect.
I'm not sure what the best w...
2009 Jun 11
8
[Bug 1607] New: compile errors buliding OpenSSH for older Red Hat
...AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: adam at irvine.com
A couple problems building OpenSSH 5.2p1 on an older RedHat Linux
system (6.2). Both of these could probably be easily fixed in the
configuration script.
(1) My version of /usr/include/netinet/in.h did not define in_port_t,
causing compiler to fail on channels.c line 2472. Worked around
by changing in_port_t to uint16_t on that line.
(2) sftp-server.c line 507
buffer_put_int64(&msg, FSID_TO_ULONG(st->f_fsid));
got "incompatible type" error. FSID_HAS_VAL was not defined:...
2019 Jul 09
6
Dovecot 2.3.6 on Solaris10: build issues, segfaults
Hopefully, there is some fix for issue 3 which is beyond my
skill to fix.
Issue 1) Need recent gcc version
Building Dovecot versions <=2.2.x using gcc 3.4.4 worked,
but this gcc version fails to build 2.3.x properly: symptoms
include compile failures and executable crashes that depended
on the amount of optimization used, which is usually a sign of
compiler bugs. (It could also be
2011 Jan 07
1
[LLVMdev] [PATCH] compiler-rt patch for clean build on Solaris 10 / x86
...ome/jocke/llvm/clean/compiler-rt/lib/absvdi2.c:15:
In file included from /home/jocke/llvm/clean/compiler-rt/lib/int_lib.h:23:
In file included from /home/jocke/llvm/clean/compiler-rt/lib/endianness.h:25:
/usr/include/sys/byteorder.h:60:9: error: unknown type name 'uint16_t'
typedef uint16_t in_port_t;
^
/usr/include/sys/byteorder.h:65:9: error: unknown type name 'uint32_t'
typedef uint32_t in_addr_t;
^
/usr/include/sys/byteorder.h:69:8: error: unknown type name 'uint32_t'
extern uint32_t htonl(uint32_t);
^
/usr/include/sys/byteorder.h:69:23: error: a par...
2017 Aug 03
0
proxy-dict with tcp connection
...21,10 @@ client_dict_init(struct dict *driver, const char *uri,
> struct ioloop *old_ioloop = current_ioloop;
> struct client_dict *dict;
> const char *p, *dest_uri, *path;
> + const char *const *args;
> + unsigned int argc;
> + struct ip_addr ip;
> + in_port_t port=0;
> unsigned int idle_msecs = DICT_CLIENT_DEFAULT_TIMEOUT_MSECS;
> unsigned int warn_slow_msecs = DICT_CLIENT_DEFAULT_WARN_SLOW_MSECS;
>
> @@ -772,7 +776,21 @@ client_dict_init(struct dict *driver, const char *uri,
> dict->warn_slow_msecs = warn_slow_msecs;
&...
2006 Jul 19
2
What am I missing?
On a custom compiled Linux 2.6.13 kernel...
# tc qdisc add dev ppp145 handle ffff: ingress
# tc filter add dev ppp145 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 384kbit burst 10k drop flowid :1
RTNETLINK answers: Invalid argument
This works fine on a CentOS machine and my Fedora Core 2 box with default
kernel. I''m trying to figure out what is missing in the
2017 Apr 14
0
Test error: net_connect_ip(127.0.0.1:0) failed: Can't assign requested address
...prefix = ".test-tmp/",
.rawlog_dir = "",
.connect_timeout_msecs = 500,
.connect_retry_count = 3,
.connect_retry_interval_msecs = 10,
.max_idle_time = 10000,
};
The client fails if the server is not listening...
Is the test server listening?
static int test_open_server_fd(in_port_t *bind_port)
{
int fd = net_listen(&bind_ip, bind_port, 128);
if (debug)
i_debug("server listening on %u", *bind_port);
if (fd == -1) {
i_fatal("listen(%s:%u) failed: %m",
net_ip2addr(&bind_ip), *bind_port);
}
fd_set_nonblock(fd, FALSE);
return fd;
}
Forcing d...
2008 Jul 04
5
Samba v2.2.12 NTLM versions?
Hi,
I am working on an old Unix system, UNIX SVR4 MP-RAS, running a Teradata database.
Due to the age of the system (notably the C compiler, which won't handle v3 source code), I have built Samba 2.2.12
I want to use this to share Unix directories out to XP clients as network drives, for read-write access, keeping the file ownership as strict unix users.
This all works fine, except for
2008 Jan 08
2
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
...t; /* Define to 1 if you have the `initgroups' function. */
> /* #define HAVE_INITGROUPS 1 */
>
> /* Define to 1 if you have the <inttypes.h> header file. */
> /* #define HAVE_INTTYPES_H 1 */
>
> /* in_addr_t is defined */
> /* #define HAVE_IN_ADDR_T 1 */
>
> /* in_port_t is defined */
> /* #define HAVE_IN_PORT_T 1 */
>
> /* Define to 1 if you have the <libmilter/mfapi.h> header file. */
> /* #undef HAVE_LIBMILTER_MFAPI_H */
>
> /* Define to 1 if you have the <limits.h> header file. */
> #define HAVE_LIMITS_H 1
>
> /* Define to...
2007 Dec 18
0
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
Chris Lattner wrote:
> One way to do this is to add a "cut down" version of the app to the
> test suite.
I disabled optional features in clamav-config.h
>
>> 2. GPL license. Chris?
>
> Any open source license that allows unrestricted redistribution is
> fine in llvm-test
Ok, I have created a script that automatically checks out ClamAV
0.92-stable source code
2011 Sep 02
1
problems building openssh-5.8p1 on qnx
...in sys/bitypes.h... no
checking for uintXX_t types... no
checking for uintXX_t types in stdint.h... yes
checking for u_char... yes
checking for socklen_t... yes
checking for sig_atomic_t... yes
checking for fsblkcnt_t... yes
checking for fsfilcnt_t... yes
checking for in_addr_t... yes
checking for in_port_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for clock_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
chec...
2007 Dec 18
3
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
On Mon, 17 Dec 2007, Evan Cheng wrote:
> We always welcome more tests. But it looks like there are two issues
> here.
>
> 1. The autoconf requirement. Is it possible to get one configuration
> working without the need for autoconf?
One way to do this is to add a "cut down" version of the app to the test
suite.
> 2. GPL license. Chris?
Any open source license that