최근 클라우드, 스마트 디바이스, 사물인터넷 등 정보통신 기반의 다양한 서비스 기술이 급속히 발전하고 있으며, 여기에 필요한 네트워크 장비인 라우터, 스마트 게이트웨이, 스위치, 방화벽 등 플랫폼 기술도 더불어 발전하고 있다. 이러한 정보통신 기술의 발전은 스마트 디바이스의 활용이 시간과 공간의 제약을 극복하고 사무실, 집, 학교, 외부 등 어느 곳에서든 자신이 하던 일을 계속 이어서 할 수 있고, 물리적으로 떨어진 원격지 환경과 동일한 네트워크 환경을 제공하는 것이 가능하게 되었다. 이렇게 다수의 원격지 네트워크를 하나의 로컬 네트워크로 구성할 수 있는 기술은 이미 잘 알려진 네트워크간 VPN(Virtual Private Network) 장비로 구현이 가능하다. 상용 VPN 장비의 경우 발전을 거듭하여 기본적인 라우터 기능, 터널링(Tunneling) 기능 외에 IDS(Intrusion Detection System), IPS(Intrusion Protection System) 등 지능형 방화벽, QoS(Quality of Service) 기술, 다중회선 지원, 로드 밸런싱(Load Balancing) 등 다양한 고급 기능을 적용할 수 있게 제공하고 있다. 이런 상용 VPN 장비의 경우 고성능의 제품으로 전용선 환경에서 전문가의 지원으로 활용되고 있으며, 기술의 특성상 고가의 전용 장비로 기기간 호환성도 보장하기 힘든 문제를 가지고 있다. 또한 언급한 바와 같이 중소기업 및 일반인까지 클라우드(Cloud), 사물인터넷(IoT, Internet of Things), 멀티-스크린(Multi-Screen) 등 동일한 네트워크 환경의 필요성은 확대 되고 있는 상황에서 고가의 전용선 환경에 전용 VPN 장비를 적용하기에는 경제성이 떨어지기 때문에 일반 인터넷 환경에 네트워크간 VPN을 지원하는 유무선 공유기가 필요하게 되었다. 전용 VPN 장비에 비하여 상대적으로 떨어지는 CPU 및 메모리 성능과 취약한 네트워크 환경에서도 안정적인 VPN 환경을 제공하는 기술이 필요하게 되었다. 기존의 유무선 공유기에서도 VPN을 지원하는 제품이 있기는 하지만 대부분 단순한 VPN 서버 기능만 제공하여 네트워크간 VPN 연동은 가능하지 않고 PC나 스마트폰에서 직접 연동하는 방법만 제공하기 때문에 그 활용성이 떨어지고 지원하는 기기가 국한되며 속도는 5Mbps 수준에 불과한 문제가 있다. 또한 상용 VPN 전용 장비의 경우는 대중화 시키기에는 경제성이 떨어지며 전용선 등 회선 상황이 보장이 되어야 운영 이 가능한 문제를 가지고 있다. 본 논문에서는 이러한 문제점들을 해결하고자 첫째로 저렴한 비용의 하드웨어에 VPN 터널링을 지원하는 플랫폼을 제안하고, 둘째로 이 플랫폼에서 VPN 터널링 속도를 터널링 알고리즘 별로 20Mbps 이상 지원할 수 있는 구현 방안을 제안하며, 셋째로 인터넷 회선 품질의 변화가 크더라도 실시간에 회선 상황을 파악하여 단순히 QoS, ToS(Type of Service) 방법을 넘어서 특성이 서로 다른 다중 큐잉 기술을 적용하는 방법을 제안하며 이에 대한 측정결과도 제시하고자 한다. 라우터, 방화벽, VPN 장비 등 역사가 오래된 네트워크 기반 장비들은 오늘까지도 지속적인 발전이 계속되고 있다 할 수 있다. 하드웨어 성능 자체의 발전도 의미가 있지만, 최근의 클라우드, 빅데이터(Bigdata), 사물인터넷 등 다양한 서비스의 폭발적 확장에 상응하는 관련 네트워크 장비의 대중화도 요구되고 있고, 여기에 더해 다양한 서비스와 환경의 변화에 적절히 대응할 수 있는 소프트웨어적인 기술이 더욱 요구되고 있는 현실이다. 본 연구에서 사용되는 하드웨어 및 운영체제 그리고 소프트웨어 플랫폼은 다양한 네트워크 장비 분야에서 오랫동안 많은 개발자가 사용하고 있는 OpenWRT를 기반으로 하고 있다. 따라서 본 연구의 기술은 VPN 터널링 관련 솔루션에 적용뿐 아니라 사물인터넷을 지원하는 스마트 게이트웨이 등 다양한 네트워크 장비에 확대 적용될 수 있으리라 사료된다.
Recently, information and communication-based various service technologies, such as cloud, smart devices and IoT (Internet of Things) have been rapidly developed. In addition, platform technologies of network equipment like routers, smart gateways, switches, firewalls which are required for this various technologies are being developed as well. Development of information & communication technology enables users not only to overcome time and space constraints for the use of smart devices, but also to continue what they are doing in any other places including the office, home, school and to provide the same network environment as that of physically remote location. The technology that multiple remote networks can be configured as a local network can be implemented through well-known inter-network VPN (Virtual Private Network) equipment. Commercial VPN equipment has been evolved to provide the application of many advanced functions including not only basic router and tunneling functions, but also intelligent firewall including IDS (Intrusion Detection System) and IPS (Intrusion Protection System), QoS (Quality of Service) technology, multi-line support, and load balancing, etc. This commercial VPN equipment is being used as high-performance products in a dedicated line environment with the support of experts. Moreover, these are expensive and dedicated equipment due to their technical nature so that it is not easy to ensure for them to provide the compatibility between equipment. Also as mentioned earlier, under the situation that small and medium-sized businesses and even the public increasingly require the need for the same network environment such as cloud, IoT (Internet of Things) and multi-screen, the need for the wired/wireless router to support inter-network VPN under general internet environment has been increased because application of dedicated VPN equipment to the expensive leased line environment is not economical. Accordingly, a technology providing reliable VPN environment in a vulnerable network environment which shows relatively less CPU and memory performances than dedicated VPN equipment is required. Although several existing wired/wireless routers to support VPN exist, their simple VPN server functions only provide direct linkage to a PC or a smartphone not a inter-network VPN linkage. Therefore, their utilization is decreased, the machine to support is limited and the speed rate is only in 5Mbps level. In addition, not only that it is not economical to popularize commercial VPN dedicated equipment, but that its operation is not possible without dedicated line. In this study, I propose several solutions to revolve the above problems; First, I propose a platform to support VPN tunneling to the affordable cost hardware; Second, I propose an implementation plan to support at least 20Mbps for VPN tunneling rate for each tunneling algorithm; Third, I propose a method for applying different-features, multi-queuing techniques beyond the simple QoS, ToS (Type of Service) methods by identifying real-time internet line situation even if the change of internet line quality is large, and the measurement results will be presented as well. Historic network-based equipment including routers, firewalls, and VPN equipment have been developed continuously even today. Development of hardware performance itself is required, but development of software technology is further required in recent days not only for the proper responses to a variety of services and environment changes, but also for the need of popularization of associated network equipment to respond against explosive expansion of various services such as cloud, big data, and loT. The hardware, operating system and software platform used in the study are based on OpenWRT which many developers in the various network equipment fields have used for a long time. Thus, the techniques from the study are considered to be applied to VPN tunneling-related solutions as well as a variety of network equipment such as smart gateway application for loT.
목차
제 1 장 서 론 11.1 연구의 배경 11.2 연구내용 및 범위 21.3 논문의 구성 3제 2 장 관련 연구 42.1 OpenWRT 42.2 OpenVPN 92.2.1 IPSec VPN과 SSL VPN 비교 102.2.2 SSL VPN의 발전 132.3 QoS 152.3.1 QoS의 특징 152.3.2 ToS 예 172.3.3 QoS의 문제점 182.2.4 해결방안 182.4 iproute2 21제 3 장 시스템 설계 313.1 OpenWRT 플랫폼 설계 313.1.1 OpenWRT 타켓 시스템 323.1.2 개발환경 343.1.3 커널 설정 및 크로스컴파일 363.1.3.1 OpenVPN을 위한 커널 설정 363.1.3.2 커널 의존성 검사 및 커널이미지 생성 393.1.4 OpenVPN 컴파일 및 펌웨어 업그레이드 393.1.4.1 OpenVPN 소스 컴파일 393.1.4.2 패키지 파일 및 rootfs 설치 413.1.4.3 램디스크 이미지 생성 423.1.5 OpenVPN 설정 및 테스트 423.1.5.1 OpenVPN 서버 설정 423.1.5.2 OpenVPN 클라이언트 설정 513.1.5.3 VPN 서버/클라이언트 연결 533.2 네트워크간 VPN 시스템 설계 583.2.1 네트워크간 VPN 구성도 583.2.2 브릿지 설계 603.2.3 라우팅 설계 613.2.4 다중큐잉 실시간 트래픽 쉐이핑 설계 62제 4 장 구현 및 실험결과 644.1 다중큐잉 실시간 트래픽 쉐이핑 시스템 644.1.1 다중큐잉 실시간 트래픽 쉐이핑 시스템 구성도 644.1.2 다중큐잉 실시간 트래픽 쉐이핑 시스템 구현 654.2 실험결과 784.2.1 실험 환경 784.2.2 트래픽 쉐이핑 없이 VPN 터널링만 동작할 경우 794.2.2.1 테스트 시나리오 794.2.2.2 테스트 결과 804.2.3 단일 큐잉에서 트래픽 쉐이핑 동작할 경우 804.2.3.1 테스트 시나리오 804.2.3.2 테스트 결과 814.2.4 다중 큐잉에서 트래픽 쉐이핑 동작할 경우 814.2.4.1 테스트 시나리오 824.2.4.2 테스트 결과 824.2.5 다중 큐잉 실시간 트래픽 쉐이핑 동작할 경우 944.2.5.1 성능 고찰 954.2.5.2 성능 분석 96제 5 장 결론 99참고문헌 101Abstract 105감사의 글(Acknowledgement) 108