Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

JCIFS access

Mohan Radhakrishnan
Occasional Contributor

JCIFS access

We have been using JCIFS from Windows to access Windows shares quite successfully and we know the JCIFS java library has a way to dump the packets.

Now we would like to connect from Unix to Windows and we are facing a problem.

What are the HP-UX native tools that one can use to dump and debug a JCIFS access ?

2 REPLIES
Mohan Radhakrishnan
Occasional Contributor

Re: JCIFS access

I just found that this closed thread refers to network tracing and logging.

http://h30499.www3.hp.com/t5/Networking/Install-tcpdump-for-hp-ux-rx-6600/m-p/5281836#M54724


Can I use it to trace SMB authentication failures when I use JCIFS ?

Matti_Kurkela
Honored Contributor

Re: JCIFS access

JCIFS documentation seems to recommend tcpdump:
http://jcifs.samba.org/src/docs/capture.html

Tcpdump is available for HP-UX: for versions 11.23 and 11.31, you'll find it in the Internet Express package, which should be included in your HP-UX installation media kit, and is also downloadable for free from http://software.hp.com.

Internet Express for HP-UX 11.11 is no longer available, but you can find tcpdump in the Porting Archive too:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/tcpdump-4.1.1/

NOTE: before installing tcpdump from the Porting Archive, you must install its run-time dependencies (libpcap and openssl packages from the Porting Archive).

JCIFS documentation talks about Ethereal: it has been renamed to Wireshark. It is available at:
http://wireshark.org

My recommendation for serious network traffic analysis on HP-UX is to install tcpdump to capture the packets you need into a file on HP-UX, then move the capture file to your own workstation (e.g. a Windows host) and run Wireshark on it to examine the dumped packets. For simple cases, tcpdump alone might be enough.

If you are not allowed to install anything on the HP-UX host, you might use nettl, the HP-UX native network traffic dump tool:

http://www.compute-aid.com/nettl.html

Wireshark can read nettl dumps too.

MK
MK