Results 1 to 8 of 8

Thread: how to see all connections incoming outgoing

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    27

    Default how to see all connections incoming outgoing

    how to see all connections incoming outgoing
    i use eee pc 900 so conky don't show

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by lizdainis View Post
    how to see all connections incoming outgoing
    i use eee pc 900 so conky don't show
    wireshark tcpdump ?
    install conky ?
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  3. #3
    Junior Member
    Join Date
    Feb 2010
    Posts
    27

    Default

    conky - eee pc to small screen to show all

  4. #4
    Very good friend of the forum Gitsnik's Avatar
    Join Date
    Jan 2010
    Location
    The Crystal Wind
    Posts
    851

    Default

    Code:
    netstat -an | less
    Learn the basics.
    Code:
    netstat -an | grep -i tcp | grep ESTABLISHED | less
    Still not underestimating the power...

    There is no such thing as bad information - There is truth in the data, so you sift it all, even the crap stuff.

  5. #5
    Just burned his ISO theluddite's Avatar
    Join Date
    Dec 2008
    Posts
    13

    Default

    I'm not sure what you mean by "conky don't show", but you need to edit your conky config file to show outgoing and incoming connections. Here's the appropriate section from mine:
    ${color red}Port(s)${alignr}#Connections
    $color Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
    ${color red}Inbound Connection ${alignr} Local Service/Port$color
    ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
    ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
    ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
    ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
    ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
    ${color red}Outbound Connection ${alignr} Remote Service/Port$color
    ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
    ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
    ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
    ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
    ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}

  6. #6
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by theluddite View Post
    I'm not sure what you mean by "conky don't show",
    Well the OP made a post and stated why he said that.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  7. #7
    Junior Member
    Join Date
    Feb 2010
    Posts
    27

    Default

    netstat -an | grep -i tcp | grep ESTABLISHED | less <-- i need what thanks
    eee pc screen to small to use conky can't see anything

    thank's for help
    sorry for bad english

  8. #8
    Just burned his ISO theluddite's Avatar
    Join Date
    Dec 2008
    Posts
    13

    Default

    Quote Originally Posted by lizdainis View Post
    conky - eee pc to small screen to show all
    Yes, I totally misunderstood your post. Not to be a jerk, but you mean "conky eee pc screen too small to show all." to != too. It sort of changes the meaning.

Posting Permissions

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