n t i m e d a n t p d r e p l a c e m e n t
play

N t i m e d A N T P D r e p l a c e m e n t P - PowerPoint PPT Presentation

N t i m e d A N T P D r e p l a c e m e n t P o u l - H e n n i n g K a m p p h k @ F r e e B S D . o r g p h k @ V a r n i s h . o r g @ b s d p h k ! s d r a w k


  1. – N t i m e d A N T P D r e p l a c e m e n t P o u l - H e n n i n g K a m p p h k @ F r e e B S D . o r g p h k @ V a r n i s h . o r g @ b s d p h k

  2. ! s d r a w k c a b s i k l a t s i h T : B N * W h a t i s N t i m e d g o i n g t o b e * W h a t i s N t i m e d r i g h t n o w * W h y d i d t h e w o r l d n e e d N t i m e d * W h a t ' s w r o n g w i t h N T P D ?

  3. – N t i m e d w h a t ' s t h e p l a n ? * N t i m e d - c l i e n t - - ” s t e e r m y c l o c k ” T i n y , e a s i l y p o r t a b l e , D W I M . * N t i m e d - s l a v e - - ” r e l a y t i m e s e r v i c e ” L i g h t w e i g h t , r o b u s t , r e s i l i e n t , p o l i c y . * N t i m e d - m a s t e r - - ” p r i m a r y t i m e s e r v i c e ” T h e f u l l m o n t y . * L i c e n s e = B S D 2 - c l a u s e

  4. N t i m e d - m a s t e r - - ” p r i m a r y t i m e s e r v i c e ” T a r g e t : T i m e - n u t s , T i m e - l o r d s & c T a s k : T u r n t i m e - m a c h i n e r y ( G P S , A t o m s , Q u a s a r s ) i n t o N e t w o r k t i m e s u p p l i e r s P r o t o c o l s : N T P ( l a t e r : P T P ) S i z e : < 3 0 K L O C S t a t u s : P l a n n e d

  5. N t i m e d - m a s t e r a r c h i t e c t u r e * A p r o g r a m f o r e x p e r i m e n t a l s c i e n c e * P y t h o n f o r h i g h - l e v e l s c i e n c e - b i t s – ( s e e : G N U r a d i o i t w o r k s ) C l o c k - s e l e c t i o n C l o c k - d i s c i p l i n e / P L L C l o c k - m o d e l l i n g P o l i c y * R e a l t i m e a n d p r o t o c o l b i t s i n C S e c u r i t y , P e r f o r m a n c e e t c . * S a n d b o x i n g R e f c l o c k c o d e i n s e p a r a t e ” j a i l ” p r o c e s s e s R e f c l o c k s i n a n y l a n g u a g e y o u l i k e

  6. N t i m e d - s l a v e - - ” r e l a y t i m e s e r v i c e ” T a r g e t : 2 - 3 p e r d a t a c e n t e r / I S P / V P N / . . . T a s k : I m p o r t t i m e - s e r v i c e i n t o e n v i r o n m e n t P r o t o c o l s : O u t s i d e : N T P I n s i d e : N T P ( P T P ? ) S i z e : < 2 0 K L O C S t a t u s : 3 3 % ( = n t i m e d - c l i e n t )

  7. N t i m e d - s l a v e a r c h i t e c t u r e 1 t h r e a d - > a c q u i r e t i m e = N t i m e d - c l i e n t P o s s i b l y : + m o r e p o l i c y c o n t r o l s 1 t h r e a d p e r i n t e r f a c e - > d e l i v e r t i m e 1 C L I t h r e a d f o r o p e r a t i o n / m o n i t o r i n g ” t h r e a d ” l i k e l y ” s u b - p r o c e s s ” f o r j a i l / s e c u r i t y F o c u s : O p e r a t i o n s , S t a t i s t i c s & M o n i t o r i n g i e : S p o t c l i e n t s w i t h w r o n g t i m e .

  8. N t i m e d - c l i e n t - - ” s t e e r m y c l o c k ” T a r g e t : A l l c o m p u t e r s i n t h e w o r l d T a s k : P u t t h e s y s t e m r i g h t o n t i m e P r o t o c o l s : N T P ( l a t e r : P T P ) S i z e : < 1 0 K L O C S t a t u s : P r e r e l e a s e

  9. N t i m e d - c l i e n t a r c h i t e c t u r e S i n g l e t h r e a d , T O D O l i s t s c h e d u l i n g C o m p o n e n t s : S e r v e r m a n a g e m e n t D N S , w h i c h s e r v e r s , h o w m a n y s e r v e r s . C l o c k E s t i m a t i o n B a s e d o n t r i a n g u l a r p d f s C l o c k s t e e r i n g A d a p t i v e P L L K e r n e l I n t e r f a c e G e t ( ) , S t e p ( ) , S t e e r ( ) , S l e e p ( ) L e a p S e c o n d m i t i g a t i o n I f , W h e n , H o w G r e e n C o m p u t i n g

  10. S i n g l e - v s . M u l t i t h r e a d i n g I ' m a b i g f a n o f m u l t i t h r e a d i n g M y o t h e r p r o j e c t s a r e F r e e B S D a n d V a r n i s h B u t N t i m e d b a s i c a l l y d o e s : w h i l e ( 1 ) { s l e e p ( x ) ; s e n d _ p a c k e t ( ) ; r e c e i v e _ p a c k e t ( ) ; d o _ m a t h ( ) ; i f ( n e e d e d ) a d j u s t _ k e r n e l _ c l o c k ( ) ; }

  11. N t i m e d - c l i e n t s e c u r i t y c a l c u l u s P r i v i l e g e d I n t e r a c t i o n s : A d j u s t k e r n e l t i m e s c a l e U n p r i v l e g e d i n t e r a c t i o n s : S e n d & R e c e i v e U D P p a c k e t s W r i t e l o g f i l e s S e n d s y s l o g m e s s a g e s

  12. N t i m e d - c l i e n t a t t a c k s u r f a c e N T P p a c k e t s a r e 4 8 b y t e s , f i x e d f o r m a t & n u m e r i c a l - > n o s c o p e f o r s t r i n g b a s e d e x p l o i t s N u m b e r s a r e i n i n t e g e r f o r m a t - > n o s c o p e f o r I E E E - 7 5 4 e x c e p t i o n e x p l o i t s A l l R X p a c k e t s d i s c a r d e d , e x c e p t o n e r e p l y f o r e a c h p a c k e t w e s e n d . - > D o S s u r f a c e / l o a d i n g i s m i n i m a l

  13. S a n d b o x i n g i s n o t f r e e A d d s c o m p l e x i t y C r e a t e t r u s t e d c h a n n e l s b e t w e e n j a i l s S a n d b o x e s s c a l e b a d l y w i t h p o r t a b i l i t y f o r k ( 2 ) + s e t u i d ( 2 ) + c h r o o t ( 2 ) j a i l ( 2 ) M A C ( 2 ) P O S I X A c l s C A P S I C U M S o l a r i s P r i v i l e g e s S E L i n u x W i n d o w s ?

  14. N t i m e d - c l i e n t i s n o t s a n d b o x e d C o s t / B e n e f i t a n a l y s i s c a m e o u t n e g a t i v e . ( T h i s d e c i s i o n w i l l b e r e v i s i t e d p e r i o d i c a l l y ) I f U N I X k e r n e l - t i m e k e e p i n g w a s f i l e - d e s c b a s e d i e : / d e v / k e r n e l _ t i m e N t i m e d - c l i e n t c o u l d j u s t d r o p p r i v s a f t e r o p e n .

  15. S e r v e r M a n a g e m e n t D N S , w h i c h s e r v e r s , h o w m a n y s e r v e r s U s e d s e r v e r s : F a s t p o l l , u n u s e d : s l o w p o l l I f D N S r e t u r n s 1 0 s e r v e r s , w h i c h d o y o u u s e ? W h a t h a p p e n s w h e n D N S r e s p o n s e c h a n g e s ? I n c o m p l e t e . D i s c u s s i o n s o n g o i n g w i t h p o o l . n t p . o r g

  16. C l o c k E s t i m a t i o n W e h a v e t w o t i m e s c a l e s , w e t h i n k t h e y a r e t h e s a m e l o c a l c l o c k x = t r e m o t e c l o c k

  17. C l o c k E s t i m a t i o n L e t s s e n d a p a c k e t a n d a s k t h e o t h e r g u y l o c a l c l o c k x = t r e m o t e c l o c k L o c a l T X @ t = 1 l o c a l t i m e s c a l e R e m o t e R X @ t = 2 R e m o t e T X @ t = 3 r e m o t e t i m e s c a l e L o c a l R X @ t = 4 ≤ ≤ W e k n o w : t = 1 ( t = 2 , t = 3 ) t = 4

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend