[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2013-03-10 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: sslcertlookup.cc.patch-3.2.4

This sslcertlookup.cc.patch-3.2.4 is patch for TS 3.2.4, please use it with 
your own risk. :)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Fix For: 3.3.1

 Attachments: sslcertlookup.cc.patch-3.2.0, 
 sslcertlookup.cc.patch-3.2.4, ssl_multicert_reconfigure.patch


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2013-02-24 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: sslcertlookup.cc.patch-3.2.0

ssl_multicert_reconfigure.patch is for 3.3.0-dev

This sslcertlookup.cc.patch-3.2.0 is patch for TS 3.2.0, please use it with 
your own risk. :)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Fix For: 3.3.1

 Attachments: sslcertlookup.cc.patch-3.2.0, 
 ssl_multicert_reconfigure.patch


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-08 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: (was: ssl_multicert_reload.patch)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor

 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-08 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: (was: ssl_multicert_reload.patch-3.2.0)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor

 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-08 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Comment: was deleted

(was: ssl_multicert_reload.patch for current git master
ssl_multicert_reload.patch-3.2.0 for trafficserver-3.2.0

TS-1551: reload ssl_multicert.config after traffic_line -x
   * reconstruct SSLEntry to save wildcard names only, make ssl_storage the 
only ssl_ctx storage.
   * ssl_default is now only for null ctx only(avoid crashing for SNI 
requests), the real default ctx should be found in ssl_storage with * key
   * change sslCertLookup to pointer instead of static object, then replace 
pointer after reload)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor

 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-08 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Comment: was deleted

(was: James, sorry for just copying similar param codes from 3.2.0 patch, I've 
updated it. 
About the refcount, I just use mutex instead. (not sure is this mutex ok or not)

Please find the attachment for the updated patch.)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor

 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-08 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: ssl_multicert_reconfigure.patch

TS-1551: reload ssl_multicert.config after traffic_line -x
   * use ConfigProcessor way to set/get/release SSLCertLookup objects
   * remove (has)MultipleCerts since there were nowhere using it

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reconfigure.patch


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-08 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: (was: ssl_multicert_reconfigure.patch)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reconfigure.patch


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-08 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: ssl_multicert_reconfigure.patch

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reconfigure.patch


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Comment: was deleted

(was: James, my implementation does not reload SSLConfigParams, it just use it 
for SSLCertLookup instance build.

About the refcount, this could prevent critical section between ctx was 
returned from SSLCertLookup table but a ReloadInstance() called just before 
SSL_new() use this ctx. In this situation, SSL_new() might refer a ctx already 
be freed. defaultContext() also should refer to a live ctx as well, and this 
refcount will be decrement just after calling SSL_new(). But since this 
SSLCert_FreerContinuation was delayed by at least 2 seconds, it might not be 
that necessary.)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reload.patch, 
 ssl_multicert_reload.patch-3.2.0


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: (was: ssl_multicert_reload.patch)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reload.patch-3.2.0


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: ssl_multicert_reload.patch

TS-1551: reload ssl_multicert.config after traffic_line -x
   * reconstruct SSLEntry to save wildcard names only, make ssl_storage the 
only ssl_ctx storage.
   * ssl_default is now only for null ctx only(avoid crashing for SNI 
requests), the real default ctx should be found in ssl_storage with * key
   * change sslCertLookup to pointer instead of static object, then replace 
pointer after reload

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reload.patch, 
 ssl_multicert_reload.patch-3.2.0


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Comment: was deleted

(was: TS-1551: reload ssl_multicert.config after traffic_line -x
   * reconstruct SSLEntry to save wildcard names only, make ssl_storage the 
only ssl_ctx storage.
   * ssl_default is now only for null ctx only(avoid crashing for SNI 
requests), the real default ctx should be found in ssl_storage with * key
   * change sslCertLookup to pointer instead of static object, then replace 
pointer after reload)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reload.patch-3.2.0


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: (was: ssl_multicert_reload.patch)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reload.patch-3.2.0


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: ssl_multicert_reload.patch

James, sorry for just copying similar param codes from 3.2.0 patch, I've 
updated it.
About the refcount, I just use mutex instead.

Please find the attachment for the updated patch.

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reload.patch, 
 ssl_multicert_reload.patch-3.2.0


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Comment: was deleted

(was: James, sorry for just copying similar param codes from 3.2.0 patch, I've 
updated it.
About the refcount, I just use mutex instead.

Please find the attachment for the updated patch.)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reload.patch, 
 ssl_multicert_reload.patch-3.2.0


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: (was: ssl_multicert_reload.patch-3.2.0)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor

 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: (was: ssl_multicert_reload.patch)

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor

 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-11-01 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: ssl_multicert_reload.patch-3.2.0
ssl_multicert_reload.patch

ssl_multicert_reload.patch for current git master
ssl_multicert_reload.patch-3.2.0 for trafficserver-3.2.0

TS-1551: reload ssl_multicert.config after traffic_line -x
   * reconstruct SSLEntry to save wildcard names only, make ssl_storage the 
only ssl_ctx storage.
   * ssl_default is now only for null ctx only(avoid crashing for SNI 
requests), the real default ctx should be found in ssl_storage with * key
   * change sslCertLookup to pointer instead of static object, then replace 
pointer after reload

 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Assignee: James Peach
Priority: Minor
 Attachments: ssl_multicert_reload.patch, 
 ssl_multicert_reload.patch-3.2.0


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TS-1551) ssl_multicert.config not reread with traffic_line -x

2012-10-31 Thread Ethan Lai (JIRA)

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

Ethan Lai updated TS-1551:
--

Attachment: ssl_multicert_reload.patch-3.2.0
ssl_multicert_reload.patch

ssl_multicert_reload.patch for current git master
ssl_multicert_reload.patch-3.2.0 for trafficserver-3.2.0


TS-1551: reload ssl_multicert.config after traffic_line -x

   * reconstruct SSLEntry to save wildcard names only, make ssl_storage the 
only ssl_ctx storage.
   * ssl_default is now only for null ctx only(avoid crashing for SNI 
requests), the real default ctx should be found in ssl_storage with * key
   * change sslCertLookup to pointer instead of static object, then replace 
pointer after reload


 ssl_multicert.config not reread with traffic_line -x
 

 Key: TS-1551
 URL: https://issues.apache.org/jira/browse/TS-1551
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration, SSL
Affects Versions: 3.2.0
 Environment: RHEL 6
Reporter: Ethan Lai
Priority: Minor
 Attachments: ssl_multicert_reload.patch, 
 ssl_multicert_reload.patch-3.2.0


 Found that ssl_multicert.config is marked as modified, but not reread while 
 running traffic_line -x (Reread Config Files).
 Just wondering is this expected behavior or not?
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [Oct 26 09:59:45.018] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::startProxy] Launching ts process
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: 
 [LocalManager::pollMgmtProcessServer] New process connecting fd '12'
 [Oct 26 09:59:45.025] Manager {0x7f3c6723d7e0} NOTE: [Alarms::signalAlarm] 
 Server Process born
 [Oct 26 09:59:46.066] Server {0x2b500a320680} DEBUG: (ssl) 
 ssl_multicert.config: /usr/local/etc/trafficserver/ssl_multicert.config
 [Oct 26 09:59:46.094] Server {0x2b500a320680} DEBUG: (ssl) mapping 
 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v2.pem
 [Oct 26 09:59:46.096] Server {0x2b500a320680} NOTE: logging initialized[15], 
 logging_mode = 3
 [Oct 26 09:59:46.126] Server {0x2b500a320680} NOTE: traffic server running
 $ sed -i 's/j1.free888.cloudns.biz-v2/j1.free888.cloudns.biz-v3/'  
 /usr/local/etc/trafficserver/ssl_multicert.config
 $ `trafflic_line -x`
 [Oct 26 09:59:59.954] Manager {0x7f3c5700} DEBUG: (rollback) 
 [Rollback::internalUpdate] Moving ssl_multicert.config from version 43 to 
 version 44
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: [fileUpdated] 
 ssl_multicert.config file has been modified
 [Oct 26 09:59:59.970] Manager {0x7f3c5700} NOTE: User has changed config 
 file ssl_multicert.config
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 No DEBUG: (ssl) mapping 'j1.free888.cloudns.biz' to certificate 
 /usr/local/etc/ats-cert/j1.free888.cloudns.biz-v3.pem message found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira