Hi:[code]
[root@vpn2 ~]# uname -a
Linux vpn2 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006 i686 i686 i386 GNU/Linux
[root@vpn2 ~]# cat /etc/issue
CentOS release 4.3 (Final)
Kernel \r on an \m
[root@vpn2 ~]# netstat -atn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 :::443 :::* LISTEN
tcp 0 608 ::ffff:*****:22 ::ffff:113.205.168.20:57357 ESTABLISHED
[root@vpn2 ~]# w
22:47:39 up 3 days, 6:27, 1 user, load average: 0.05, 0.01, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 113.205.168.201 (my address) 22:47 0.00s 0.03s 0.00s w
[/code]
I can't see full ip address(113.205.168.201) in the output of netstat command.
why?
In some ipage it says there is a relationship with ipv6 output of the ffff string. So how to stop the ipv6?
Thank you!
[Moderator edit: Added [i]code[/i] tags to preserve formatting.]
about netstat and ipv6
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: about netstat and ipv6
Welcome to the CentOS fora. The following reading is recommended for new users:
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14274&forum=47]Readme First[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47]Where to Find Answers[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How to provide information about your system[/url]
First thing to do is update to 4.8 and a current kernel. Obsolete releases are not supported and you are [b]way[/b] behind on bug-fix and security patches.
As far as IPv6 - best I can point to is the CentOS-5 [url=http://wiki.centos.org/FAQ/CentOS5#head-47912ebdae3b5ac10ff76053ef057c366b421dc4]FAQ #8. How do I disable IPv6?[/url]
Not sure exactly how different CentOS-4 is in that respect as all my systems are at 5.
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14274&forum=47]Readme First[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47]Where to Find Answers[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How to provide information about your system[/url]
First thing to do is update to 4.8 and a current kernel. Obsolete releases are not supported and you are [b]way[/b] behind on bug-fix and security patches.
As far as IPv6 - best I can point to is the CentOS-5 [url=http://wiki.centos.org/FAQ/CentOS5#head-47912ebdae3b5ac10ff76053ef057c366b421dc4]FAQ #8. How do I disable IPv6?[/url]
Not sure exactly how different CentOS-4 is in that respect as all my systems are at 5.
about netstat and ipv6
[quote]
pschaff wrote:
Not sure exactly how different CentOS-4 is in that respect as all my systems are at 5.[/quote]
In CentOS-4, adding a line "alias net-pf-10 off" to /etc/modprobe.conf followed by a reboot is all that's necessary as seen in:
http://www.centos.org/modules/newbb/viewtopic.php?forum=18&topic_id=613
(note #4)
pschaff wrote:
Not sure exactly how different CentOS-4 is in that respect as all my systems are at 5.[/quote]
In CentOS-4, adding a line "alias net-pf-10 off" to /etc/modprobe.conf followed by a reboot is all that's necessary as seen in:
http://www.centos.org/modules/newbb/viewtopic.php?forum=18&topic_id=613
(note #4)
Re: about netstat and ipv6
Thank you!
If I don't disable ipv6,How to make the command netstat output shows the complete ip address?
Thank you !
If I don't disable ipv6,How to make the command netstat output shows the complete ip address?
Thank you !