From owner-freebsd-small Sun Jun 9 5:35: 8 2002 Delivered-To: freebsd-small@freebsd.org Received: from minix.nailed.org (syr-66-67-110-226.twcny.rr.com [66.67.110.226]) by hub.freebsd.org (Postfix) with ESMTP id 1742037B403 for ; Sun, 9 Jun 2002 05:35:02 -0700 (PDT) Received: by bd.local (Postfix, from userid 1000) id 8195F760C; Wed, 5 Jun 2002 21:01:28 -0400 (EDT) Date: Wed, 5 Jun 2002 21:01:28 -0400 From: Jonathan Towne To: Peter Brezny Cc: freebsd-small@freebsd.org Subject: Re: net flavor won't build Message-ID: <20020605210128.H41779@bd.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from pbrezny@purplecat.net on Wed, Jun 05, 2002 at 07:23:28PM -0400 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jun 05, 2002 at 07:23:28PM -0400, Peter Brezny scribbled: # I'm stuck... # # /usr/lib/libedit.a(editline.o): In function `el_gets': # editline.o(.text+0x67d2): undefined reference to `tgoto' [snip duplicates] # editline.o(.text+0x6eb5): undefined reference to `tgetent' # editline.o(.text+0x6f79): undefined reference to `tgetflag' # editline.o(.text+0x6fde): undefined reference to `tgetnum' # editline.o(.text+0x7bd8): undefined reference to `tgetstr' [snip many more] # *** Error code 1 [snip again :)] # Any ideas? My best guess.. try editing crunch.conf, and at the bottom, where there are a bunch of libraries listed, add -ltermcap to the list; these functions that are undefined, should be contained there.. Hope this helps; -jt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Jun 10 10:58:16 2002 Delivered-To: freebsd-small@freebsd.org Received: from mail2.wmptl.com (mail2.wmptl.com [216.94.6.26]) by hub.freebsd.org (Postfix) with ESMTP id B7C9337B407; Mon, 10 Jun 2002 10:58:11 -0700 (PDT) Received: from transcon ([10.0.0.168]) by mail2.wmptl.com (8.11.3/8.9.3) with SMTP id g5AKtu056854; Mon, 10 Jun 2002 16:55:56 -0400 (EDT) (envelope-from ITStaff@wmptl.com) Message-ID: <001401c210a7$f72b2d20$a800000a@transcon> Reply-To: "Communications Machine" From: "Communications Machine" To: Cc: Subject: Compact Flash vs ATA Disks Date: Mon, 10 Jun 2002 13:55:10 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I need a comparison in terms primarily of performance and reliability between using compact flash to boot vs a standard ATA disk drive on a machine used primarily as a router/firewall. I would assume since there is no mechanical spinup/spindown issues with compact flash, that it would therefore be quicker to startup off of; however one must still wait for the PC bios anyways... so will it really make that much of a difference? Guess it really comes down to transfer rates: which is generally speaking faster (bear in mind only in terms of reading, as writting to disk will be extremely infrequent). In terms of reliability, what is the life expentancy of compact flash vs a standard ATA disk drive? Again, I believe the mechanical issues involved with a disk drive may be overcome with compact flash disks, but I don't honestly know enough about compact flash. The goal being to have a standard PC boot up off of compact flash, in the hopes of an extremely quick, efficient, and reliable boot. Preferable even to use a read-only compact flash device so-as to bypass the need for checking the disk (fsck and such) at startup. Any suggestions/comment/questions/shared experiences welcomed and appreciated; but please CC my email address directly. Thanks -- Nathan Vidican itstaff@wmptl.com Windsor Match Plate & Tool Ltd. http://home.wmptl.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Jun 10 14:33:24 2002 Delivered-To: freebsd-small@freebsd.org Received: from zephir.primus.ca (mail.tor.primus.ca [216.254.136.21]) by hub.freebsd.org (Postfix) with ESMTP id D8A2B37B40A; Mon, 10 Jun 2002 14:33:20 -0700 (PDT) Received: from dialin-133-174.hamilton.primus.ca ([209.90.133.174]) by zephir.primus.ca with esmtp (Exim 3.33 #16) id 17HWmx-0008FK-0A; Mon, 10 Jun 2002 17:33:23 -0400 Date: Mon, 10 Jun 2002 17:33:13 -0400 (EDT) From: Jason Hunt X-X-Sender: leth@lethargic.dyndns.org To: questions@FreeBSD.ORG Cc: small@FreeBSD.ORG, Communications Machine Subject: Re: Compact Flash vs ATA Disks In-Reply-To: <001401c210a7$f72b2d20$a800000a@transcon> Message-ID: <20020610173028.P89310-100000@lethargic.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 10 Jun 2002, Communications Machine wrote: > I need a comparison in terms primarily of performance and reliability > between using compact flash to boot vs a standard ATA disk drive on a > machine used primarily as a router/firewall. > [ ... snip ... ] > Check out http://www.freebsd.org/doc/en_US.ISO8859-1/articles/solid-state/ Looks pretty interesting to me. You could do the same with a hard-drive that is mounted read-only. The nice part about doing this is that it is stateless, so you don't have to wait for fsck if it crashes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Jun 10 15:17:58 2002 Delivered-To: freebsd-small@freebsd.org Received: from minix.nailed.org (syr-66-67-110-226.twcny.rr.com [66.67.110.226]) by hub.freebsd.org (Postfix) with ESMTP id 06B8F37B408 for ; Mon, 10 Jun 2002 15:17:56 -0700 (PDT) Received: by minix.nailed.org (Postfix, from userid 1000) id EF2617526; Mon, 10 Jun 2002 18:17:54 -0400 (EDT) Date: Mon, 10 Jun 2002 18:17:54 -0400 From: Jonathan Towne To: Peter Brezny Cc: freebsd-small@freebsd.org Subject: Re: net flavor won't build Message-ID: <20020610181754.A533@bd.local> References: <20020605210128.H41779@bd.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from pbrezny@purplecat.net on Fri, Jun 07, 2002 at 05:17:58PM -0400 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 07, 2002 at 05:17:58PM -0400, Peter Brezny scribbled: # JT, # # Your suggestion worked, however, I'm having a hell of a time getting network # information into the pico build. I've tried putting info in the rc.conf # (similar to the way i did it on an old 4.2 system, which worked...).. # # Do you have any tips for me in this regard? Check /usr/src/release/picobsd/floppy.tree/etc/ .. those files are all dropped into the MFSROOT-type image.. though, perhaps you've already figured this out.. look at the example rc.conf.defaults .. DON'T EDIT IT; instead, put your changes into rc.conf like you were going to. # It would be nice if someone put together a clean step by step tutorial as to # how to get some of these things to work... best attempt i've seen for a while: http://csl.cse.ucsc.edu/~brucem/pico_notes.htm note that I haven't had time to verify that all/any of it works, but its quite a lengthy read, and must contain at least some useful info :) # I also need ssh on there, is this possible? Should be; check out the 'bridge' floppy's crunch.conf ; ssh/sshd was made into a port for use with picobsd.. (/usr/src/release/picobsd/bridge/crunch.conf). # Thanks again for all your help. No problem, glad to see someone working with picobsd again :) - jt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Jun 10 17:56:21 2002 Delivered-To: freebsd-small@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id 5613D37B405; Mon, 10 Jun 2002 17:56:16 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id EFAA2471DD; Mon, 10 Jun 2002 17:56:11 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id AFF30FFD5; Mon, 10 Jun 2002 17:56:09 -0700 (PDT) Message-ID: <3D054AA9.164F3614@pantherdragon.org> Date: Mon, 10 Jun 2002 17:56:09 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Communications Machine Cc: questions@freebsd.org, small@freebsd.org Subject: Re: Compact Flash vs ATA Disks References: <001401c210a7$f72b2d20$a800000a@transcon> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Communications Machine wrote: > > I need a comparison in terms primarily of performance and reliability > between using compact flash to boot vs a standard ATA disk drive on a > machine used primarily as a router/firewall. > > I would assume since there is no mechanical spinup/spindown issues with > compact flash, that it would therefore be quicker to startup off of; however > one must still wait for the PC bios anyways... so will it really make that > much of a difference? Guess it really comes down to transfer rates: which is > generally speaking faster (bear in mind only in terms of reading, as > writting to disk will be extremely infrequent). > > In terms of reliability, what is the life expentancy of compact flash vs a > standard ATA disk drive? Again, I believe the mechanical issues involved > with a disk drive may be overcome with compact flash disks, but I don't > honestly know enough about compact flash. CF cards have a wider operating temperature, don't generate nearly as much heat as even a 5400 RPM disk, can take much higher impact shocks, are slient, easier to swap out than a hard disk, are ATAPI compatible, and are available in sizes up to 1GB. They're also slow, though throughput is a minor issue when only used to boot from. A 256MB CF card costs about as much as a new 80GB 7200 RPM drive and a 1GB CF card runs about the same as an IBM 73LZX 73GB SCSI disk. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Jun 10 18:46:59 2002 Delivered-To: freebsd-small@freebsd.org Received: from neon.clari.net.au (neon.clari.net.au [203.8.14.112]) by hub.freebsd.org (Postfix) with ESMTP id 60A4D37B404 for ; Mon, 10 Jun 2002 18:46:55 -0700 (PDT) Received: from localhost (danny@localhost) by neon.clari.net.au (8.11.6/8.11.6) with ESMTP id g5B1qZ865416; Tue, 11 Jun 2002 11:52:36 +1000 (EST) (envelope-from danny@clari.net.au) X-Authentication-Warning: neon.clari.net.au: danny owned process doing -bs Date: Tue, 11 Jun 2002 11:52:35 +1000 (EST) From: "Daniel O'Callaghan" To: Darren Pilgrim Cc: Subject: Re: Compact Flash vs ATA Disks In-Reply-To: <3D054AA9.164F3614@pantherdragon.org> Message-ID: <20020611115116.C65308-100000@neon.clari.net.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 10 Jun 2002, Darren Pilgrim wrote: > are slient, easier to swap out than a hard disk, are ATAPI compatible, > and are available in sizes up to 1GB. They're also slow, though > throughput is a minor issue when only used to boot from. A 256MB CF Is this "slow" relative to a HDD? Or "slow" relative to DRAM? Danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Jun 11 0:26: 1 2002 Delivered-To: freebsd-small@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id CFEDB37B40A for ; Tue, 11 Jun 2002 00:25:57 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id 810C8471DA; Tue, 11 Jun 2002 00:25:56 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id 6BB9DFEBE; Tue, 11 Jun 2002 00:25:53 -0700 (PDT) Message-ID: <3D05A601.CBDED54B@pantherdragon.org> Date: Tue, 11 Jun 2002 00:25:53 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Daniel O'Callaghan Cc: small@FreeBSD.ORG Subject: Re: Compact Flash vs ATA Disks References: <20020611115116.C65308-100000@neon.clari.net.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Daniel O'Callaghan wrote: > > On Mon, 10 Jun 2002, Darren Pilgrim wrote: > > > are slient, easier to swap out than a hard disk, are ATAPI compatible, > > and are available in sizes up to 1GB. They're also slow, though > > throughput is a minor issue when only used to boot from. A 256MB CF > > Is this "slow" relative to a HDD? Or "slow" relative to DRAM? he fastest I've seen personally is ~3.3MB/sec, and I've seen tests report speeds over 4MB/sec. The host, reader, and make/model of CF media all affect throughput. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Jun 11 15: 2:17 2002 Delivered-To: freebsd-small@freebsd.org Received: from scan.ji-net.com (scan.ji-net.com [203.130.156.4]) by hub.freebsd.org (Postfix) with ESMTP id 8BE8D37B404 for ; Tue, 11 Jun 2002 15:02:13 -0700 (PDT) Received: from net1.ji-net.com ([203.156.15.120]) by scan.ji-net.com (8.11.2/8.11.2) with SMTP id g5BM2AQ11854 for ; Wed, 12 Jun 2002 05:02:10 +0700 Message-Id: <200206112202.g5BM2AQ11854@scan.ji-net.com> Date: Wed, 12 Jun 2002 05:04:14 To: freebsd-small@freebsd.org From: goodhealthgoodjob@yahoo.com (foodforhealth) Subject: วันนี้คุณดูแลสุขภาพแล้วหรือยัง X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG แนะนำโปรแกรมควบคุมน้ำหนัก เพิ่มน้ำหนัก รักษาสุขภาพ คุณหรือคนที่คุณรักกำลังมองหาวิธีดูแลสุขภาพที่เป็นธรรมชาติอยู่ใช่ไหม? หากคุณเบื่อหน่ายกับความพยายามที่ไม่ประสบความสำเร็จครั้งแล้วครั้งเล่า ในการดูแลสุขภาพเพื่อรูปร่างที่ดี เรามีโปรแกรมโภชนาการเพื่อสุขภาพ ที่ช่วยคุณได้ สำหรับผู้ที่มีปัญหา น้ำหนักเกินหรืออ้วน, ผอมเกินไป, มีปัญหาสุขภาพ (ผอมแห้งแรงน้อย, พุงห้อยอืดอาด, ขาดความมั่นใจ, โรคภัยถามหา,ใบหน้าเป็นสิว, ผิวพรรณเหี่ยวย่น, คนเล่นกีฬา, คุณป้าวัยทอง, คุณน้องๆ ที่อยากสวย)เป็นผลิตภัณฑ์จากธรรมชาติ 100 % ไม่ใช่ยา ไม่ต้องอดอาหาร ไม่มีผลข้างเคียง ไม่ต้องออกกำลังกาย ฟังดูไม่น่าเชื่อแต่ก็ต้องเชื่อเพราะผ่าน อย.ทุกประเทศที่เข้าไปขายโดยเฉพาะประเทศไทยและอเมริกา ให้สารอาหารครบถ้วน ปรับสมดุลของร่างกายลดไขมันส่วนเกิน รับรองผลภายใน30วันด้วยระบบคืนเงิน100%(แพทย์ผู้คิดค้นอาหารสูตรนี้คือคนที่คิดค้นอาหารให้นักบินอวกาศองค์การนาซ่า) สนใจ ขอคำแนะนำเพิ่มเติมได้ที่ คุณสิริ 01-8901701พบคำตอบสุดท้ายของคุณได้ที่นี่ http://www.smartslender.com/foodforhealth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Jun 13 2:16:26 2002 Delivered-To: freebsd-small@freebsd.org Received: from pheidippides.md.chalmers.se (pheidippides.md.chalmers.se [129.16.237.91]) by hub.freebsd.org (Postfix) with ESMTP id 1D32337B422; Thu, 13 Jun 2002 02:16:00 -0700 (PDT) Received: from quirm.cs.chalmers.se (quirm.cs.chalmers.se [129.16.225.31]) by pheidippides.md.chalmers.se (8.10.1/8.10.1) with ESMTP id g5D9Fw614806; Thu, 13 Jun 2002 11:15:58 +0200 (MET DST) Received: from localhost (davidw@localhost) by quirm.cs.chalmers.se (8.8.5/8.8.5) with ESMTP id LAA02980; Thu, 13 Jun 2002 11:15:56 +0200 (MEST) X-Authentication-Warning: quirm.cs.chalmers.se: davidw owned process doing -bs Date: Thu, 13 Jun 2002 11:15:56 +0200 (MEST) From: David Wahlstedt To: Alexander V Zubchenko Cc: , Subject: Re: natd port forwarding In-Reply-To: <20020612080718.Q92282-100000@server.hermes-comp.zp.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 12 Jun 2002, Alexander V Zubchenko wrote: > Hello! > > It seems to be correct. But who can b sure? ;-) > > On Tue, 11 Jun 2002, David Wahlstedt wrote: > > > $fwcmd -f flush > > > > $fwcmd add 500 divert 8668 al from any to any via ep0 > I hope this just a mistype in letter, but 'divert 8668 all' (with > duoble-l). Thanks ! It was a typo. I corrected it, made sure the change was on the floppy, rebooted, but it still doesn't work. Running "ipfw list" gives the same answer as before the change. The divert rule is there and seems to work both before and after the change, in the sense that the "nat mechanism" works, but not port forwarding. The firewall (2.2.5-based "net" picoBSD) has ep1 10.0.0.1 to LAN and ep0 217.x.x.x to WAN. My computer (fbsd-4.5-R) is 10.0.0.4 I tried netcat on 10.0.0.4: > nc -l -p 1234 And also on 10.0.0.4: > telnet 217.x.x.x 1234 "connection refused", it answers. The same happens with > nc -v -p 1234 217.x.x.x Is this the right testing method here ? rc.conf: can the following be an error ? Do I have the wrong netmask on ep1 ? ifconfig_ep0="inet 217.bla.bla.bla netmask 255.255.255.0 up" ifconfig_ep1="inet 10.0.0.1 netmask 255.255.255.128 up" Do you have something similair - an example with port forwarding ? Anyone who has a set of config files for the 2.2.5 based picoBSD "net" floppy using port forwarding and nat ? Regards, David W Below I include my rc.conf, natd.conf, rc.firewall and dmesg output: --------------------------------------------------------------------------- natd.conf: # does the order of lines matter ? # whats the effective difference between # "interface ep0" and "alias_address 217.bla.bla.bla" ? # I've tried both (not simultaneously - not allowed) without noticing any # changed behaviour interface ep0 unregistered_only #alias_address 217.bla.bla.bla use_sockets yes same_ports yes # dc redirect_port tcp 10.0.0.3:411-412 217.bla.bla.bla:411-412 redirect_port udp 10.0.0.3:411-412 217.bla.bla.bla:411-412 # ftp redirect_port tcp 10.0.0.3:20-21 217.bla.bla.bla:20-21 redirect_port udp 10.0.0.3:20-21 217.bla.bla.bla:20-21 # test redirect_port tcp 10.0.0.4:1234 217.bla.bla.bla:1234 redirect_port udp 10.0.0.4:1234 217.bla.bla.bla:1234 --------------------------------------------------------------------------- rc.conf: #!/bin/sh # swapfile="NO" # Set to name of swapfile if aux swapfile desired. ### Network configuration sub-section ###################### ### Basic network options: ### hostname="pico.bla.se" # Probably invalid - arbitrary chosen. tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or NO). network_interfaces="lo0 ep0 ep1" # List of network interfaces (lo0 is loo ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. ifconfig_ep0="inet 217.bla.bla.bla netmask 255.255.255.0 up" ifconfig_ep1="inet 10.0.0.1 netmask 255.255.255.128 up" ### Network daemons options: ### inetd_enable="YES" # Run the network daemon dispatcher (or NO) inetd_flags="" # Optional flags to inetd snmpd_enable="NO" # Run the SNMP daemon (or NO) snmpd_flags="-C -c /etc/snmpd.conf" # Optional flags to snmpd ### Network routing options: ### defaultrouter="217.bla.bla.bla" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). gateway_enable="YES" # Set to YES if this host will be a gateway. firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="open" firewall_quiet="NO" natd_program="/sbin/natd" natd_enable="YES" natd_interface="ep0" natd_flags="-f /etc/natd.conf" tcp_drop_synfin="YES" arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL. ### Allow local configuration override at the very end here ## if [ -f /etc/rc.conf.local ]; then . /etc/rc.conf.local fi --------------------------------------------------------------------------- rc.firewall: #my only addition to the default file: $fwcmd -f flush $fwcmd add 500 divert 8668 al from any to any via ep0 # in the "simple"-part: (currently I use "open") oif="ep0" onet="217.bla.bla.bla" omask="255.255.255.0" oip="217.bla.bla.bla" --------------------------------------------------------------------------- dmesg: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.5-STABLE #0: Mon Mar 23 16:22:37 MYT 1998 dinesh@broker.alphaque.com:/usr/src/sys/compile/PICOBSD-N.2800 CPU: i486 DX4 (486-class CPU) Origin = "GenuineIntel" Id = 0x480 Stepping=0 Features=0x3 real memory = 33554432 (32768K bytes) FreeBSD Kernel Configuration Utility - Version 1.1 Type "help" for help or "visual" to go to the visual configuration interface (requires MGA/VGA display or serial terminal capable of displaying ANSI graphics). config> disable sio0 config> disable sio2 config> disable sio3 config> port lpt0 0x0378 config> port ed0 0x0340 config> irq ed0 4 config> iomem ed0 0x00000000 config> port ed1 0x0320 config> iomem ed1 0x00000000 config> irq ep1 11 config> quit avail memory = 28262400 (27600K bytes) Probing for devices on PCI bus 0: wdc0 rev 2 int a irq 14 on pci0:15 chip0 rev 1 on pci0:16chip1 rev 1 on pci0:18Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA mono <16 virtual consoles, flags=0x0> ed0 not found at 0x340 ed1 not found at 0x320 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 2 3C5x9 board(s) on ISA found at 0x300 0x280 ep0 at 0x300-0x30f irq 10 on isa ep0: utp[*UTP*] address 00:20:af:93:0d:4d ep1 at 0x280-0x28f irq 11 on isa ep1: aui/utp/bnc[*UTP*] address 00:a0:24:70:ab:76 npx0 on motherboard npx0: INT 16 interface IP packet filtering initialized, divert enabled, default to accept, logging disabled rootfs is 2800 Kbyte compiled in MFS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Jun 13 2:55:26 2002 Delivered-To: freebsd-small@freebsd.org Received: from lexx.zssm.zp.ua (lexx.zssm.zp.ua [212.8.32.8]) by hub.freebsd.org (Postfix) with ESMTP id AACBB37B406; Thu, 13 Jun 2002 02:55:14 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by lexx.zssm.zp.ua (8.9.2/8.9.2) with ESMTP id MAA25994; Thu, 13 Jun 2002 12:48:29 +0300 (EET DST) Received: from localhost (localhost [127.0.0.1]) by server.hermes-comp.zp.ua (Postfix) with ESMTP id BF54238302; Thu, 13 Jun 2002 12:52:39 +0300 (EEST) Date: Thu, 13 Jun 2002 12:52:39 +0300 (EEST) From: Alexander V Zubchenko To: David Wahlstedt Cc: , Subject: Re: natd port forwarding In-Reply-To: Message-ID: <20020613124309.Q1920-100000@server.hermes-comp.zp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings! On Thu, 13 Jun 2002, David Wahlstedt wrote: > Thanks ! > It was a typo. I corrected it, made sure the change was on the floppy, > rebooted, but it still doesn't work. > Running "ipfw list" gives the same answer as before the change. Sorry, but i don't understand. You change typo, but it left unchanged? Or You mean that behavior left unchanged? Sorry, it's not clear for me. > I tried netcat on 10.0.0.4: > > nc -l -p 1234 > > And also on 10.0.0.4: > > telnet 217.x.x.x 1234 > "connection refused", it answers. > > The same happens with > > nc -v -p 1234 217.x.x.x > > > Is this the right testing method here ? I think so. > > > rc.conf: > can the following be an error ? Do I have the wrong netmask on ep1 ? > ifconfig_ep0="inet 217.bla.bla.bla netmask 255.255.255.0 up" > ifconfig_ep1="inet 10.0.0.1 netmask 255.255.255.128 up" Yes it's seemed strange. AFAIK, those netmasks r used only when somebody need to split internal network into subnets. Is it Your case? And is 10.0.0.4 configured with same netmask? If yes, all ok. If no, this is main suspect. > natd.conf: You can't set netmask in this conf, so, who can b sured that natd not assume it as 255.255.255.0 > config> port ed0 0x0340 > config> irq ed0 4 > config> iomem ed0 0x00000000 > config> port ed1 0x0320 > config> iomem ed1 0x00000000 AFAIC, You don't need this, because edX not found. To increase clearness and performance, mayb better way to change it to 'disable edX'? But this is OT. Just a comment. With respect, Alexander V Zubchenko, E-Mail: stalker@hermes-comp.zp.ua System Administrator, WWW: http://www.hermes-comp.zp.ua/ Hermes-comp, Ukraine, Zaporizhzhya, Geroev Stalingrada 50 phone/fax: +380 612 64-19-72 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message