LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2012, 10:48 AM   #1
lukanika
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
Trace port usage by client-server service


Hi all, I have a java client that invoke a remote smtps service on opened port 465. I opened this port on my firewall net too, but service goes in timeout error because it can't connect to 25 smtp port. So I opened this port too and now all works fine. Since service manager said me that open 465 port was enough for service usage, sounds strange the port 25 utilization by service; so now I'd like to exactly track packets exchanging between client and server on 25 and 465 doors. How can I do? Thank you.
 
Old 06-28-2012, 03:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
install wireshark and capture the traffic. Or tcpdump which is probably already installed if this is a linux client.
 
Old 07-05-2012, 06:48 AM   #3
lukanika
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks, I resolved by tcpdump
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] TCP server with multiple client connection on the same server port assyrian1 Programming 1 07-16-2011 03:14 AM
NTOP not displaying ssh protocols TCP.UDP Service/Port Usage metallica1973 Linux - Networking 5 01-05-2011 04:11 PM
what is the use of createrepo ? how to configure yum client & server and usage? raviteja_s Linux - General 1 08-05-2010 01:59 AM
C under Linux -Trying to write two port server and 2 port client application NancyT Linux - Server 3 04-17-2009 02:05 AM
How to trace individual process' bandwidth usage wangru Linux - Networking 0 08-24-2004 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration