📄 ddns3.1
字号:
.TH DDNS3 1 "$Date: 2003/03/20 05:21:59 $".SH NAMEddns3 \- ddns.nu remote update client.SH SYNOPSIS.B ddns3 --user.I user.B --pass.I password.B [.I options.B ].I command.B ....SH DESCRIPTION.B ddns3updates IP-Handles on the ddns.nu remote update server. Thisallows remote automated updates rather than using the websitevia a browser..SH OPTIONS.IP "--user user"Specifies the username to authenticate with..IP "--pass password"Specifies the password to authenticate with..IP "--host hostname"Override the default server hostname to connect to.The default server hostname is .B ns.ddns.nu..IP "--port portnumber"Override the default TCP port to connect to.The default TCP port for the ddns3 protocol is.B 2164.IP "--auth authtype"Specify what type of authentication protocol to use.The available types are:.B plaintext,.B crypt,.B md5,.B ddns,and.B strong.The default type is.B ddnswhich is secure in the sense that the username is sent in cleartext, but the password is sent hashed in such a manneras to defeat replay attacks by utilising a salt sent fromthe server..SH COMMANDS.IP "list"List all IP-Handles and their current values for the account.You may do this multiple times, for example it is perfectlylegal (and perhaps even useful) to do a.B list,followed by a.B set,and then another.B listto observe the change..IP "set handle-name ip-value"Set an IP-Handle named.B handle-nameto the IP value.B ip-value.Similar to.B listyou can specify as many such operations on the command lineas you wish and they will be executed in the order specified..IP "guess handle-name ip-source"Set the IP-Handle named.B handle-nameto the IP value derived from IP seen by the.B ip-sourceend of the update connection.The .B ip-sourceis specified as either.B remoteor.B local.Again you may specify multiple.B guesscommands on the command line and they will be executed in order.Using the .B localoption saves you from having to specify the IP on the command line.Local guessing usually gets the IP correct as it takes the localaddress of the socket making the update connection. With conventionalrouting arrangements this is likely to be the IP you want.However the.B remoteoption sets the IP-Handle to the IP that the server sees the connectionas originating from. This is most useful if you are running the clientfrom behind a NAT gateway which itself is incapable of running the client.In this case the IP of the NAT gateway is used, rather than the probablymartian IP of the host the client is actually executing on..SH DIAGNOSTICSUseful error messages are produced on stderr, all other runtime output goesto stdout.On runtime exception the return value of the process may be useful in scripting:-1.RSThe usage message was generated by running the command with no arguments..RE-2.RSThe argument parser didn't like the command line..RE-3.RSA connection could not be established with the update server..RE-4.RSAuthentication failed..RE-5.RSNetwork errors closing the connection (these can often be ignored)..RE-6.RSSome kind of internal logic error in the process, like a malloc/free failure..REThe process returns a positive count of the number of commands executed onthe server that generated an error, or zero on error free completion of allcommands..SH BUGSThe authentication details should be read from a file to avoid their visibility in the process list. There should be support for other ddns3 protocol primitives like.B MOTDand.B HELPfor completeness. The java implementation .B jddns3does this, and is largely command line equivalent. Short networkwrites are unchecked in at least one place..SH AUTHORAlan Yates <alany@ay.com.au>.SH VERSION$Id: ddns3.1,v 1.2 2003/03/20 05:21:59 alany Exp $.SH "SEE ALSO"http://www.ddns.nu/http://www.ddns.nu/files/ddns-v3.txt
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -