andreas, i have implemented two new functions from_peer and to_peer that based on two db tables check if request comes or goes from/to a (trusted) peer, but they may be too specific for my environment. -- juha