Net:TFTPd questions - Want to upload configs via TFTP

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default Net:TFTPd questions - Want to upload configs via TFTP

    I am writing a script that will log into my network equipment and backup
    the configurations to a TFTP server. Since I don't want the security
    risk of a TFTP server running all the time, I want to create a TFTP
    server when the script starts and destroy it when I am done. My problem
    is that the Net::TFTPd module does not seem to process any of the
    requests. Issuing a "netstat -a" does show a socket created on port 69,
    but nothing else. The script times out and dies. Is that module
    compatible with current versions of perl, since it was written for perl
    5.006?

    Has anyone else done this or had experience trying to do this? I am
    running perl under RedHat Enterprise Linux 4. Suggestions or actual
    code would be helpful and appreciated.

    Thanks,

    Chris G.
    cgauthie^gmail(dot)com

    Chris G. Guest

  2. Similar Questions and Discussions

    1. Net::Server -> tftpd ?
      Hello, did anybody allready try to bulid a tftpd or anything else that needs more "Socket Fine tuning" on the Net::Server/Net::Server::UDP modules?...
    2. TFTP CLient
      So I've searched the internet a bit looking for this, but haven't been able to find it. I'm hoping one of you can point me in the right direction....
    3. how to reference assemblies from web.configs in subdirs?
      Hello, I was wondering how I can reference assemblies from web.config files residing in subdirectories without having to create a new project for...
    4. multiple net configs on laptop
      I'm running into divergent opinions and advice... Here's the background info and problem: Laptop with XP Pro configured to logon a Domain at one...
    5. solaris 8 oe - TFTP showing on scan but from where??
      Hi all We have a Solaris 8 OE system. Pre-launch scanning showed TFTP to be running. Neither /etc/inetd.conf or /etc/inet/inetd.conf have the...
  3. #2

    Default Re: Net:TFTPd questions - Want to upload configs via TFTP


    "Chris G." <nospam@example.com> wrote in message
    news:44bfaf61$0$17960$892e7fe2@authen.yellow.readf reenews.net...
    > I am writing a script that will log into my network equipment and backup
    > the configurations to a TFTP server. Since I don't want the security
    > risk of a TFTP server running all the time, I want to create a TFTP
    > server when the script starts and destroy it when I am done. My problem
    > is that the Net::TFTPd module does not seem to process any of the
    > requests.
    Does that mean the client cannot even connect to the server ? I assume so,
    since, for the connection to be created, the server needs to process at
    least one request (namely, the request from the client for a connection).

    For the purpose of testing it would be best to create a server that just
    sits there and waits for a connection. Once you can get a client to connect
    to that server then you know you're making progress. Once you've finished
    your testing, manually kill the server, and *then* start messing about with
    the short-lived server. (Nothing more annoying than trying to troubleshoot a
    client connection to a server that continually needs to be re-started.)
    > Issuing a "netstat -a" does show a socket created on port 69,
    > but nothing else. The script times out and dies. Is that module
    > compatible with current versions of perl, since it was written for perl
    > 5.006?
    It's unlikely ... though there's always the possibility that a bug
    (introduced in perl 5.008) is preventing things from working properly. Do
    you know for sure that this module worked with perl 5.006 ? The test script
    that ships with the module doesn't test anything other than the loadability
    of the module itself. That script is next to useless when it comes to
    testing the functionality of the module.
    >
    > Has anyone else done this or had experience trying to do this? I am
    > running perl under RedHat Enterprise Linux 4. Suggestions or actual
    > code would be helpful and appreciated.
    >
    There's one bug reported at
    [url]http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-TFTPd[/url] (with a workaround).
    Difficult to say whether that bug/workaround is relevant to your problem or
    not.

    If you supply *minimal* server and client test scripts that demonstrate the
    problem you stand a better chance of finding a solution.

    Cheers,
    Rob


    Sisyphus Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139