[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 00398) Re: Fwd: Trouble with USAGI kernel 2.4
Both ping6 and traceroute6 need to be suid-root for normal users to be
able to use them, and I don't believe that Redhat 7.0 shipped with these
programs having the suid bit set. Are you able to do ping6 as root?
-Nathan
On Fri, 6 Apr 2001, Petr Adamec wrote:
> I have a trouble with the USAGI kernel 2.4 on my Linux RedHat 7.0. Programs
> using IPv6 are not able to bind sockets - for example ping6:
>
> ping6 -n 3ffe:2280:4:101:a0:c9ff:fe95:c8af
> ping6: bind icmp socket: Invalid argument
>
> The strace output for the ping6 ends with following lines:
>
> socket(PF_INET6, SOCK_DGRAM, 0) = 4
> connect(4, {sin_family=AF_INET6, sin6_port=htons(1025), inet_pton(AF_INET6,
> "3ffe:2280:4:101:a0:c9ff:fe95:c8af", &sin6_addr), sin6_flowinfo=htonl(0)}},
> 28) = 0
> getsockname(4, {sin_family=AF_INET6, sin6_port=htons(32772),
> inet_pton(AF_INET6, "fe80::210:4bff:feb0:5844", &sin6_addr),
> sin6_flowinfo=htonl(0)}}, [28]) = 0
> close(4) = 0
> bind(3, {sin_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6,
> "fe80::210:4bff:feb0:5844", &sin6_addr), sin6_flowinfo=htonl(0)}}, 28) = -1
> EINVAL (Invalid argument)
> write(2, "ping6: ", 7ping6: ) = 7
> write(2, "bind icmp socket", 16bind icmp socket) = 16
> write(2, ": ", 2: ) = 2
> write(2, "Invalid argument\n", 17Invalid argument
> ) = 17
> _exit(2) = ?
> [root@oxo ping6]#
>
>
> Have You any idea how to solve my problem?
>
> Sincerely Petr Adamec
>
> P.S. Kernel configuration is in attachement.
>
--
+-------------------+---------------------+------------------------+
| Nathan Lutchansky | lutchann@xxxxxxxxxx | Lithium Technologies |
+------------------------------------------------------------------+
| I dread success. To have succeeded is to have finished one's |
| business on earth... I like a state of continual becoming, |
| with a goal in front and not behind. - George Bernard Shaw |
+------------------------------------------------------------------+