ORBit regards the local requests from Java Applications as external requests



Hi, 
please see bug http://bugzilla.gnome.org/show_bug.cgi?id=527128

In A11y, java applications communicates with at-spi-registryd through
orbit which uses IPv4. To ensure safety, we configure orbit
in /etc/orbitrc by adding three lines:

ORBIIOPIPv4=1
ORBLocalOnly=1
ORBIIOPIPName=127.0.0.1

However, sometimes orbits will regards some local requests of java
applications (with 127.0.0.1 in ip header field) as external requests.
In that case, all communication with at-spi-registryd are blocked by
orbit.

The patch can solve the issue by comparing incoming address with
"127.0.0.1" for IPv4 and "::1" for IPv6.

Jeff







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