sed and comma-delimited file

2006-09-19 Thread SigmaX asdf
Yo; I have a series of comma-delimited text files with fourteen columns of data and several hundred rows. I want to use a short shell script to strip them of the last 9 columns, leaving the same file but with just five of its columns. I can do it in C++, but that seems like overkill. How

IPFW rules

2006-08-21 Thread SigmaX asdf
I'm trying to setup IPFW to block all ports except those I specify. For starters I'm just opening SSH. # ipfw list 00050 divert 8668 ip4 from any to any via rl0 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 00301 allow log tcp

Re: Gateway [SOLVED]

2006-08-20 Thread SigmaX asdf
For the archives: Found my problem. Te firewall_type option is case sensitive -- and OPEN is supposed to be lowercase. Cheerio, SigmaX On 7/28/06, SigmaX asdf [EMAIL PROTECTED] wrote: I'm trying to setup a gateway/firewall on my network in a similar setup to that shown

Port forwarding with IPFW/NATD

2006-08-20 Thread SigmaX asdf
I've setup a firewall box with IPFW and NATD with what the handbook had to offer on the subject, and now would like to get traffic forwarded to behind my shmancy new firewall. Google is purely confusing me on this one. From what I understand I need to do one or more of the following: setup a

Re: Port forwarding with IPFW/NATD [SOLVED]

2006-08-20 Thread SigmaX asdf
Spoke too soon; figured it out not a minute later. It seems to work if I remove the divert rule for my server (10.0.0.2) from ipfw, and leave the natd parameter. SigmaX On 8/20/06, SigmaX asdf [EMAIL PROTECTED] wrote: I've setup a firewall box with IPFW and NATD with what the handbook had

Re: Gateway

2006-07-31 Thread SigmaX asdf
? SigmaX On 7/29/06, Igor Robul [EMAIL PROTECTED] wrote: On Sat, Jul 29, 2006 at 01:42:41PM -0400, SigmaX asdf wrote: ^^^ Should be natd_enable=YES Heh; yeah, typo in my post. The file has it ok. Is there something I have to do to specify the interfaces which have nat

Re: Gateway

2006-07-29 Thread SigmaX asdf
On 7/29/06, Igor Robul [EMAIL PROTECTED] wrote: On Fri, Jul 28, 2006 at 07:00:18PM -0400, SigmaX asdf wrote: gateway_enable=YES firewall_enable=YES firewall_type=OPEN natd_enabl=YES ^^^ Should be natd_enable=YES Heh; yeah, typo in my post. The file has it ok

Gateway

2006-07-28 Thread SigmaX asdf
I'm trying to setup a gateway/firewall on my network in a similar setup to that shown in the in the handbook diagram at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html. I've followed what I can figure out, adding the following to my /etc/rc.conf gateway_enable=YES