Author: dylan Date: 2005-06-25 05:17:17 -0400 (Sat, 25 Jun 2005) New Revision: 818
Added: trunk/docs/std/ trunk/docs/std/auth.txt trunk/docs/std/core.txt trunk/docs/std/ghost.txt Removed: trunk/docs/auth.txt trunk/docs/core.txt trunk/docs/ghost.txt Modified: trunk/ Log: [EMAIL PROTECTED]: dylan | 2005-06-25 04:27:45 -0400 moving "standard" text files to std Property changes on: trunk ___________________________________________________________________ Name: svk:merge - 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/havercurs-objc:43089 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:11166 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk-merge-10131:11178 27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212 e9404bb1-7af0-0310-a7ff-e22194cd388b:/haver/local:1181 edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238 + 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/havercurs-objc:43089 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:11166 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk-merge-10131:11178 27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212 e9404bb1-7af0-0310-a7ff-e22194cd388b:/haver/local:1183 edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238 Deleted: trunk/docs/auth.txt =================================================================== --- trunk/docs/auth.txt 2005-06-25 04:25:22 UTC (rev 817) +++ trunk/docs/auth.txt 2005-06-25 09:17:17 UTC (rev 818) @@ -1,20 +0,0 @@ -C: HAVER Foobar/1.02 -S: HAVER example.com FoobarServer/2.32 auth -C: IDENT User - - -#if User is registered then - S: AUTH:TYPE basic - #if basic then - C: AUTH:TYPE basic - S: AUTH:BASIC $nonce sha1 sha256 - C: AUTH:BASIC sha1 sha1_base64($nonce . sha1_base64($passcode)) - S: HELLO User - #end if -#else - S: HELLO User -#end if - - -Passcodes: - A passcode is: sha1_base64($password . $name . $host) Deleted: trunk/docs/core.txt =================================================================== --- trunk/docs/core.txt 2005-06-25 04:25:22 UTC (rev 817) +++ trunk/docs/core.txt 2005-06-25 09:17:17 UTC (rev 818) @@ -1,71 +0,0 @@ -C: HAVER Foobar [$supported] -S: HAVER example.com FoobarServer [$supported] -C: IDENT $name - -Errors: exists.user ($name), reserved.user ($name), invalid.name ($name) - -S: HELLO $name - -C: JOIN $channel -S: JOIN $channel $user - -Errors: invalid.name ($channel), unknown.channel ($channel), already.joined ($channel) - -C: PART $channel -S: PART $channel $user - -Errors: invalid.name ($channel), unknown.channel ($channel), already.parted ($channel) - -C: LIST $channel $namespace -S: LIST $channel $namespace Thing1 Thing2 Thing3 - -Errors: - * invalid.name ($channel) - * unknown.channel ($channel) - * unknown.namespace ($namespace) - - -# $namespace = 'user' | 'channel' | 'service' - -C: IN $channel $type @args -S: IN $channel $user $type @args - -Errors: - * invalid.name ($channel) - * unknown.channel ($channel) - * invalid.type ($type) - -C: TO $user $type @args -S: FROM $user $type @args - -Errors: - * invalid.name ($user) - * unknown.user ($user) - * invalid.type ($type) - -# clients must use any word (/^\w+$/) for $type, -# but the following are the standard: -# $type = 'say' | 'do' - -C: POKE $string -S: OUCH $string - -S: PING $string -C: PONG $string - -C: BYE $detail - -# The sender sees: -S: BYE $type $detail - -# Any other users that are in a shared channel, or have the sender on a watch list, -# will see: -S: QUIT $sender $type $detail - -$type can be one of: - * closed - * error ($detail = error code?) - * bye ($detail = from BYE) - * ping - * ghost - * kill ($detail = killer) Deleted: trunk/docs/ghost.txt =================================================================== --- trunk/docs/ghost.txt 2005-06-25 04:25:22 UTC (rev 817) +++ trunk/docs/ghost.txt 2005-06-25 09:17:17 UTC (rev 818) @@ -1,22 +0,0 @@ -During the login phase, if a user receives FAIL IDENT exists.user, -it may attempt to GHOST itself. - -C: GHOST is identical to IDENT, except that if the identifer requested with it -already exists, and has the same IP, it will disconnect the other entity and grant the -identifier to connecting client. - -Usage: - -C: HAVER FooBar/1.2 -S: HAVER example.com Haver::Server/0.08 -C: IDENT bob -S: FAIL IDENT exists.user bob -C: GHOST bob -S: HELLO bob - -# Other people see: -S: QUIT bob ghost - -With the implementation of auth systems, it would be possible for anyone that knows the -password of an account to GHOST it. This is to be defined in related auth.txt file at a -later time. Added: trunk/docs/std/auth.txt =================================================================== --- trunk/docs/std/auth.txt 2005-06-25 04:25:22 UTC (rev 817) +++ trunk/docs/std/auth.txt 2005-06-25 09:17:17 UTC (rev 818) @@ -0,0 +1,20 @@ +C: HAVER Foobar/1.02 +S: HAVER example.com FoobarServer/2.32 auth +C: IDENT User + + +#if User is registered then + S: AUTH:TYPE basic + #if basic then + C: AUTH:TYPE basic + S: AUTH:BASIC $nonce sha1 sha256 + C: AUTH:BASIC sha1 sha1_base64($nonce . sha1_base64($passcode)) + S: HELLO User + #end if +#else + S: HELLO User +#end if + + +Passcodes: + A passcode is: sha1_base64($password . $name . $host) Added: trunk/docs/std/core.txt =================================================================== --- trunk/docs/std/core.txt 2005-06-25 04:25:22 UTC (rev 817) +++ trunk/docs/std/core.txt 2005-06-25 09:17:17 UTC (rev 818) @@ -0,0 +1,71 @@ +C: HAVER Foobar [$supported] +S: HAVER example.com FoobarServer [$supported] +C: IDENT $name + +Errors: exists.user ($name), reserved.user ($name), invalid.name ($name) + +S: HELLO $name + +C: JOIN $channel +S: JOIN $channel $user + +Errors: invalid.name ($channel), unknown.channel ($channel), already.joined ($channel) + +C: PART $channel +S: PART $channel $user + +Errors: invalid.name ($channel), unknown.channel ($channel), already.parted ($channel) + +C: LIST $channel $namespace +S: LIST $channel $namespace Thing1 Thing2 Thing3 + +Errors: + * invalid.name ($channel) + * unknown.channel ($channel) + * unknown.namespace ($namespace) + + +# $namespace = 'user' | 'channel' | 'service' + +C: IN $channel $type @args +S: IN $channel $user $type @args + +Errors: + * invalid.name ($channel) + * unknown.channel ($channel) + * invalid.type ($type) + +C: TO $user $type @args +S: FROM $user $type @args + +Errors: + * invalid.name ($user) + * unknown.user ($user) + * invalid.type ($type) + +# clients must use any word (/^\w+$/) for $type, +# but the following are the standard: +# $type = 'say' | 'do' + +C: POKE $string +S: OUCH $string + +S: PING $string +C: PONG $string + +C: BYE $detail + +# The sender sees: +S: BYE $type $detail + +# Any other users that are in a shared channel, or have the sender on a watch list, +# will see: +S: QUIT $sender $type $detail + +$type can be one of: + * closed + * error ($detail = error code?) + * bye ($detail = from BYE) + * ping + * ghost + * kill ($detail = killer) Added: trunk/docs/std/ghost.txt =================================================================== --- trunk/docs/std/ghost.txt 2005-06-25 04:25:22 UTC (rev 817) +++ trunk/docs/std/ghost.txt 2005-06-25 09:17:17 UTC (rev 818) @@ -0,0 +1,22 @@ +During the login phase, if a user receives FAIL IDENT exists.user, +it may attempt to GHOST itself. + +C: GHOST is identical to IDENT, except that if the identifer requested with it +already exists, and has the same IP, it will disconnect the other entity and grant the +identifier to connecting client. + +Usage: + +C: HAVER FooBar/1.2 +S: HAVER example.com Haver::Server/0.08 +C: IDENT bob +S: FAIL IDENT exists.user bob +C: GHOST bob +S: HELLO bob + +# Other people see: +S: QUIT bob ghost + +With the implementation of auth systems, it would be possible for anyone that knows the +password of an account to GHOST it. This is to be defined in related auth.txt file at a +later time.
