Re: Resolving MAC address

2005-03-24 Thread Peter Heerboth
One thing you can try if you want to avoid needing super user privileges is to send a small UDP packet to the given IP, which will force the kernel to ARP for the address if it is not already present. Then you can check the routing table through sysctl() by passing in {CTL_NET, PF_ROUTE, 0, AF

Re: circumventing default route through loopback

2005-02-20 Thread Peter Heerboth
A few ideas come to mind. You could trying using a web proxy. Or, if you are running an open source browser, you could try to use the IP_OPTIONS socket option to specify strict source routing and then supply the exact path the packet must take. I would try using a web proxy first. Pete On F

Re: Working on howl port

2004-12-12 Thread Peter Heerboth
I'm not a zeroconf expert per se, but I would love to see FreeBSD have a great zeroconf implementation. Here are some things to think about. If your first implementation happens to leave the interface with a 169.254 IP address, it's doing something it shouldn't, however that is likely to be mo