ORBit regards the local requests from Java Applications as external requests
Jeff Cai <[email protected]> Mon, 14 Apr 2008 17:53:01 +0800
| Newsgroups | gmane.comp.gnome.orbit.general |
|---|---|
| Message-ID | <1208166781.2013.14.camel@par> |
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