Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sdeakin

  1. sdeakin

    Packet Sniffing in a Switched Enviroment

    If your switch does not support mirroring or spanning there may be other options - on inexpensive switches I use a suite of tools called 'dsniff'. These allow you to poison or flood the arp cache of the switch, so it acts like a hub or forwards traffic to your machine. It it likely to impact...
  2. sdeakin

    backgrounding scp command

    The problem is not putting the command in the background, but that you are prompted for a password - SSH and SCP allow you to run them without passwords, but you need to have your public key on the target server. Can you give me some more info on why it did not work? Basically if you can SSH...
  3. sdeakin

    backgrounding scp command

    Hi, You need to create a public/private keypair first, then copy your public key over to the server. If sshd is configured correctly it will use these to verify you. so on the client machine: ssh-keygen -t dsa you then have a file called ~/.ssh/id_dsa.pub copy this file to the account on...
  4. sdeakin

    how to find the time in seconds since the Epoch (00:00:00

    Hey great minds and all that! :)
  5. sdeakin

    how to find the time in seconds since the Epoch (00:00:00

    perl -e 'print time' should do the trick. On some versions of *nix you can use the 'date +%s' command, however it appears solaris 8.0 does not work. Scotty
  6. sdeakin

    Can anyone tell me how to parse HTML for anchor tag info

    Have a look at HTML::TreeBuilder - it allows you to break down a HTML page into it's components http://search.cpan.org/author/SBURKE/HTML-Tree-3.18/lib/HTML/TreeBuilder.pm HTH, Scotty
  7. sdeakin

    ftp server issues and questions, please reply...

    Hi John, It sounds to me like you want the users to be able to browse the FTP site - why don't you just allow directory browsing for the directories you want FTP access to? You can then limit control to those directories, much like FTP login access. Most browsers will prompt you to enter a...
  8. sdeakin

    Whats the easiest way to delete an existing key?

    They are both do public key encryption, but in different ways - if my memory serves - DSA makes use of the discrete logarithm problem and RSA makes use of some esoteric number theory. I think DSA is only used for signatures (so my comment about encryption is not quite correct)
  9. sdeakin

    Whats the easiest way to delete an existing key?

    Farley, # ssh-keygen -p this will try to change the passphrase on an existing key - not create a new one.... Maybe you want to try something like: # ssh-keygen -t dsa Scotty
  10. sdeakin

    Transmitting different data types through a socket

    If you are looking at sending human readable numbers down the wire, then you could do a sprintf(buffer, '%d', ...) and then shove the contents of buffer down the wire. You need to think about how to tell the other end that you are about to send an integer down the wire and then send the raw...
  11. sdeakin

    I have a high-speed connection with

    on the linux machine do the following: tcpdump eth0 and then plug in the laptop and see what network traffic you get - it'll be a starting point for suggestions. You can probably use 'netmon' on the XP machine if you prefer. Either way you want to know what the laptop is pushing onto the...
  12. sdeakin

    SendMail Does not Relay

    Hi Rakesh, Try and telnet directly from the w2k machine to the relay and see what happens: telnet mailrelay 25 If that does not work, try pinging it to make sure it really is reachable. It just sounds like a network connectivity problem from what you have said. Scotty.
  13. sdeakin

    How to change a script code

    I gather when you referred to 'view the source' you mean HTML source. The OS and Web server would still be usefull at this stage. However you should still try searching your filesystem for the 'somename.cgi' file - i.e. find /usr -name 'somename.cgi' or find /opt -name 'somename.cgi' Scotty
  14. sdeakin

    Setting up CryptSSL with openssl

    The problem you will have with the builtin stuff is that you really need to rely on ActiveState to build PPM's for everything you need - I am working on something that requires DBI modules for the Firebird database - which is not exactly commonplace - so we had no choice but to compile it...
  15. sdeakin

    sorting 2 arrays and maintaining relating indices

    Hi Pat, I would be inclined to store my data as a multi-dimensional array first - i.e. my @data = ( [ 10234532, 'email information'], [ 10235432, 'another email'], [ 20345234, 'yet another email'] ) then you can sort on time as follows: @sorted = sort {$a->[0] <=>...

Part and Inventory Search

Back
Top