[CentOS] sshd ipv6 logging in CentOS4

Sean O'Connell oconnell at soe.ucsd.edu
Sun Sep 4 02:06:24 UTC 2005


On Sun, 2005-09-04 at 03:56 +0200, Maciej Żenczykowski wrote:
> >> Turn off IPv6 either just for sshd or for the entire kernel...
> >> I think the following in /etc/modprobe.conf
> >> alias ipv6 off
> >> alias net-pf-10 off
> >> does wonders :)
> >
> > And I got hell from people in LPI when I suggested the next round of the
> > LPIC-1 exams (for 2007+) should test people on how to at least disable
> > IPv6.  ;->
> 
> are you saying the above is wrong?
> [I know there's an /etc/sysconfig/somethingorother file which contains 
> networking settings for IPV6 but I've never managed to get those to 
> actually work]
> Cheers,
> MaZe.

This got me curious. Looking at /etc/sysconfig/network-scripts/ifup-
ipv6, you can control ipv6 from /etc/sysconfig/network.

# Uses following information from "/etc/sysconfig/network":
#  NETWORKING_IPV6=yes|no: controls IPv6 initialization (global setting)
#  IPV6_DEFAULTDEV=<device>: controls default route (optional)
#  IPV6_DEFAULTGW=<address>: controls default route (optional)


-- 
Sean




More information about the CentOS mailing list