Hey all  -
    
We patched mijail5 (http://garage.freebsd.pl/mijail.README) against
RELENG_5_1. Most of the patch was successful with a little fuzz, except  for
a couple lines in jls which didn't patch due to cosmetic changes (easily
fixed). 
    
Before the patch was applied, the jail environment had no problem with dns.
After the patch was applied  however (and userland rebuilt both on host and
jail), dns breaks in the jail environment. Basically, gethostbyname  fails
and h_errno is set to 2 - Host name lookup failure. the system is configured
properly, since the only changes  are to the kernel and the modified jail
mechanism. Also interesting is that the failure is immediate, there is no
timeout. 
  
However, inbound/outbound TCP traffic is not effected. - we are able to ssh
in/out of the jailed environment. 
I was testing outbound UDP traffic however - simple matter of binding a
socket to send a packet to a remote host. 
  
Outside the jail, it worked fine. inside the jail, sendto failed with a
EINVAL error. 
  
Any help on this topic would be much appreciated. 


-Mike 


PS: I apologize for the cross-post to the freebsd-hackers and
freebsd-questions lists... Need to get this box up ASAP and this is a major
setback.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003
 

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to