From owner-freebsd-isp Sun Dec 31 7:27: 6 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 07:27:03 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from runner.jjsoft.com (unknown [208.152.114.19]) by hub.freebsd.org (Postfix) with ESMTP id 40DCC37B400; Sun, 31 Dec 2000 07:27:03 -0800 (PST) Received: from runner (ns2.jjsoft.com [208.152.114.19]) by runner.jjsoft.com (8.9.0/8.9.0) with SMTP id JAA15926; Sun, 31 Dec 2000 09:46:42 -0600 (CST) Date: Sun, 31 Dec 2000 09:46:42 -0600 (CST) From: Jahanur R Subedar X-Sender: jahanur@runner To: freebsd-questions@freebsd.org Cc: freebsd-isp@freebsd.org Subject: How to find the time.... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Folks, I am trying to find the time of when a particular command was executed. We ussually use c shell and the history command only tells the what command was executed. It is important for us to find the time of a particular user when it was executed. Is there any log file foruser activity or this kind. Or Is there anyway to find this? Thanks in advance. Jahanur R Subedar WWW.JJSOFT.COM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 8: 6:42 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 08:06:38 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by hub.freebsd.org (Postfix) with ESMTP id 8177E37B400; Sun, 31 Dec 2000 08:06:37 -0800 (PST) Received: from localhost (ghelmer@localhost) by magellan.palisadesys.com (8.11.0/8.11.0) with ESMTP id eBVG6PS17955; Sun, 31 Dec 2000 10:06:25 -0600 Date: Sun, 31 Dec 2000 10:06:25 -0600 (CST) From: Guy Helmer To: Jahanur R Subedar Cc: freebsd-questions@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG Subject: Re: How to find the time.... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 31 Dec 2000, Jahanur R Subedar wrote: > Hi Folks, > I am trying to find the time of when a particular command was executed. > We ussually use c shell and the history command only tells the what > command was executed. It is important for us to find the time of a > particular user when it was executed. Is there any log file foruser > activity or this kind. > Or Is there anyway to find this? If you have process accounting enabled (accounting="YES" in /etc/rc.conf), each program executed is logged in the binary file /var/account/acct (which is automatically rotated dailiy). Information in the acct file may be listed with the lastcomm(1) command. Note that the information may not be as trustworthy as it appears. For example, a user may create a symbolic link pointing to a program, and the program name recorded in lastcomm will be the name of the link, not that name of the actual program executed. Guy -- Guy Helmer, Ph.D. Sr. Software Engineer, Palisade Systems --- ghelmer@palisadesys.com http://www.palisadesys.com/~ghelmer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 8:49:35 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 08:49:33 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from fargo.cisco.com (fargo.cisco.com [171.70.170.202]) by hub.freebsd.org (Postfix) with ESMTP id 8956C37B400 for ; Sun, 31 Dec 2000 08:49:33 -0800 (PST) Received: from localhost.cisco.com (sbng-isdn1.cisco.com [171.70.160.147]) by fargo.cisco.com (8.8.6 (PHNE_17190)/CISCO.SERVER.1.2) with SMTP id IAA03879 for ; Sun, 31 Dec 2000 08:49:31 -0800 (PST) Received: (qmail 9645 invoked by uid 500); 31 Dec 2000 16:49:30 -0000 Date: Mon, 1 Jan 2001 00:49:30 +0800 From: "Seo Boon, NG" To: Vincent Poy Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Dynamic routing reference sites Message-ID: <20010101004930.A9470@cisco.com> Mail-Followup-To: "Seo Boon, NG" , Vincent Poy , freebsd-isp@FreeBSD.ORG References: <20001229184935.A44354@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from vince@oahu.WURLDLINK.NET on Sat, Dec 30, 2000 at 01:40:02AM -1000 Organization: http://www.employees.org/~sbng/pgp.txt X-OS: Linux 2.2.17 i686 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Wrote Vincent Poy on Sat, Dec 30, 2000 at 07:40:02PM SGT | =20 | yeah, they don't but doesn't AboveNet peer with everyone, it seems | like it will take a few gigs of routes for those. you typically do not get anything close to a full view when you peer. A peer only announce itself and it's customer. Hence, u can have many peers but it= 's rarely that u'll see 'gigs' of routes for all the peers. --=20 SB http://www.employees.org/~sbng/pgp.1024.txt Key fingerprint =3D 24 C5 2A 9A 70 19 05 C1 87 26 3E 8A 83 91 CE 3E=20 --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: pgpk -a http://www.employees.org/~sbng/pgp.txt iQB1AwUBOk9jmiyqothw2KjVAQHuZwL+PQnd4Oh3gKXl68+yHdEvyDs96fcZf1gA s0VkdyyiemtAMnlRXao2GlAurhuyYxZEu6TVH0xje+iEScH20hOdxwgCpV6+nO7U 0+b1Qv0EmmtCEbFNTXLxNLwZisFD2MGt =WUka -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 9:31:56 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 09:31:54 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id B5BAC37B400 for ; Sun, 31 Dec 2000 09:31:53 -0800 (PST) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id 43B1E3E59; Sun, 31 Dec 2000 18:31:52 +0100 (CET) Date: Sun, 31 Dec 2000 18:31:52 +0100 From: Jesper Skriver To: Vincent Poy Cc: Jeroen Ruigrok/Asmodai , Christian Kratzer , Warren Welch , freebsd-isp@FreeBSD.ORG Subject: Re: Dynamic routing reference sites Message-ID: <20001231183152.A68613@skriver.dk> References: <20001230151543.A27587@skriver.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from vince@oahu.WURLDLINK.NET on Sat, Dec 30, 2000 at 03:52:59PM -1000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Dec 30, 2000 at 03:52:59PM -1000, Vincent Poy wrote: > On Sat, 30 Dec 2000, Jesper Skriver wrote: > > A Cisco router carrying full routing today really need 256 MB of memory, > > it can just be in 128 MB of memory, but that's VERY tight. > > Yeah but what I mean is that's probably with very few peers. What > happened if you had like a lot of peers? -- quote -- How Much Memory Does Each BGP Route Consume? Each Border Gateway Protocol (BGP) entry takes about 240 bytes of memory in the BGP table and another 240 bytes in the IP routing table. Each BGP path takes about 110 bytes. Under normal circumstances, memory utilization depends on the following three factors: number of prefixes (240 bytes per prefix) number of routes (240 bytes per route) number of alternate paths (110 bytes per alternate path) As an example, let's say you're receiving 50,000 prefixes from four BGP neighbors, and all of them make it into the routing table: BGP table: 50000 * 240 = 12,000,000 bytes Routing table: 50000 * 240 = 12,000,000 bytes Alternate paths: 50000 * 110 * 4 = 22,000,000 bytes In this case, you'll need approximately 46 MB of RAM, not counting the RAM needed to support Cisco IOS Software, Interior Gateway Protocols (IGPs), and so on. -- unquote -- The above is over estimated as not all routes will have different AS paths, the below is from a router taking 4 full views + some partial views. BGP table version is 34619196, main routing table version 34619196 115916 network entries and 345514 paths using 23334608 bytes of memory 75815 BGP path attribute entries using 3639120 bytes of memory 471 BGP rrinfo entries using 11304 bytes of memory 60418 BGP AS-PATH entries using 1502272 bytes of memory 379 BGP community entries using 10516 bytes of memory 98416 BGP route-map cache entries using 1574656 bytes of memory Dampening enabled. 290 history paths, 72 dampened paths BGP activity 794102/678186 prefixes, 23640513/23294999 paths > And a question, on a Cisco > router, does the following basically do the route announcements? > > router bgp > bgp dampening BGP dampning has nothing to do with announcing routes, go read the documentation, it's public available. > network x.x.x.x > > So basically it will announce the network x.x.x.x to the upstream > provider with my ASN on it and then the upstream will automatically add > their AS to it when it announces up another level? Yes, this is how BGP works. /Jesper -- Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 Work: Network manager @ AS3292 (Tele Danmark DataNetworks) Private: Geek @ AS2109 (A much smaller network ;-) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 14:56:46 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 14:56:44 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from puck.firepipe.net (poynting.physics.purdue.edu [128.210.146.58]) by hub.freebsd.org (Postfix) with ESMTP id E987B37B400; Sun, 31 Dec 2000 14:56:43 -0800 (PST) Received: from argon.firepipe.net (pm004-033.dialup.bignet.net [64.79.80.177]) by puck.firepipe.net (Postfix) with ESMTP id 2C6591B37; Sun, 31 Dec 2000 17:56:43 -0500 (EST) Received: by argon.firepipe.net (Postfix, from userid 1000) id 7DF2C19DB; Sun, 31 Dec 2000 17:52:01 -0500 (EST) Date: Sun, 31 Dec 2000 17:52:01 -0500 From: Will Andrews To: Guy Helmer Cc: Jahanur R Subedar , freebsd-questions@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG Subject: Re: How to find the time.... Message-ID: <20001231175201.H305@argon.firepipe.net> Reply-To: Will Andrews References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ghelmer@palisadesys.com on Sun, Dec 31, 2000 at 10:06:25AM -0600 X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: will@argon.firepipe.net Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Dec 31, 2000 at 10:06:25AM -0600, Guy Helmer wrote: > Note that the information may not be as trustworthy as it appears. For > example, a user may create a symbolic link pointing to a program, and the > program name recorded in lastcomm will be the name of the link, not that > name of the actual program executed. That could be changed a la sudo. -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 15:23:18 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 15:23:14 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from hawk-systems.com (unknown [161.58.152.235]) by hub.freebsd.org (Postfix) with ESMTP id C5A2437B400 for ; Sun, 31 Dec 2000 15:23:13 -0800 (PST) Received: from server0 (cr901664-a.pr1.on.wave.home.com [24.112.146.66]) by hawk-systems.com (8.8.8) id QAA84972 for ; Sun, 31 Dec 2000 16:21:49 -0700 (MST) From: "Dave VanAuken" To: Subject: Jail problems Date: Sun, 31 Dec 2000 18:29:41 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <20001231183152.A68613@skriver.dk> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 4.1.1 on intel box fresh install with all libs had to do make world to get all mappings correct (was getting problems finding some files during the make processes for the jail setup. following the man pages have the jail setup once created we start the jail and begin to setup environment... jail start command (as in man page) jail /usr/home/lcadmin testhostname 192.168.1.111 /bin/sh set some environment variables with sysinstall in the jail **problem 1: cannot set root password for jail - get "Mismatch; try again, EOF to quit." continuously dumped to the screen... have to reboot. skipping that problem... we set accounts, timezone, etc... not installing any packages yet add ip address to NIC... ifconfig... as in man for jail mount the file system as in man run jail command as in man jail /usr/home/lcadmin testhostname 192.168.1.111 /bin/sh /etc/rc do a ps to ensure the jailed processes are running... yes **problem 2: cannot ping to IP address from host machine, cannot connect to IP address via telnet - get "All Network ports in use" from other machines and "time out" from host machine not sure what the problem is... ifconfig shows the aliased IP address, df shows the mapped file system, ps shows the jailed processes... appreciate any assistance, output from the jail command listed below. Dave nx1# jail /usr/home/lcadmin testhostname 192.168.1.111 /bin/sh /etc/rc Skipping disk checks ... adjkerntz[1476]: sysctl(set_disrtcset): Operation not permitted dmesg: /dev/mem: No such file or directory Doing initial network setup:. ifconfig: ioctl (SIOCDIFADDR): permission denied ifconfig: ioctl (SIOCDIFADDR): permission denied xl0: flags=8843 mtu 1500 inet6 fe80::250:daff:fe66:8f4c%xl0 prefixlen 64 scopeid 0x1 inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:50:da:66:8f:4c media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UT P 10baseT/UTP 100baseTX lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa inet6 ::1 prefixlen 128 route: socket: Operation not permitted Additional routing options: tcp extensions=NOsysctl: net.inet.tcp.rfc1323: Opera tion not permitted TCP keepalive=YESsysctl: net.inet.tcp.always_keepalive: Operation not permitted . routing daemons:. chflags: /dev/tty[pqrsPQRS]*: No such file or directory chmod: /dev/tty[pqrsPQRS]*: No such file or directory chown: /dev/tty[pqrsPQRS]*: No such file or directory additional daemons: syslogdsyslogd: child pid 1561 exited with return code 1 . Doing additional network setup:. Starting final network daemons:. setting ELF ldconfig path: /usr/lib /usr/lib/compat setting a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout starting standard daemons: inetd cron sendmail. Initial rc.i386 initialization:. rc.i386 configuring syscons: blank_time/etc/rc.i386: cannot open /dev/ttyv0: no such file . additional ABI support:. Local package initialization:. Additional TCP options:. Sun Dec 31 16:55:09 MST 2000 nx1# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 15:33: 9 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 15:33:06 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from oahu.WURLDLINK.NET (oahu.WURLDLINK.NET [216.235.52.1]) by hub.freebsd.org (Postfix) with ESMTP id 8FFBA37B400 for ; Sun, 31 Dec 2000 15:32:59 -0800 (PST) Received: from localhost (vince@localhost) by oahu.WURLDLINK.NET (8.9.3/8.9.3) with ESMTP id NAA06519; Sun, 31 Dec 2000 13:31:48 -1000 (HST) (envelope-from vince@oahu.WURLDLINK.NET) Date: Sun, 31 Dec 2000 13:31:47 -1000 (HST) From: Vincent Poy To: Jesper Skriver Cc: Jeroen Ruigrok/Asmodai , Christian Kratzer , Warren Welch , Subject: Re: Dynamic routing reference sites In-Reply-To: <20001231183152.A68613@skriver.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 31 Dec 2000, Jesper Skriver wrote: > On Sat, Dec 30, 2000 at 03:52:59PM -1000, Vincent Poy wrote: > > On Sat, 30 Dec 2000, Jesper Skriver wrote: > > > A Cisco router carrying full routing today really need 256 MB of memory, > > > it can just be in 128 MB of memory, but that's VERY tight. > > > > Yeah but what I mean is that's probably with very few peers. What > > happened if you had like a lot of peers? > > -- quote -- > How Much Memory Does Each BGP Route Consume? > > Each Border Gateway Protocol (BGP) entry takes about 240 bytes of memory > in the BGP table and another 240 bytes in the IP routing table. Each BGP > path takes about 110 bytes. > > Under normal circumstances, memory utilization depends on the following > three factors: > > number of prefixes (240 bytes per prefix) > > number of routes (240 bytes per route) > > number of alternate paths (110 bytes per alternate path) > > As an example, let's say you're receiving 50,000 prefixes from four BGP > neighbors, and all of them make it into the routing table: > > BGP table: 50000 * 240 = 12,000,000 bytes > > Routing table: 50000 * 240 = 12,000,000 bytes > > Alternate paths: 50000 * 110 * 4 = 22,000,000 bytes > > In this case, you'll need approximately 46 MB of RAM, not counting the > RAM needed to support Cisco IOS Software, Interior Gateway Protocols (IGPs), > and so on. > -- unquote -- > > The above is over estimated as not all routes will have different AS > paths, the below is from a router taking 4 full views + some partial > views. > > BGP table version is 34619196, main routing table version 34619196 > 115916 network entries and 345514 paths using 23334608 bytes of memory > 75815 BGP path attribute entries using 3639120 bytes of memory > 471 BGP rrinfo entries using 11304 bytes of memory > 60418 BGP AS-PATH entries using 1502272 bytes of memory > 379 BGP community entries using 10516 bytes of memory > 98416 BGP route-map cache entries using 1574656 bytes of memory > Dampening enabled. 290 history paths, 72 dampened paths > BGP activity 794102/678186 prefixes, 23640513/23294999 paths This is pretty interesting since I know it seems like everyone seems to show a different amount of routes depending upon which Cisco router is looked upon. > > And a question, on a Cisco > > router, does the following basically do the route announcements? > > > > router bgp > > bgp dampening > > BGP dampning has nothing to do with announcing routes, go read the > documentation, it's public available. I know what it does, it has something to do so the router doesn't flap according to what Avi Freedman wrote but it seems like there is no way to do this statement in zebra. > > network x.x.x.x > > > > So basically it will announce the network x.x.x.x to the upstream > > provider with my ASN on it and then the upstream will automatically add > > their AS to it when it announces up another level? > > Yes, this is how BGP works. Thanks, after reading all the docs, I was a bit lost in how to do the announcement of routes since I know how to take the routes from the peers. Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 16: 2:31 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 16:02:29 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from oahu.WURLDLINK.NET (oahu.WURLDLINK.NET [216.235.52.1]) by hub.freebsd.org (Postfix) with ESMTP id D719237B400 for ; Sun, 31 Dec 2000 16:02:22 -0800 (PST) Received: from localhost (vince@localhost) by oahu.WURLDLINK.NET (8.9.3/8.9.3) with ESMTP id OAA06694; Sun, 31 Dec 2000 14:01:55 -1000 (HST) (envelope-from vince@oahu.WURLDLINK.NET) Date: Sun, 31 Dec 2000 14:01:54 -1000 (HST) From: Vincent Poy To: "Seo Boon, NG" Cc: Subject: Re: Dynamic routing reference sites In-Reply-To: <20010101004930.A9470@cisco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 1 Jan 2001, Seo Boon, NG wrote: > Wrote Vincent Poy on Sat, Dec 30, 2000 at 07:40:02PM SGT > | > | yeah, they don't but doesn't AboveNet peer with everyone, it seems > | like it will take a few gigs of routes for those. > > you typically do not get anything close to a full view when you peer. A peer > only announce itself and it's customer. Hence, u can have many peers but it's > rarely that u'll see 'gigs' of routes for all the peers. Yes but aren;t you supposed to get routes from each peer to build your own routing table? Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 16:58:43 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 16:58:41 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from hex.databits.net (hex.databits.net [207.29.192.16]) by hub.freebsd.org (Postfix) with SMTP id 35DAC37B400 for ; Sun, 31 Dec 2000 16:58:41 -0800 (PST) Received: (qmail 23757 invoked by uid 1001); 1 Jan 2001 00:59:59 -0000 Date: Sun, 31 Dec 2000 19:59:59 -0500 From: Pete Fritchman To: Dave VanAuken Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Jail problems Message-ID: <20001231195959.A23337@databits.net> References: <20001231183152.A68613@skriver.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from dave@hawk-systems.com on Sun, Dec 31, 2000 at 06:29:41PM -0500 Sender: petef@hex.databits.net Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ++ 31/12/00 18:29 -0500 - Dave VanAuken: >4.1.1 on intel box If you get a chance, cvsup to 4.2-stable. > [snip] > >**problem 1: cannot set root password for jail - get "Mismatch; try >again, EOF to quit." continuously dumped to the screen... have to >reboot. weird.. maybe a stdin problem? It only asks you once, then it just scrolls that? (once you get your jail running below, try running this again and see if you get the same result...) > >skipping that problem... we set accounts, timezone, etc... not >installing any packages yet >add ip address to NIC... ifconfig... as in man for jail >mount the file system as in man >run jail command as in man > jail /usr/home/lcadmin testhostname 192.168.1.111 /bin/sh /etc/rc > >do a ps to ensure the jailed processes are running... yes > >**problem 2: cannot ping to IP address from host machine, cannot >connect to IP address via telnet - get "All Network ports in use" from >other machines and "time out" from host machine Time out from host machine and you can't ping it from the host machine -- sounds like you aliased the IP wrong. What is the exact ifconfig line you typed? All network ports == can't find ttys to use. Did you 'sh MAKEDEV jail' in your $jail/dev directory? >[snip] >chflags: /dev/tty[pqrsPQRS]*: No such file or directory >chmod: /dev/tty[pqrsPQRS]*: No such file or directory >chown: /dev/tty[pqrsPQRS]*: No such file or directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This confirms that you haven't MAKEDEV jail'd correctly (or the MAKEDEV you have is problematic -- this is why you might want to cvsup to 4.2-stable) >[snip] >/dev/ttyv0: no >such file Again.. >[snip] Good luck -- jail is a really neat toy once you have it running. -pete -- Pete Fritchman Databits Network Services, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 19:35:50 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 19:35:48 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from misery.sdf.com (misery.sdf.com [204.244.213.49]) by hub.freebsd.org (Postfix) with ESMTP id 9304837B400 for ; Sun, 31 Dec 2000 19:35:47 -0800 (PST) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 14Cv3x-0007MK-00; Sun, 31 Dec 2000 18:51:05 -0800 Date: Sun, 31 Dec 2000 18:51:02 -0800 (PST) From: Tom Samplonius To: Vincent Poy Cc: "Seo Boon, NG" , freebsd-isp@FreeBSD.ORG Subject: Re: Dynamic routing reference sites In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 31 Dec 2000, Vincent Poy wrote: > > you typically do not get anything close to a full view when you peer. A peer > > only announce itself and it's customer. Hence, u can have many peers but it's > > rarely that u'll see 'gigs' of routes for all the peers. > > Yes but aren;t you supposed to get routes from each peer to build > your own routing table? Different meanings of the word "peer". It can mean any BGP peer, or it can mean a network peer, as opposed to a provider-customer relationship. If Sprint and MCI were to establish a new interconnection, they will peer, and usually offer each other routes for their own AS only so they don't transit traffic for each other. BGP route table sizes are likely different everywhere. There can differences in filters (either on what is being let in, or being let out). Some carriers have rather restrictive route acceptance policies. Typically route filters are designed to prevent tiny network routes from filling their tables. Also, routes for private local ASes are cause differences. Can we please let this thread die now? If you want to learn about BGP one fact at time, you'll be here a _long_ time. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Dec 31 22:23:47 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 22:23:43 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from hawk-systems.com (unknown [161.58.152.235]) by hub.freebsd.org (Postfix) with ESMTP id E807D37B400 for ; Sun, 31 Dec 2000 22:23:42 -0800 (PST) Received: from server0 (cr901664-a.pr1.on.wave.home.com [24.112.146.66]) by hawk-systems.com (8.8.8) id XAA04394 for ; Sun, 31 Dec 2000 23:22:18 -0700 (MST) From: "Dave VanAuken" To: Subject: RE: Jail problems Date: Mon, 1 Jan 2001 01:30:13 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <20001231195959.A23337@databits.net> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org will do a cvsup to 4.2-stable and go through it again. will be reproducing this ona few machines though (once the bugs are worked out)... currently working off of the 4.1.1 ISO, is there a shorter way of getting the 4.2 stable rather than doing a 4.1.1 install and then cvsup'ing it? thanks, and will reply back with the results after the upgrade and reinstall. some answers to your questions... - aliased the IP address using the following: ifconfig xl0 inet alias 192.168.1.111 netmask 255.255.255.255 (tried 255.255.255.0 as well) - yes did makedev jail in the jail/dev directory (did again to double check but was sure I did) will do the 4.2 up and see if that resolves it... really looking forward to this. While we are working on that... any feedback as to the load imposed by each virtual machine? the installation I am looking at not is about 100mb of disk space, though I havn't tried to streamline that yet (trying to get it functional first) Dave -----Original Message----- From: Pete Fritchman [mailto:petef@databits.net] Sent: Sunday, December 31, 2000 8:00 PM To: Dave VanAuken Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Jail problems ++ 31/12/00 18:29 -0500 - Dave VanAuken: >4.1.1 on intel box If you get a chance, cvsup to 4.2-stable. > [snip] > >**problem 1: cannot set root password for jail - get "Mismatch; try >again, EOF to quit." continuously dumped to the screen... have to >reboot. weird.. maybe a stdin problem? It only asks you once, then it just scrolls that? (once you get your jail running below, try running this again and see if you get the same result...) > >skipping that problem... we set accounts, timezone, etc... not >installing any packages yet >add ip address to NIC... ifconfig... as in man for jail >mount the file system as in man >run jail command as in man > jail /usr/home/lcadmin testhostname 192.168.1.111 /bin/sh /etc/rc > >do a ps to ensure the jailed processes are running... yes > >**problem 2: cannot ping to IP address from host machine, cannot >connect to IP address via telnet - get "All Network ports in use" from >other machines and "time out" from host machine Time out from host machine and you can't ping it from the host machine -- sounds like you aliased the IP wrong. What is the exact ifconfig line you typed? All network ports == can't find ttys to use. Did you 'sh MAKEDEV jail' in your $jail/dev directory? >[snip] >chflags: /dev/tty[pqrsPQRS]*: No such file or directory >chmod: /dev/tty[pqrsPQRS]*: No such file or directory >chown: /dev/tty[pqrsPQRS]*: No such file or directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This confirms that you haven't MAKEDEV jail'd correctly (or the MAKEDEV you have is problematic -- this is why you might want to cvsup to 4.2-stable) >[snip] >/dev/ttyv0: no >such file Again.. >[snip] Good luck -- jail is a really neat toy once you have it running. -pete -- Pete Fritchman Databits Network Services, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message