iPhone Honeypot Project

June 8, 2010

GCC on iPhone: Part II

Filed under: gcc,libpcap,Network — abnev @ 8:39 pm
Tags: , , ,

Still having iPhone GCC woes. I managed to install gcc including the 2.x toolchain from cydia using a fake-libgcc. However, there are still errors when compiling even the simplest of programs.

abnev-ip1:~/Media root# gcc -o test test.c

ld: library not found for -lgcc_s.10.5

collect2: ld returned 1 exit status

According to http://code.google.com/p/iphonedevonlinux/wiki/Installation it is possible, but I’ll need to download the 3.0 SDK. Unfortunately, the 2.0GB~ download is a little too much for my 1MB line at home so it’ll have to wait until I get to DCU. In other news, I did manage to install tcpdump and ran a quick test to make sure it was all working OK.
1:33:38.903154 IP 192.168.1.50.ssh > 192.168.1.52.49387: P 1867428674:1867428866(192) ack 2428888530 win 32942 <nop,nop,timestamp 845296227 63933475>
21:33:38.909314 IP 192.168.1.52.49387 > 192.168.1.50.ssh: . ack 192 win 65535 <nop,nop,timestamp 63933481 845296227>
21:33:39.919579 IP 192.168.1.50.62892 > dns1.cwm.dublin.eircom.net.domain: 46550+[|domain]
21:33:40.219556 IP dns1.cwm.dublin.eircom.net.domain > 192.168.1.50.62892: 46550 NXDomain*[|domain]
21:33:40.227206 IP 192.168.1.50.58897 > dns1.cwm.dublin.eircom.net.domain: 9756+[|domain]
21:33:40.628665 IP dns1.cwm.dublin.eircom.net.domain > 192.168.1.50.58897: 9756 NXDomain*[|domain]
21:33:40.634025 IP 192.168.1.50.ssh > 192.168.1.52.49387: P 192:496(304) ack 1 win 32942 <nop,nop,timestamp 845296245 63933481>
21:33:40.639611 IP 192.168.1.52.49387 > 192.168.1.50.ssh: . ack 496 win 65535 <nop,nop,timestamp 63933498 845296245>
21:33:41.640218 IP 192.168.1.50.59648 > dns1.cwm.dublin.eircom.net.domain: 29753+[|domain]
21:33:41.858044 IP dns1.cwm.dublin.eircom.net.domain > 192.168.1.50.59648: 29753[|domain]
21:33:41.864215 IP 192.168.1.50.ssh > 192.168.1.52.49387: P 496:624(128) ack 1 win 32942 <nop,nop,timestamp 845296257 63933498>
21:33:41.865938 IP 192.168.1.50.ssh > 192.168.1.52.49387: P 624:1200(576) ack 1 win 32942 <nop,nop,timestamp 845296257 63933498>
21:33:41.869402 IP 192.168.1.52.49387 > 192.168.1.50.ssh: . ack 624 win 65535 <nop,nop,timestamp 63933510 845296257>
21:33:41.870228 IP 192.168.1.52.49387 > 192.168.1.50.ssh: . ack 1200 win 65535 <nop,nop,timestamp 63933510 845296257>
21:33:42.867115 IP 192.168.1.50.ssh > 192.168.1.52.49387: P 1200:1920(720) ack 1 win 32942 <nop,nop,timestamp 845296267 63933510>
21:33:42.873265 IP 192.168.1.52.49387 > 192.168.1.50.ssh: . ack 1920 win 65535 <nop,nop,timestamp 63933520 845296267>

Success (sort of) for now.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: