[jira] [Created] (TS-1168) Remap blind tunnel handling is not IPv6 compliant

2012-03-26 Thread Alan M. Carroll (Created) (JIRA)
Remap blind tunnel handling is not IPv6 compliant
-

 Key: TS-1168
 URL: https://issues.apache.org/jira/browse/TS-1168
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Affects Versions: 3.1.3
Reporter: Alan M. Carroll
Priority: Minor
 Fix For: 3.1.4


When a blind tunnel request is received, the hostname is set as the IP address. 
This is hardwired for IPv4. ink_gethostbyname should be replaced by getaddrinfo 
and the logic made IPv6 compliant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (TS-1167) proxy/ParentSelection.cc is not IPv6 compliant.

2012-03-26 Thread Alan M. Carroll (Created) (JIRA)
proxy/ParentSelection.cc is not IPv6 compliant.
---

 Key: TS-1167
 URL: https://issues.apache.org/jira/browse/TS-1167
 Project: Traffic Server
  Issue Type: Bug
  Components: Clustering
Affects Versions: 3.1.3
Reporter: Alan M. Carroll
Priority: Minor
 Fix For: 3.1.4


setup_socks_servers is IPv4 only. It should be changed to use getaddrinfo() and 
handle IPv6 addresses. This may require changing ParentRecord.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (TS-1166) proxy/Stuffer.cc is not IPv6 compatible.

2012-03-26 Thread Alan M. Carroll (Created) (JIRA)
proxy/Stuffer.cc is not IPv6 compatible.


 Key: TS-1166
 URL: https://issues.apache.org/jira/browse/TS-1166
 Project: Traffic Server
  Issue Type: Bug
  Components: Clustering
Affects Versions: 3.1.3
Reporter: Alan M. Carroll
Priority: Minor
 Fix For: 3.1.4


Parent IP tracking in proxy/Stuff.cc is IPv4 only.

Also the use of ink_gethostbyname should be removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1002) log unmapped HOST when pristine_host_hdr disabled

2012-03-26 Thread Conan Wang (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238281#comment-13238281
 ] 

Conan Wang commented on TS-1002:


I'm trying to backport to 3.0.4.  got assert error when request.

{code}
FATAL: LogAccess.cc:794: failed assert `actual_len < padded_len`
/box/ts-3.0.4/bin/traffic_server - STACK TRACE: 
0   libtsutil.3.dylib   0x000100d2924b ink_fatal_va + 283
1   libtsutil.3.dylib   0x000100d29554 ink_fatal + 356
2   libtsutil.3.dylib   0x000100d268cf _ink_assert + 271
3   traffic_server  0x0001001b9c90 
_ZN9LogAccess11marshal_memEPcPKcii + 108
4   traffic_server  0x0001001bd848 
_ZN13LogAccessHttp36marshal_client_req_unmapped_url_hostEPc + 122
5   traffic_server  0x0001001e2d7b 
_ZN8LogField7marshalEP9LogAccessPc + 155
6   traffic_server  0x0001001e2f30 
_ZN12LogFieldList7marshalEP9LogAccessPc + 88
7   traffic_server  0x0001001fb45b 
_ZN9LogObject3logEP9LogAccessPc + 3783
8   traffic_server  0x0001001cff91 
_ZN16LogObjectManager3logEP9LogAccess + 73
9   traffic_server  0x0001001c5f48 
_ZN3Log6accessEP9LogAccess + 1316
10  traffic_server  0x000100116bc4 
_ZN6HttpSM12update_statsEv + 834
11  traffic_server  0x00010012944a 
_ZN6HttpSM9kill_thisEv + 1042
12  traffic_server  0x000100129aa7 
_ZN6HttpSM12main_handlerEiPv + 1205
13  traffic_server  0x00010005cc84 
_ZN12Continuation11handleEventEiPv + 148
14  traffic_server  0x000100184044 
_ZN10HttpTunnel12main_handlerEiPv + 460
15  traffic_server  0x00010005cc84 
_ZN12Continuation11handleEventEiPv + 148
16  traffic_server  0x00010036a2c4 
_ZL23write_signal_and_updateiP18UnixNetVConnection + 100
17  traffic_server  0x00010036a3d2 
_ZL17write_signal_doneiP10NetHandlerP18UnixNetVConnection + 50
18  traffic_server  0x00010036ae91 
_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread + 2593
19  traffic_server  0x00010036b0e8 
_Z12write_to_netP10NetHandlerP18UnixNetVConnectionP14PollDescriptorP7EThread + 
168
20  traffic_server  0x00010035cd34 
_ZN10NetHandler12mainNetEventEiP5Event + 4346
21  traffic_server  0x00010005cc84 
_ZN12Continuation11handleEventEiPv + 148
22  traffic_server  0x00010039145a 
_ZN7EThread13process_eventEP5Eventi + 418
23  traffic_server  0x000100390cab 
_ZN7EThread7executeEv + 1311
24  traffic_server  0x00010038fc74 
_ZL21spawn_thread_internalPv + 132
25  libsystem_c.dylib   0x7fff89dfe8bf _pthread_start + 335
26  libsystem_c.dylib   0x7fff89e01b75 thread_start + 13

Program received signal SIGABRT, Aborted.
[Switching to process 14628 thread 0x2803]
0x7fff90895ce2 in __pthread_kill ()
(gdb) bt
#0  0x7fff90895ce2 in __pthread_kill ()
#1  0x7fff89e007d2 in pthread_kill ()
#2  0x7fff89df1a7a in abort ()
#3  0x000100d27f70 in ink_die_die_die (retval=1) at ink_error.cc:43
#4  0x000100d29255 in ink_fatal_va (return_code=1, 
message_format=0x103d0950c "LogAccess.cc:794: failed assert `actual_len < 
padded_len`", ap=0x103d09498) at ink_error.cc:65
#5  0x000100d29554 in ink_fatal (return_code=1, message_format=0x103d0950c 
"LogAccess.cc:794: failed assert `actual_len < padded_len`") at ink_error.cc:73
#6  0x000100d268cf in _ink_assert (a=0x1003e2532 "actual_len < padded_len", 
f=0x1003e23b8 "LogAccess.cc", l=794) at ink_assert.cc:44
#7  0x0001001b9c90 in LogAccess::marshal_mem (dest=0x108c4f910 "", 
source=0x1003e2530 "-", actual_len=1, padded_len=0) at LogAccess.cc:794
#8  0x0001001bd848 in LogAccessHttp::marshal_client_req_unmapped_url_host 
(this=0x103d0a328, buf=0x108c4f910 "") at LogAccessHttp.cc:369
#9  0x0001001e2d7b in LogField::marshal (this=0x10128c8e0, lad=0x103d0a328, 
buf=0x108c4f910 "") at LogField.cc:216
#10 0x0001001e2f30 in LogFieldList::marshal (this=0x10128be80, 
lad=0x103d0a328, buf=0x108c4f910 "") at LogField.cc:493
#11 0x0001001fb45b in LogObject::log (this=0x108c51e00, lad=0x103d0a328, 
text_entry=0x0) at LogObject.cc:568
#12 0x0001001cff91 in LogObjectManager::log (this=0x101247040, 
lad=0x103d0a328) at LogObject.h:485
#13 0x0001001c5f48 in Log::access (lad=0x103d0a328) at Log.cc:1063
#14 0x000100116bc4 in HttpSM::update_stats (this=0x109d41190) at 
HttpSM.cc:6044
#15 0x00010012944a in HttpSM::kill_this (this=0x109d41190) at HttpSM.cc:6005
#16 0x000100129aa7 in HttpSM::main_handler (this=0x109d41190, event=2301,