|
Post by madf00bar on Jun 13, 2015 11:29:03 GMT
I upgraded my ALIX board from b5 to 1.8.2 using generic-pc-serial. After reboot I went to read logs to see what's new, and found nothing there. Can't find a menu item to enable logging. Wassup - am I missing something obvious ? Thanks!
|
|
44bsd
New Member
Posts: 2
|
Post by 44bsd on Jun 13, 2015 11:39:28 GMT
Just did an upgrade of an old m0n0wall box - and am seeing same, i.e., no logs - any suggestions to mitigate?
Thanks,
Version 1.8.2 built on Mon Jun 8 01:20:18 CDT 2015 Platform Soekris net5501
|
|
|
Post by Lee Sharp on Jun 13, 2015 15:56:13 GMT
Yes this is a bug, and I am working on it now. It is also NOT limited to the serial version.
It seems to be something in the build process, because it is not in the beta. I will have a fix as soon as I can! Thank you for the report!
|
|
widea
New Member
Posts: 4
|
Post by widea on Jun 13, 2015 16:30:25 GMT
Fyi: it looks like the log files are binary (or damaged), exec.php and 'cat /var/log/filter.log' displays 'CLOG' and then a few characters:
|
|
|
Post by Lee Sharp on Jun 13, 2015 17:37:59 GMT
I found the issue... The syslogd.c source on my build machine was corrupt... So the patch did not apply correctly, and the syslog binary did not build as expected. To fix it I am having to fix my build machine and make a new image. I should have something very soon! And widea, that was some good hunting! Have you every thought about SmallWall development?
|
|
widea
New Member
Posts: 4
|
Post by widea on Jun 13, 2015 18:48:53 GMT
And widea, that was some good hunting! Have you every thought about SmallWall development? When I win the lottery and have free time left
|
|
|
Post by Lee Sharp on Jun 13, 2015 19:10:09 GMT
New build tested and functional. I am uploading it now.
|
|
|
Post by Lee Sharp on Jun 14, 2015 16:02:21 GMT
I thought I would post what happened to create this bug and how it slipped through. After all, if someone learns from my mistake, perhaps it isn't so bad. The 1.8.2 and 1.8.3 releases are based on 1.8.2b6 which was unreleased, and has very few changes over 1.8.2b5. It was tested by several people and worked perfectly. (well, it did not have this bug) So, on the 8th, I moved it to "tags" and changed the version file and the build script only, and created an image. Since it had been throughly tested already, all I did was install it to make sure it worked. (I did not look at each page) I also made some custom images for partners and sent it to them, and they installed as well. (And apparently did not check logs) The next day, after hearing nothing, I released 1.8.2 publicly, and many people downloaded it. (And also did not check logs) On the 12th, we hit slashdot. This was a good thing, and there was more traffic on Saturday then there has been the entire time the website has been up! And many more people running SmallWall! And some of them checked logs... Ooops! Building SmallWall is a complex process, and it is mostly scripted. Several of the tools are modified either to run in the smaller environment, or to work with the php and xml based system, or both. So clean source tools from FreeBSD are patched to build the custom binaries. In my case, /usr/src/user.sbin/syslogd/syslogd.c had a patch applied and not removed. So when run again, it was removed, and not patched... So it failed to run, and there were no logs. Figuring out what happened was a challenge, but the fix was simple. After known good builds 1.8.2b6 and 1.8.2b5 also had the problem, I knew it was the build environment, not the image. So I installed a new system in a VM and started the build. Then I compared the file systems and found the corrupt file. I went to all of this trouble because "fixing" the problem without understanding why it happened does not really "fix" the problem. Moving forward, I will be working on the build scripts to make sure the build environment is clean (Or at least that the patches are not already applied...) before starting. It won't fix everything, but it will fix this! And most of all, thank you to the new users who provided very good bug reports, and made fixing it much easier on an early Saturday morning when I was still half asleep.
|
|
44bsd
New Member
Posts: 2
|
Post by 44bsd on Jun 14, 2015 18:38:44 GMT
I can confirm 1.8.3 is now working for me - very nice!
Thanks much for the quick bug fix - well done.
|
|
|
Post by descarte on Jun 14, 2015 20:02:38 GMT
I'd also like to send my appreciation out for the quick bug fix too - having problems with VPN I needed to see the logs. Waking up this morning to find this stuff fixed was just exceptional.
|
|
|
Post by Lee Sharp on Jun 14, 2015 21:09:21 GMT
It must have been the total opposite of when I work up yesterday to this thread and found out that I was on the cover of slashdot and somehow forgot my pants! (No logs? How could I do that?) I was very glad that I could get it fixed quickly!
|
|
|
Post by descarte on Jun 14, 2015 22:02:55 GMT
These things happen. At least you rolled up your sleeves and took on a project which I personally wouldn't have the time to do, and a project I've relied on for a number of years now. I was dreading looking at alternatives and evaluating them and perhaps having to throw away my ALIX firewalls for something that could handle the requirements of those other firewalls.
You've helped me and a lot of people dodge a bullet - and for that I'm grateful.
|
|
|
Post by Lee Sharp on Jun 15, 2015 4:42:23 GMT
I did it because I and my clients were some of those people. But thanks for the thanks anyway!
|
|