louisdh / openterm

OpenTerm, a sandboxed command line interface for iOS
Other
1.63k stars 248 forks source link

Network commands #57

Closed Spydar007 closed 6 years ago

Spydar007 commented 6 years ago

It'd be great to have network commands such as ping, telnet and dig for native command-line network diagnostics from iOS.

louisdh commented 6 years ago

@holzschu What's the status of these commands in ios_system?

holzschu commented 6 years ago

ping: done once already, removed, would be easy to add back. telnet: I tried, it couldn't compile it (it requires some header file that I couldn't locate), also without interactivity, the interest is limited. dig: I didn't try. I'll look into it.

palmin commented 6 years ago

netcat can often be used in some of the same situations as telnet and it is easier to use in a non-interactive way and maybe it is easier to compile as well?

I was afraid it was GPL licensed and it was 🙀, but there is a BSD version as well 😺.

holzschu commented 6 years ago

I'm starting to work on network_ios: https://github.com/holzschu/network_ios I've added netcat to the list (ping, dig, netcat).

holzschu commented 6 years ago

The good news: netcat (BSD) works. The bad news: I have no way to test it thoroughly, except that:

louisdh commented 6 years ago

The following network commands have been added and will be available in OpenTerm 2.0: dig, host, nc, nslookup, ping, rlogin, ssh-keygen, telnet