[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bigsister-general] bs0.99b2 udp pings and uxmon-asroot issues


Hi,
On Tuesday 14 September 2004 11:24, Nathan Butcher wrote:
> I assume that UDP pings don't work unless the client actually has an echo
> port open for it (or some kind of module). I'm trying to UDP ping a windows
> machine and it's failing. Any ideas how to get UDP pings working on
> Linux/Solaris?
Pinging by udp expects an icmp error "port unreachable" from the final host to 
determine, if the host is up.
It is possible, that your windows machine does not allow outgoing icmp 
messages.
It is also possible, that microsoft ignores the standard here, but i don't 
know for sure ;)
In both cases, the udp ping will simply time out without an accurate response.
There also can be an application listening behind the chosen port, but that's 
unlikley.

> Failing that I'm getting ICMP pinging to work, but ONLY if I start
> bigsister as root (which I'm not comfortable with). If I try and start
> bigsister as an unprivileged user, bs starts but gets stuck trying to load
> the uxmon-asroot config... it just sits there leaving me to wait forever
> for OK to appear (which never happens). Running as root doesn't give me
> this problem, but leaves me wondering "why bother?" when I have to run as
> root to (unsurprisingly) just to run ICMP pings as root.

To build icmp packets, root privileges are necessary.
Possibly a permission problem with your uxmon-asroot file?
Try make a simple uxmon-asroot and try again. For me, it's working without
any problems.

$> cat uxmon-asroot
# uxmon-asroot
DEFAULT proto=icmp ping
pingme ping
# EOF
$> tail -2 uxmon-net
include uxmon-asroot
# EOF

regards,
andreas


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.