-----Original Message-----
From: Michael Rogers <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, June 12, 2001 6:35 AM
Subject: Re: [freenet-tech] PalmOS client and ENCP
>> Name: HELO
>> Options: None
>> Description: Initial greeting used right after connecting.
>> Returns: Hello <ip/domain name> <protocol version> [whatever you want]
>> Errors: BadHello, # Sent unencrypted, then the server cuts the
connection
>> TooManyConnections # Then the server cuts the connection
>
>Avoiding replay DoS attacks:
>The server should reply to a HELO message with HELLO <serial> <ip>
><proto> [etc], where <serial> is the session's serial number. All
>subsequent messages sent by the client should give the serial number as
>the first option. If a message with an old serial number is received,
>the connection should be dropped.
Added.
>
>Weak attempt at node hiding:
>The server should not respond to an invalid HELO. It should continue
>reading data from the stream for a random number of seconds without
>responding, and then drop the connection. This will stop people from
>writing sniffers that send four bytes of random data to a port and
>listen for a 'BadHello'.
This is weak security, but perhaps it should be done with the disclaimer
that this provides no real security. The user's best option is to run the
server on a non-standard port (I'm aiming for 8083 right now).
>
>BTW, why does SMTP (and now ENCP) use HELO instead of HELLO?
I think because in the old days, when there was no such thing as an "SMTP
client" besides telnet, "HELO" was faster to type then "HELLO" (the double-L
can be awkward to type).
_______________________________________________
freenet-tech mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/tech