Linuxnode/Awznode

From: Ian Russon (figrywgm.wfnf@room41.net)
Date: Thu Jun 07 2001 - 02:19:01 EEST

  • Next message: Tomi Manninen OH2BNS: "Re: Linuxnode/Awznode"

    Hi there
    With all the moaning going on in GBR about telnet to bbs's over the internet
    and the way the linuxnode/awznode refuse's connects if not regestered
    I decided to add a little bit to the code that may be of interest to some
    people
    I have add the use of a file /etc/ax25/node.deny of which will be read if
    the person trying to get in gets disconnected at the login/password promt
    the 2 patch are below and a quick example as well

    Before you read them please understand i am not a programmer and this is the
    first time i have tryed anything like this so if they clever one's out there
    can clean this up and make it better please do

    Both node's can be seen working at

    Linuxnode---gb7fcr.co.uk
    awznode --- gb7nlw.co.uk

    if you do a failed login you will see what i have done

    regards
    ian
    g7pun

    config.h.diff
    26a
    #define CONF_NODE_DENY_FILE "/etc/ax25/node.deny"
    .

    node.c.diff
    213c
    /*
    * The next 6 Lines add ref to the node.deny file
    */
                    if ((fp = fopen(CONF_NODE_DENY_FILE, "r")) != NULL) {
                    while (fgets(buf, 256, fp) != NULL) axio_puts(buf,NodeIo);
                    axio_puts ("\n",NodeIo);
                    axio_flush(NodeIo);
            }
                    node_msg("\nNode.deny feature added by G7PUN.\n");
    .
     
     
    A small example is below

     
    I have now patched the node software so that it now sends out a sysop
    configurable text file if a user dosent have a password or is locked
    out from the node...
     
    Example node.deny file shown below !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
    You have recived this message for one of TWO reasons
     
    1. This System is ONLY Available to Licenced Radio Amateurs
       You MUST hold a current Amateur Licence to access this system
       and You Need a Password..
     
    2. Or You have annoyed the sysop and are no longer welcome!
       Either way the only way to gain / regain access is with an e-mail.
     
        To obtain password send an E-Mail to rug.husgkko@kistaip.net
        You MUST include the following details..
        Your Callsign
        Your Full Name
        Your Location / Town / City / Country
        Your Post/Zip Code
        Your Present Home BBS
     
        Regards
               SysOp
     
    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to eomtmj@kerailya.tunkki.fi



    This archive was generated by hypermail 2b30 : Thu Jun 07 2001 - 05:14:52 EEST