Use this information at your own risk!
What are the default SLiRP IP Addresses?
#define CTL_CMD 0 [*10.0.2.0*] #define CTL_EXEC 1 [*10.0.2.1 add exec/ptyexec*] #define CTL_ALIAS 2 [*10.0.2.2*] #define CTL_SPECIAL "10.0.2.0" #define CTL_LOCAL "10.0.2.15"What is the (CTL_CMD) control command line interface?
All you need to do is telnet to 10.0.2.0, which will give you a "command-line" where you can enter commands directly to SLiRP. Most of the config-file options are supported, the only ones that aren't are the ones which would crash SLiRP (eg: increasing the MTU on-the-fly will crash SLiRP)
There are also additional ones: stats [ mbuf | ip | udp | tcp | udpsock | tcpsock ] Show statistics on [ ... ]. close N Close the session which has FD N. kill N Kill the session which has FD N.How could I configure my hosts file to take advantage of the command line interface?
# # Sample SLiRP hosts file # 10.0.2.0 command-line 10.0.2.1 telnetd nntp-server [*netcom users only*] 10.0.2.15 local-pc 10.0.2.2 telnet smtp-serverHow do I set up my local PC as a ftp server?
In .slirpc add the line:
redir tcp 5000 to 21
Now run slirp with this new line. Make sure you have and winsock ftp deamon server like SLiRP slirp.telnetd instructions