Author: dylan
Date: 2005-06-22 15:00:19 -0400 (Wed, 22 Jun 2005)
New Revision: 795

Added:
   trunk/docs/ghost.txt
Modified:
   trunk/
   trunk/docs/core.txt
Log:
 [EMAIL PROTECTED]:  dylan | 2005-06-22 14:59:58 -0400
 added ghost idea;
 added listing of errors to core.txt, it covers all the ones Haver::Server can 
return at
 this point.
 



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:1139
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:1141
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238

Modified: trunk/docs/core.txt
===================================================================
--- trunk/docs/core.txt 2005-06-22 18:43:45 UTC (rev 794)
+++ trunk/docs/core.txt 2005-06-22 19:00:19 UTC (rev 795)
@@ -1,34 +1,49 @@
 C: HAVER  Foobar [$supported]
 S: HAVER  example.com  FoobarServer  [$supported]
-C: IDENT  Bob
-S: HELLO  Bob
+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
 
-# making and de-making channels?
+Errors: invalid.name ($channel), unknown.channel ($channel), already.parted 
($channel)
 
-C: OPEN  $channel
-S: OPEN  $channel
-
-C: CLOSE  $channel
-S: CLOSE  $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
 
-# clients may use any word (/^\w+$/) for $type,
+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'
 

Added: trunk/docs/ghost.txt
===================================================================
--- trunk/docs/ghost.txt        2005-06-22 18:43:45 UTC (rev 794)
+++ trunk/docs/ghost.txt        2005-06-22 19:00:19 UTC (rev 795)
@@ -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.


Reply via email to