iOS 5이후 부턴 USB로 장비를 연결하고 rvictl이란 명령으로 네트워크 패킷을 볼 수 있다고 한다. $ rvictl rvictl [-h][-l][-s <udid1> ... <udidN>][-x <udid1> ... <udidN>] Remote Virtual Interface Tool starts and stops a remote packet capture instance for any set of attached mobile devices. It can also provide feedback on any attached devices that are currently relaying packets back to this host. Options: -l, -L List currently active devices -s, -S Start a device or set of devices -x, -X Stop a device or set of devices 내용은 간단. UDID 입력하고 -s 로 시작 -l로 확인 -x로 정지. 한번 해보자 $ rvictl -s <UDID> Starting device <UDID> [SUCCEEDED] 이런 식으로 나오면 성공. USB연결을 꼭 확인하자. 참고로 iPhone Simulator 에서도 UDID만 있으면 작동한다는 이야기가 있음; 어디다 쓸진 모르겠지만;; 확인해보자. $ rvictl -l Current Active Devices: [1] <UDID> 아까 그 UDID 가 목록에 있으면 성공. ifconfig 로 잘 들어갔나 확인해보자. $ ifconfig -l lo0 gif0 stf0 en0 p2p0 utun0 rvi0 rvi0이 들어갔으면 성공. $ ifconfig rvi0 rvi0: flags=3005<UP,D...
댓글
댓글 쓰기