Package: cadaver
Version: 0.23.2-1
Severity: normal
I have a setting where proxy is compulsory.
If I use cadaver to an external IP address, cadaver tries direct
connection and does not try proxy.
here is an excerpt from strace.
the server is depot.rail.eu.org
the proxy is on 192.168.1.201
connect(5, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6,
"2a01:240:fe00:16::2", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1
ENETUNREACH (Network is unreachable)
connect(5, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...},
16) = 0
connect(5, {sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("82.227.34.188")}, 16) = 0
getsockname(5, {sa_family=AF_INET6, sin6_port=htons(41714), inet_pton(AF_INET6,
"::ffff:192.168.4.130", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(5) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 5
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0
connect(5, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("82.227.34.188")}, 16) = -1 ECONNREFUSED (Connection refused)
close(5) = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 5
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0
connect(5, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6,
"2a01:240:fe00:16::2", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1
ENETUNREACH (Network is unreachable)
close(5) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 8), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fbd000
write(1, "Could not connect to `depot.rail."..., 53) = 53
write(1, "Could not connect to server: Netw"..., 52) = 52
This shows tries for direct connection (in IPv6 then in IPv4) and no
try to proxy.
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cadaver depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libncurses5 5.7+20081213-1 shared libraries for terminal hand
ii libneon27-gnutls 0.28.2-6.1 An HTTP and WebDAV client library
ii libreadline5 5.2-3.1 GNU readline and history libraries
cadaver recommends no packages.
cadaver suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]