Results 1 to 5 of 5
  1. #1
    jdizon is offline Member
    Join Date
    Aug 2010
    Posts
    3
    Rep Power
    0

    Default how to log data being sent to another computer

    Hi,

    My project is about logging authentication/authorization success and failure to a computer(1) from authen/authori process being done to another computer(2). I am going to use a hub so that every data sent to comp2 will be send to my computer (comp1) as well, so I can log it.

    The idea is, if comp0 is named Peter and wants to login to comp2, if Peter passes the authentication, comp1 will log:
    1. Time Peter was authenticated: (a timestamp)
    2. Who was authenticated: Peter.
    3. The authentication result: Passed.

    My problem is, is there a java code out there which already does this so I can just use it?

    I'm a complete newbie on networking so hopefully it's just simple and easy as my deadline is also fast approaching.

    Thanks,
    John

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    jdizon is offline Member
    Join Date
    Aug 2010
    Posts
    3
    Rep Power
    0

    Default

    Any kind of log-ins would do. I'm trying to do just two computers right now. comp1 will try to log-in (for example facebook) and comp2 will try to see if the attempt of authentication of comp1 has succeeded and log it.

    There is actually no specification of what kind of log-in is to be done in the project, so I'm hoping to do any kind of log-in that is the easiest to see.

    Thanks!

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Basically you have two options to handle that, but I'm not sure non of the way is readily available. So you've to develop it your self.

    One way is to develop an application to access the system log (event log in Windows) and process it accordingly. Each system log has it's own definition to track the required event.

    The other way is handle the complete scenario using a Java application, which is bit complicated.

  5. #5
    jdizon is offline Member
    Join Date
    Aug 2010
    Posts
    3
    Rep Power
    0

Similar Threads

  1. Replies: 28
    Last Post: 09-15-2010, 11:21 AM
  2. Replies: 0
    Last Post: 03-06-2010, 07:15 PM
  3. I am new, can anyone help me in Computer Vision?
    By howardL in forum Introductions
    Replies: 0
    Last Post: 04-23-2009, 10:37 AM
  4. How to scan your computer for ports in use
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 09:13 PM

Tags for this Thread

Posting Permissions

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