Matt
from where can I get these patches? All patches I got up today didn't work.
--
._________________________________________________________________________.
|H.G.Borrmann |Tel.: (0761) 203-4652 |
|Rechenzentrum der Universitaet Freiburg|Fax: (0761) 203-4643 |
|Hermann-Herder-Str. 10 |email: |
|_________________________________________________________________________|
Matt
> from where can I get these patches? All patches I got up today didn't work.
> --
> ._________________________________________________________________________.
> |H.G.Borrmann |Tel.: (0761) 203-4652 |
> |Rechenzentrum der Universitaet Freiburg|Fax: (0761) 203-4643 |
> |Hermann-Herder-Str. 10 |email: |
> |_________________________________________________________________________|
ftp://playground.sun.com/pub/casper/
ftp://ftp.porcupine.org/pub/ipv6
Same code in both, I think.
Works for Solaris 8 and for the Solaris 7+ipv6 patch (unsupported).
If it works or doesn't under AIX, please let me know, I'd be happy
to incorporate AIX specific changes.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
Thank you Casper.Quote:> ftp://playground.sun.com/pub/casper/
> ftp://ftp.porcupine.org/pub/ipv6
>Same code in both, I think.
There were a few small changes affecting the files:
README.ipv6
hosts_access.c
tcpd.h
tcpdchk.c
The files on playground.sun.com also have timestamps with date Oct 28,
1999, i.e., one day later than the files at ftp.porcupine.org. I
suppose that "later is better", but don't know. Here are the diffs,
where "playground" is '<' and "porcupine" is '>':
README.ipv6 ...
10a11,15
> The code successfully compiles on Solaris 7 + playground.sun.com IPV6 patch,
> but I have not tested the binary.
>
> The code also compiles on AIX using "-DHAVE_IPV6 -DUSE_GETHOSTBYNAME2"
>
27a33,35
>
> The original tcp_wrappers-7.6 files have been renamed and have a .org
> extension; only this file (README.ipv6) was added.
hosts_access.c ...
30d29
< #include <inet/ip.h>
tcpd.h ...
59a60,63
> #ifndef IPV6_ABITS
> #define IPV6_ABITS 128 /* Size of IPV6 address in bits */
> #endif
tcpdchk.c ...
27d26
< #include <inet/ip.h>
--
It works under AIX 4.3. Just to get the compiler to stop complaining,Quote:> ftp://playground.sun.com/pub/casper/
> ftp://ftp.porcupine.org/pub/ipv6
>Same code in both, I think.
>Works for Solaris 8 and for the Solaris 7+ipv6 patch (unsupported).
>If it works or doesn't under AIX, please let me know, I'd be happy
>to incorporate AIX specific changes.
fix_options.c
38,39c38
< int ipproto;
< socklen_t optsize = sizeof(optbuf);
---
> int optsize = sizeof(optbuf), ipproto;
socket.c
80c80
< socklen_t len;
---
> int len;
244c244
< socklen_t size = sizeof(sin);
---
> int size = sizeof(sin);
tcpd.h
280,282d279
< #ifdef getpeername
< #undef getpeername
< #endif
Notes:
In each diff, the new file is '<' and the original is '>'.
In tcpd.h, the change was made because "getpeername" is redefined
due to the "-DGETPEERNAME_BUG" compiler option being set for AIX.
--
Hi!
I'm currently trying to make a sort of wrapper that is going to be spawned
by inetd, and then connect to another deamon, acting as a buffer between
the end-user and the daemon. The problems I experience is that the wrapper
I made seems to buffer input when it can't keep up. So, if you hit keys
real quick and stop, then hit one more, you get maybe the last five all at
once. Basically, the code looks like this:
<set up connection to daemon (descriptor fd)>
for (;;) {
read_fd_mask = select_fd_mask;
timer.tv_sec = 2;
timer.tv_usec = 0;
recv_len = select(fd + 1, &read_fd_mask, NULL, NULL, &timer);
if (recv_len > 0) {
if (FD_ISSET(fd, &read_fd_mask)) {
recv_len = recv(fd, sendbuf, LINELEN, 0);
if (recv_len < 1) {
close(fd);
exit(1);
}
fprintf(stdout, "%s", sendbuf);
}
if (FD_ISSET(0, &read_fd_mask)) {
fgets(recvbuf, LINELEN, stdin);
send(fd, recvbuf, strlen(recvbuf), 0);
}
}
That's about it, what's wrong?!? ;-) Seriously, any suggestions would be
greatly appreciated! Thanks in advance!
/Orjan
--
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Q. What do you get when you cross 200K of apples and lots of garbage?
A. A core dump
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2. Strange Linux <-> Windows Connectivity Problem
3. TCP wrappers and Solaris inetd.conf?
5. solaris 9, inetd and tcp wrappers
6. : Suitespot virtual hosting
7. Solaris 10 + inetd + TCP Wrappers
8. Razovic Running Out of ISPs
11. ssh with tcp wrappers support