Re: [pfSense-discussion] bogons update issue

2008-02-10 Thread Jan Hoevers

Jan Hoevers wrote on 11-2-2008 0:30:

Scott Ullrich wrote on 10-2-2008 23:06:

On 2/10/08, Jan Hoevers <[EMAIL PROTECTED]> wrote:

I've tested this now on a fresh install, and you're right, it will work
on existing installs.
The missing od issue is of course still there, but unlike I wrote in my
original mail, it does not cause the script to abort.

Thanks for fixing this so quickly.


Where did you reinstall from?  Hopefully you used the recent snapshot 
image?


http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/

Scott


No, I reinstalled 1.2-RC4, which is why the missing od issue is still 
there.

What I wanted to say is that, after Chris fixed the URL, only a cosmetic
issue is left in RC4. My original mail was partly a false alarm;
existing RC4 installations will work fine now, except that the failing
interval sleep may cause peaks on your server.

But now I've setup a test system anyway, I'll give the snapshot a try
too, thanks for the hint.


Ok, I've tried that snapshot now (the one dd. 8 Feb.), and as far as I
can see the issues with the bogons update script are solved.

A suggestion to prevent the distribution of outdated files:
Do not include the bogons file in the distribution and have pfSense
fetch it at boot time if it is missing.

Well, that's just a random thought; it is now basically working as it
should.

best regards,
Jan Hoevers


Re: [pfSense-discussion] bogons update issue

2008-02-10 Thread Jan Hoevers

Scott Ullrich wrote on 10-2-2008 23:06:

On 2/10/08, Jan Hoevers <[EMAIL PROTECTED]> wrote:

I've tested this now on a fresh install, and you're right, it will work
on existing installs.
The missing od issue is of course still there, but unlike I wrote in my
original mail, it does not cause the script to abort.

Thanks for fixing this so quickly.


Where did you reinstall from?  Hopefully you used the recent snapshot image?

http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/

Scott


No, I reinstalled 1.2-RC4, which is why the missing od issue is still there.
What I wanted to say is that, after Chris fixed the URL, only a cosmetic
issue is left in RC4. My original mail was partly a false alarm;
existing RC4 installations will work fine now, except that the failing
interval sleep may cause peaks on your server.

But now I've setup a test system anyway, I'll give the snapshot a try
too, thanks for the hint.

regards,
Jan Hoevers


Re: [pfSense-discussion] bogons update issue

2008-02-10 Thread Scott Ullrich
On 2/10/08, Jan Hoevers <[EMAIL PROTECTED]> wrote:
> I've tested this now on a fresh install, and you're right, it will work
> on existing installs.
> The missing od issue is of course still there, but unlike I wrote in my
> original mail, it does not cause the script to abort.
>
> Thanks for fixing this so quickly.

Where did you reinstall from?  Hopefully you used the recent snapshot image?

http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/

Scott


Re: [pfSense-discussion] bogons update issue

2008-02-10 Thread Jan Hoevers

Chris Buechler wrote on 4-2-2008 0:32:

Jan Hoevers wrote:


2. On previous versions the bogons file was fetched from cymru.com, but
on RC4 the script tries to get it from a pfSense server. The file is
however missing on that pfSense server. I worked around this by copying
the old cymru url back from RC3.


Thanks for catching that, there was a typo in the URL. I fixed it, and 
put the file in the typo location as well so the existing installs will 
work also.


I've tested this now on a fresh install, and you're right, it will work
on existing installs.
The missing od issue is of course still there, but unlike I wrote in my
original mail, it does not cause the script to abort.

Thanks for fixing this so quickly.

regards,
Jan Hoevers.


Re: [pfSense-discussion] bogons update issue

2008-02-04 Thread Paul M
Jan Hoevers wrote:
> I'm running the embedded version of pfSense on a Soekris 4801.
> 
> 1. The script starts with sleeping a random interval. This caused it to
> abort with a 'od: command not found' message. Apparently the od command
> is missing on the embedded platform, and I worked around this by
> commenting out the random interval sleep.


hmm, yes, the non-embedded 1.2rc4 suffers this too... as a quick hack I
just created a /bin/od script which does "echo 10".. Scott's fix to the
URL allowed the rest to work.





Re: [pfSense-discussion] bogons update issue

2008-02-03 Thread Chris Buechler

Jan Hoevers wrote:


2. On previous versions the bogons file was fetched from cymru.com, but
on RC4 the script tries to get it from a pfSense server. The file is
however missing on that pfSense server. I worked around this by copying
the old cymru url back from RC3.


Thanks for catching that, there was a typo in the URL. I fixed it, and 
put the file in the typo location as well so the existing installs will 
work also.


Re: [pfSense-discussion] bogons update issue

2008-02-03 Thread Scott Ullrich
On 2/3/08, Jan Hoevers <[EMAIL PROTECTED]> wrote:
> I'm running the embedded version of pfSense on a Soekris 4801.
> Today (3 Feb 2008) I upgraded to 1.2-RC4 and it caught my eye that the
> bogons file (/etc/bogons) dated back to October 2007.
>
> I consider bogons filtering important, so I decided not to wait for the
> next automatic update, but instead I ran the update script
> (/etc/rc.bogons_update.sh) manually.
> That did not work and, although I'm not exactly a shell script expert, I
> decided to have a look into it. I got the script running by working
> around two problems:
>
> 1. The script starts with sleeping a random interval. This caused it to
> abort with a 'od: command not found' message. Apparently the od command
> is missing on the embedded platform, and I worked around this by
> commenting out the random interval sleep.

Thanks, just fixed this.

> 2. On previous versions the bogons file was fetched from cymru.com, but
> on RC4 the script tries to get it from a pfSense server. The file is
> however missing on that pfSense server. I worked around this by copying
> the old cymru url back from RC3.
>
> Although my bogons update script is working now, I believe I didn't
> choose the best possible solution for both problems.
> I hope someone of the development team finds time to look into this
> before the next release.

Hrm.  Thanks for the heads up.  We'll get this correct ASAP.

Scott


[pfSense-discussion] bogons update issue

2008-02-03 Thread Jan Hoevers

I'm running the embedded version of pfSense on a Soekris 4801.
Today (3 Feb 2008) I upgraded to 1.2-RC4 and it caught my eye that the
bogons file (/etc/bogons) dated back to October 2007.

I consider bogons filtering important, so I decided not to wait for the
next automatic update, but instead I ran the update script
(/etc/rc.bogons_update.sh) manually.
That did not work and, although I'm not exactly a shell script expert, I
decided to have a look into it. I got the script running by working
around two problems:

1. The script starts with sleeping a random interval. This caused it to
abort with a 'od: command not found' message. Apparently the od command
is missing on the embedded platform, and I worked around this by
commenting out the random interval sleep.

2. On previous versions the bogons file was fetched from cymru.com, but
on RC4 the script tries to get it from a pfSense server. The file is
however missing on that pfSense server. I worked around this by copying
the old cymru url back from RC3.

Although my bogons update script is working now, I believe I didn't
choose the best possible solution for both problems.
I hope someone of the development team finds time to look into this
before the next release.

best regards,
Jan Hoevers