[jira] Commented: (TS-435) SplitDNS doesn't work

2010-11-18 Thread mohan_zl (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12933427#action_12933427
 ] 

mohan_zl commented on TS-435:
-

Leif:

we did some change with splitdns in the following consideration:
1. we fix TS-435, and leave splitdns as a feature only in dns module
2. merge your patch with splitdns

we push a patch in TS-541, you can review it, thanks:D

FYI

 SplitDNS doesn't work
 -

 Key: TS-435
 URL: https://issues.apache.org/jira/browse/TS-435
 Project: Traffic Server
  Issue Type: Bug
  Components: DNS
Affects Versions: 2.0.1
 Environment: Debian 5.0.5 kernel  2.6.26-1-686 #1 SMP
Reporter: Martin Leventan
Assignee: Leif Hedstrom
Priority: Trivial
 Fix For: 2.1.5

 Attachments: TS-435-3.diff, TS-435.patch


 Server configured as forward proxy with SplitDNS enable. At start get system 
 DNS server but at client request fail to resolve URL.
 record.config (DNS section)
 CONFIG proxy.config.dns.search_default_domains INT 1
 CONFIG proxy.config.dns.splitDNS.enabled INT 1
 CONFIG proxy.config.dns.splitdns.def_domain STRING lapampa.gov.ar
 CONFIG proxy.config.dns.url_expansions STRING NULL
 CONFIG proxy.config.dns.round_robin_nameservers INT 0
 CONFIG proxy.config.dns.nameservers STRING NULL
 CONFIG proxy.config.dns.validate_query_name INT 0
 splitdns.config
 dest_domain=lapampa.gov.ar named=10.2.1.72 serach_list=lapampa.gov.ar
 Debug:
 [TrafficServer] using root directory '/opt/trafficserver-2'
 [Sep  8 11:55:57.512] {3079767744} STATUS: opened 
 var/log/trafficserver/diags.log
 [Sep  8 11:55:57.514] Server {3079767744} DEBUG: (http_aeua) 
 [HttpConfig::init_aeua_filter] - Config: etc/trafficserver/ae_ua.config
 [Sep  8 11:55:57.514] Server {3079767744} DEBUG: (http_aeua) 
 [HttpConfig::init_aeua_filter] - Opening config 
 etc/trafficserver/ae_ua.config
 [Sep  8 11:55:57.514] Server {3079767744} DEBUG: (http_aeua) 
 [HttpConfig::init_aeua_filter] - Added 0 REGEXP filters
 [Sep  8 11:55:57.514] Server {3079767744} DEBUG: (http_aeua) 
 [init_http_aeua_filter] - Total loaded 0 REGEXP for 
 Accept-Enconding/User-Agent filtering
 [Sep  8 11:55:57.548] Server {3079767744} DEBUG: (dns) ink_dns_init: called 
 with init_called = 0
 [Sep  8 11:55:57.587] Server {3079767744} DEBUG: (dns) 
 localhost=h6514asi106.glp.gov.ar
 [Sep  8 11:55:57.587] Server {3079767744} DEBUG: (dns) Round-robin 
 nameservers = 0
 [Sep  8 11:55:57.616] Server {3062635408} DEBUG: (dns) 
 DNSHandler::startEvent_sdns: on thread2
 [Sep  8 11:55:57.616] Server {3062635408} DEBUG: (dns) open_con: opening 
 connection 10.2.1.73:53
 [Sep  8 11:55:57.616] Server {3062635408} DEBUG: (dns) random port = 17507
 [Sep  8 11:55:57.616] Server {3062635408} DEBUG: (dns) opening connection 
 10.2.1.73:53 SUCCEEDED for 0
 [Sep  8 11:55:57.616] Server {3063688080} DEBUG: (dns) 
 DNSHandler::startEvent_sdns: on thread1
 [Sep  8 11:55:57.616] Server {3063688080} DEBUG: (dns) open_con: opening 
 connection 10.2.1.73:53
 [Sep  8 11:55:57.616] Server {3063688080} DEBUG: (dns) random port = 42681
 [Sep  8 11:55:57.616] Server {3063688080} DEBUG: (dns) opening connection 
 10.2.1.73:53 SUCCEEDED for 0
 [Sep  8 11:55:57.690] Server {3079767744} DEBUG: (http_init) 
 proxy.config.connection_collapsing.hashtable_enabled = 0
 [Sep  8 11:55:57.690] Server {3079767744} DEBUG: (http_init) 
 proxy.config.connection_collapsing.rww_wait_time = 0
 [Sep  8 11:55:57.690] Server {3079767744} DEBUG: (http_init) 
 proxy.config.connection_collapsing.revalidate_window_period = 0
 [Sep  8 11:55:57.690] Server {3079767744} DEBUG: (http_init) 
 proxy.config.http.redirection_enabled = 0
 [Sep  8 11:55:57.690] Server {3079767744} DEBUG: (http_init) 
 proxy.config.http.number_of_redirections = 1
 [Sep  8 11:55:57.690] Server {3079767744} DEBUG: (http_init) 
 proxy.config.http.post_copy_size = 2048
 [Sep  8 11:55:57.713] Server {3079767744} DEBUG: (dns) 
 DNSHandler::startEvent: on thread0
 [Sep  8 11:55:57.713] Server {3079767744} DEBUG: (dns) open_con: opening 
 connection 10.2.1.73:53
 [Sep  8 11:55:57.715] Server {3079767744} DEBUG: (dns) random port = 40576
 [Sep  8 11:55:57.715] Server {3079767744} DEBUG: (dns) opening connection 
 10.2.1.73:53 SUCCEEDED for 0
 .
 + Incoming Request +
 -- State Machine Id: 0
 GET http://www.lapampa.gov.ar/ HTTP/1.1^M
 Host: www.lapampa.gov.ar^M
 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) 
 Gecko/2010072023 Iceweasel/3.0.6 (Debian-3.0.6-3)^M
 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8^M
 Accept-Language: en-us,en;q=0.5^M
 Accept-Encoding: gzip,deflate^M
 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7^M
 Keep-Alive: 300^M
 Proxy-Connection: keep-alive^M
 Cookie: LaPampa2_tpl=LaPampa2^M
 Cache-Control: max-age=0^M
 ^M
 [Sep  8 

[jira] Resolved: (TS-536) Some more RNI remnants to clean up

2010-11-18 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom resolved TS-536.
--

Resolution: Fixed

 Some more RNI remnants to clean up
 --

 Key: TS-536
 URL: https://issues.apache.org/jira/browse/TS-536
 Project: Traffic Server
  Issue Type: Improvement
  Components: Cleanup
Reporter: Leif Hedstrom
 Fix For: 2.1.5


 We have a few ifdef's etc. around RNI, stuff that we no longer use / support, 
 e.g.
 #ifndef RNI_ONLY
 MAX_RNI_TRANS_STATS
 READ_RNI_TRANS_STAT((long) data, count, sum);
 #ifdef RNI_STATIC_LINK
 etc. We should probably nuke all this...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TS-543) Regression tests segfaults with --enable-debug

2010-11-18 Thread Leif Hedstrom (JIRA)
Regression tests segfaults with  --enable-debug
---

 Key: TS-543
 URL: https://issues.apache.org/jira/browse/TS-543
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Leif Hedstrom
 Fix For: 2.1.5


This prevents running the regression in debug mode:


Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7516d710 (LWP 14810)]
0x76db39a5 in raise (sig=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0  0x76db39a5 in raise (sig=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x76db5185 in abort () at abort.c:92
#2  0x0072a5fc in ink_die_die_die (retval=1) at ink_error.cc:43
#3  0x0072a6c5 in ink_fatal_va(int, const char *, typedef __va_list_tag 
__va_list_tag *) (return_code=1, 
message_format=0x75168880 HttpTransactHeaders.cc:193: failed assert 
`!new_hdr-valid()`, 
ap=0x75168780) at ink_error.cc:65
#4  0x0072a78e in ink_fatal (return_code=1, 
message_format=0x75168880 HttpTransactHeaders.cc:193: failed assert 
`!new_hdr-valid()`)
at ink_error.cc:73
#5  0x00729966 in _ink_assert (a=0x774e85 !new_hdr-valid(), 
f=0x774df7 HttpTransactHeaders.cc, l=193)
at ink_assert.cc:46
#6  0x005c12f3 in HttpTransactHeaders::copy_header_fields 
(src_hdr=0x7fffeaa4e3f0, 
new_hdr=0x7fffeaa4e350, retain_proxy_auth_hdrs=false, date=0) at 
HttpTransactHeaders.cc:193
#7  0x005bba29 in HttpTransact::build_response (s=0x7fffeaa4dca0, 
base_response=0x7fffeaa4e3f0, 
outgoing_response=0x7fffeaa4e350, outgoing_version=..., 
status_code=HTTP_STATUS_OK, 
reason_phrase=0x788d6d Ok) at HttpTransact.cc:8195
#8  0x005af998 in 
HttpTransact::handle_cache_operation_on_forward_server_response 
(s=0x7fffeaa4dca0)
at HttpTransact.cc:4660
#9  0x005ad6b1 in HttpTransact::handle_forward_server_connection_open 
(s=0x7fffeaa4dca0)
at HttpTransact.cc:4086
#10 0x005ab0a5 in HttpTransact::handle_response_from_server 
(s=0x7fffeaa4dca0) at HttpTransact.cc:3618
#11 0x005a9c01 in HttpTransact::HandleResponse (s=0x7fffeaa4dca0) at 
HttpTransact.cc:3300
#12 0x0059193b in HttpSM::call_transact_and_set_next_state 
(this=0x7fffeaa4dc10, f=0) at HttpSM.cc:6508
#13 0x00580d82 in HttpSM::handle_api_return (this=0x7fffeaa4dc10) at 
HttpSM.cc:1598
#14 0x00580b4f in HttpSM::state_api_callout (this=0x7fffeaa4dc10, 
event=0, data=0x0) at HttpSM.cc:1529
#15 0x0058b034 in HttpSM::do_api_callout_internal (this=0x7fffeaa4dc10) 
at HttpSM.cc:4463
#16 0x0059652a in HttpSM::do_api_callout (this=0x7fffeaa4dc10) at 
HttpSM.cc:532
#17 0x00581c74 in HttpSM::state_read_server_response_header 
(this=0x7fffeaa4dc10, event=100, 
data=0x7fffb4024a28) at HttpSM.cc:1910
#18 0x00583f8e in HttpSM::main_handler (this=0x7fffeaa4dc10, event=100, 
data=0x7fffb4024a28)
at HttpSM.cc:2539
#19 0x004f00c6 in Continuation::handleEvent (this=0x7fffeaa4dc10, 
event=100, data=0x7fffb4024a28)
at ../iocore/eventsystem/I_Continuation.h:147
#20 0x00525c82 in PluginVC::process_read_side (this=0x7fffb4024958, 
other_side_call=true)
at PluginVC.cc:660
#21 0x00525280 in PluginVC::process_write_side (this=0x7fffb4024b08, 
other_side_call=false)
at PluginVC.cc:556
#22 0x005239f7 in PluginVC::main_handler (this=0x7fffb4024b08, event=1, 
data=0x102a260) at PluginVC.cc:200
#23 0x004f00c6 in Continuation::handleEvent (this=0x7fffb4024b08, 
event=1, data=0x102a260)
at ../iocore/eventsystem/I_Continuation.h:147
#24 0x00722292 in EThread::process_event (this=0x75f7c010, 
e=0x102a260, calling_code=1)
at UnixEThread.cc:149
#25 0x00722635 in EThread::execute (this=0x75f7c010) at 
UnixEThread.cc:226
#26 0x00721434 in spawn_thread_internal (a=0x100fcd0) at Thread.cc:85
#27 0x77bca761 in start_thread (arg=0x7516d710) at 
pthread_create.c:301
#28 0x76e624fd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:115


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Assigned: (TS-543) Regression tests segfaults with --enable-debug

2010-11-18 Thread Eric Balsa (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Balsa reassigned TS-543:
-

Assignee: Eric Balsa

 Regression tests segfaults with  --enable-debug
 ---

 Key: TS-543
 URL: https://issues.apache.org/jira/browse/TS-543
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Leif Hedstrom
Assignee: Eric Balsa
 Fix For: 2.1.5


 This prevents running the regression in debug mode:
 Program received signal SIGABRT, Aborted.
 [Switching to Thread 0x7516d710 (LWP 14810)]
 0x76db39a5 in raise (sig=6) at 
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 64  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
 (gdb) bt
 #0  0x76db39a5 in raise (sig=6) at 
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #1  0x76db5185 in abort () at abort.c:92
 #2  0x0072a5fc in ink_die_die_die (retval=1) at ink_error.cc:43
 #3  0x0072a6c5 in ink_fatal_va(int, const char *, typedef 
 __va_list_tag __va_list_tag *) (return_code=1, 
 message_format=0x75168880 HttpTransactHeaders.cc:193: failed assert 
 `!new_hdr-valid()`, 
 ap=0x75168780) at ink_error.cc:65
 #4  0x0072a78e in ink_fatal (return_code=1, 
 message_format=0x75168880 HttpTransactHeaders.cc:193: failed assert 
 `!new_hdr-valid()`)
 at ink_error.cc:73
 #5  0x00729966 in _ink_assert (a=0x774e85 !new_hdr-valid(), 
 f=0x774df7 HttpTransactHeaders.cc, l=193)
 at ink_assert.cc:46
 #6  0x005c12f3 in HttpTransactHeaders::copy_header_fields 
 (src_hdr=0x7fffeaa4e3f0, 
 new_hdr=0x7fffeaa4e350, retain_proxy_auth_hdrs=false, date=0) at 
 HttpTransactHeaders.cc:193
 #7  0x005bba29 in HttpTransact::build_response (s=0x7fffeaa4dca0, 
 base_response=0x7fffeaa4e3f0, 
 outgoing_response=0x7fffeaa4e350, outgoing_version=..., 
 status_code=HTTP_STATUS_OK, 
 reason_phrase=0x788d6d Ok) at HttpTransact.cc:8195
 #8  0x005af998 in 
 HttpTransact::handle_cache_operation_on_forward_server_response 
 (s=0x7fffeaa4dca0)
 at HttpTransact.cc:4660
 #9  0x005ad6b1 in HttpTransact::handle_forward_server_connection_open 
 (s=0x7fffeaa4dca0)
 at HttpTransact.cc:4086
 #10 0x005ab0a5 in HttpTransact::handle_response_from_server 
 (s=0x7fffeaa4dca0) at HttpTransact.cc:3618
 #11 0x005a9c01 in HttpTransact::HandleResponse (s=0x7fffeaa4dca0) at 
 HttpTransact.cc:3300
 #12 0x0059193b in HttpSM::call_transact_and_set_next_state 
 (this=0x7fffeaa4dc10, f=0) at HttpSM.cc:6508
 #13 0x00580d82 in HttpSM::handle_api_return (this=0x7fffeaa4dc10) at 
 HttpSM.cc:1598
 #14 0x00580b4f in HttpSM::state_api_callout (this=0x7fffeaa4dc10, 
 event=0, data=0x0) at HttpSM.cc:1529
 #15 0x0058b034 in HttpSM::do_api_callout_internal 
 (this=0x7fffeaa4dc10) at HttpSM.cc:4463
 #16 0x0059652a in HttpSM::do_api_callout (this=0x7fffeaa4dc10) at 
 HttpSM.cc:532
 #17 0x00581c74 in HttpSM::state_read_server_response_header 
 (this=0x7fffeaa4dc10, event=100, 
 data=0x7fffb4024a28) at HttpSM.cc:1910
 #18 0x00583f8e in HttpSM::main_handler (this=0x7fffeaa4dc10, 
 event=100, data=0x7fffb4024a28)
 at HttpSM.cc:2539
 #19 0x004f00c6 in Continuation::handleEvent (this=0x7fffeaa4dc10, 
 event=100, data=0x7fffb4024a28)
 at ../iocore/eventsystem/I_Continuation.h:147
 #20 0x00525c82 in PluginVC::process_read_side (this=0x7fffb4024958, 
 other_side_call=true)
 at PluginVC.cc:660
 #21 0x00525280 in PluginVC::process_write_side (this=0x7fffb4024b08, 
 other_side_call=false)
 at PluginVC.cc:556
 #22 0x005239f7 in PluginVC::main_handler (this=0x7fffb4024b08, 
 event=1, data=0x102a260) at PluginVC.cc:200
 #23 0x004f00c6 in Continuation::handleEvent (this=0x7fffb4024b08, 
 event=1, data=0x102a260)
 at ../iocore/eventsystem/I_Continuation.h:147
 #24 0x00722292 in EThread::process_event (this=0x75f7c010, 
 e=0x102a260, calling_code=1)
 at UnixEThread.cc:149
 #25 0x00722635 in EThread::execute (this=0x75f7c010) at 
 UnixEThread.cc:226
 #26 0x00721434 in spawn_thread_internal (a=0x100fcd0) at Thread.cc:85
 #27 0x77bca761 in start_thread (arg=0x7516d710) at 
 pthread_create.c:301
 #28 0x76e624fd in clone () at 
 ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.