|
Re: JAIL: msg#00152org.user-groups.bsd.romanian.rofug.general
On Sat, Sep 25, 2004 at 08:01:03PM +0300, Andrei Constantin C. wrote: > > Salut, > > Am incercat sa instalez jail pe un fbsd 5.2 release. > Totul a mers super, configurarea este: > > #!/bin/sh > D=/usr/local/jail > cd /usr/src > mkdir -p $D > make world DESTDIR=$D > cd etc > make distribution DESTDIR=$D > mount_devfs devfs $D/dev > cd $D > ln -sf dev/null kernel > > si il pornesc cu jail /usr/local/jail/ depressed 81.21.36.62 /bin/sh > Serverul normal are ip 81.21.36.61. Dupa cum vedeti, am incercat sa ii > pun alt ip la jail. > > root@liquidmind:[root]# jail /usr/local/jail/ depressed 81.21.36.62 /bin/sh > # ifconfig > dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 81.21.36.62 netmask 0xffffffff broadcast 81.21.36.62 > ether 00:08:a1:2b:d6:86 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > # ping 81.21.36.61 > ping: socket: Operation not permitted > # > > Poate sa-mi zica si mie ce mai trebuie setat/configurat? > Problema este ca nu sunt local, am access remote, si nu vreau sa-l > crashuiesc. Din cate tin minte, ping are nevoie de raw ip sockets -> nu sunt permise in jail. Foloseste altceva. Sau cauta pe google "freebsd jail ping" Se pare ca ar fi ceva la URL http://www.freebsd.org/cgi/query-pr.cgi?pr=65800 Omul include un patch, nu l-am testat. > Mersi. Cu placere ;) > -- > Best regards, > Andrei > mailto:andreic-Ydd9iQaIzd9U+HvWx87vhQ@xxxxxxxxxxxxxxxx Have fun Alex ------------+------------------------------------------------------- Alex Popa, | "Computer science is no more about computers than razor-EnhvrSxvaSc@xxxxxxxxxxxxxxxx| astronomy is about telescopes" -- E. W. Dijkstra ------------+------------------------------------------------------- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | JAIL: 00152, Andrei Constantin C. |
|---|---|
| Next by Date: | Re: JAIL: 00152, Claudiu Dragalina-Paraipan |
| Previous by Thread: | JAILi: 00152, Andrei Constantin C. |
| Next by Thread: | Re: JAIL: 00152, Claudiu Dragalina-Paraipan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |