Professional Documents
Culture Documents
CGN Logging: Horror Stories and Happy Endings
CGN Logging: Horror Stories and Happy Endings
CGN Logging
Horror Stories
o o
Happy Endings
o o
2/9/12
Webserver log
204.57.36.2:4567 - - [10/ Oct/2010:13:55:36 -0700] "GET /illegal.html HTTP/ 1.0" 200 2326
: 10.0.0.1
CGN Log
: 10.0.0.2 10.0.0.2:1234 -> 204.57.36.2:4567 [10/Oct/ 2010:13:55:36 -0700] 10.0.0.1:1234 -> 204.57.36.2:2345 [10/Oct/ 2010:13:55:38-0700] 10.0.0.3:4356 -> 204.57.36.2:3456 [10/Oct/ 2010:13:55:45 -0700] 10.0.0.2:3456 -> 204.57.36.2:4569 [10/Oct/ 2010:13:55:47 -0700]
2/9/12
Additional CGN testing in IPv6 interop events Logging has been one aspect of testing
2/9/12
2/9/12
2/9/12
2/9/12
Thats potentially over 1 PB per 1M subs per month Its also over 20Mbps for just the log stream
8
Cable Television Laboratories, Inc. 2012. All Rights Reserved. Proprietary/Confidential. 2/9/12
Reduce logging up to 100x Reduces volume, but not search time See next slide
Log compression
o
Deterministic reservation
o
2/9/12
Compression ratio inside/outside Inside range/compression ratio = ports/user Set aside well-known ports (<1024) & dynamic overflow range Pre-reserve port ranges for each internal IP address Allow dynamic reservation above that threshold
Remote logging only required for dynamic reservations Still need state logging locally for every active connection
CGN Device
IP 1 Reserved Pool
Subscriber 1 (DHCP STP Address 1) Subscriber 2 (DHCP STP Address 2) Subscriber 3 (DHCP STP Address 3) Subscriber 4 (DHCP STP Address 4)
11
IP 1, Port Pool 1 IP 1, Port Pool 2 Pool IP 1, Port exhausted Pool 3 IP 1, Port Pool 4
IP 1 Logging Bulk Pool
2/9/12
Required
Questions?
12
2/9/12