Just a sample of the Echomail archive
Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.
|    BINKD    |    Support for the Internet BinKD mailer    |    8,958 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 7,609 of 8,958    |
|    Michael Dukelsky to Oli    |
|    Perl on_handshake(): @me contains no val    |
|    09 Sep 21 11:54:22    |
   
   REPLY: 2:280/464.47 6139bf14   
   MSGID: 2:5020/1042 6139cbbf   
   CHRS: CP866 2   
   TZUTC: 0300   
   TID: hpt/lnx 1.9.0-cur 2021-04-18   
   Hello Oli,   
      
   Thursday September 09 2021, Oli wrote to Michael Dukelsky:   
      
    Ol>>> HELP! ;)   
    Ol>>> I'm trying to use the @me array in on_handshake(), but no matter   
    Ol>>> what I do I always get the error:   
      
    Ol>>> "Perl on_handshake(): @me contains no valid addresses"   
      
    Ol>>> even with this simple sub:   
      
    Ol>>> sub on_handshake   
    Ol>>> {   
    Ol>>> @me;   
    Ol>>> }   
      
    MD>> I've never used this hook but as far as I understand you have to   
    MD>> put the AKAs you want to present to the @me array. The array in   
    MD>> your sub contains no addresses, so you receive the error message.   
      
    Ol> The side effects are a bit confusing:   
      
    Ol> sub on_handshake   
    Ol> {   
    Ol> Log(3, "<<< on_handshake() >>>");   
    Ol> }   
      
    Ol> sub after_handshake   
    Ol> {   
    Ol> Log(3, "<<< after_handshake() >>> @me");   
    Ol> }   
      
      
    Ol> + 08:43 [1459] outgoing session with 127.0.0.1:24554   
    Ol> - 08:43 [1459] <<< on_handshake() >>>   
    Ol> + 08:43 [1459] Perl on_handshake(): @me contains no valid addresses   
    Ol> - 08:43 [1459] OPT CRAM-MD5-fffdf8c077e8c9b94ce2e83d8da0a8ee   
    Ol> [...]   
    Ol> - 08:43 [1459] session in CRYPT mode   
    Ol> - 08:43 [1459] <<< after_handshake() >>> 2000:1/2@fakenet   
    Ol> 4000:1/1@testnet   
      
      
    Ol> I'm not sure if this is considered to be expected behavior or a bug?   
      
   Well, from my POV the binkd behavior looks logical here. If you specified the   
   values of the @me array, then only the AKA specified in that array would be   
   presented. Since you did not specify any values in @me, binkd presented all of   
   your AKAs during the handshake. In after_handshake() hook, you see the AKAs   
   that were presented during the handshake.   
      
   "Perl on_handshake(): @me contains no valid addresses" is here rather not an   
   error message but a warning.   
      
   Michael   
      
   ... node (at) f1042 (dot) ru   
   --- GoldED+/LNX 1.1.5-b20180707   
    * Origin: Moscow, Russia (2:5020/1042)   
   SEEN-BY: 1/123 14/0 50/109 90/1 105/81 114/709 120/340 123/131 129/305   
   SEEN-BY: 153/757 154/10 218/840 221/1 6 226/30 227/114 229/200 424   
   SEEN-BY: 229/426 550 664 700 1017 240/5832 249/109 206 307 317 280/5555   
   SEEN-BY: 282/1038 292/854 301/1 322/757 335/364 342/200 463/68 467/888   
   SEEN-BY: 633/280 770/1 4500/1 5000/111 5001/100 5005/49 5020/828 846   
   SEEN-BY: 5020/1042 2047 2140 4441 5053/57 5064/56 5080/68 102 5083/444   
   PATH: 5020/1042 221/6 229/664 426   
      
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca