Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Remote syslog: Everything doesn't mean it

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    6 Posts 4 Posters 5.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      drees
      last edited by

      I don't know if this is a new issue or not, but I've got a 1.2.3-snapshot (built on Tue Aug 11 15:23:31 EDT 2009) where I enabled "Everything" for remote syslog, but not everything actually makes it to the remove syslog server.

      For example, ipsec/racoon logs weren't making it.

      After selecting everything including Everything (system events, firewall events, DHCP service events, Portal Auth, VPN events, Everything) I'm now seeing ipsec/racoon messages as expected.

      Also, I also noticed that it had stopped sending out remote syslogs after we had an internal networking issue (our switch died) and it never started sending syslogs again until I re-saved the config.  Anyone ever see it do that before?

      1 Reply Last reply Reply Quote 0
      • G
        gloomrider
        last edited by

        I had a similar experience with the latest snapshot.  In fact, checking "Everything" by itself sends nothing to my syslog daemon.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          It would help to see the contents of your /etc/syslog.conf before and after you have "everything" checked vs the options checked individually.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • D
            drees
            last edited by

            OK, here it is with just Everything checked:

            !ntpdate,!ntpd
            *.*						%/var/log/ntpd.log
            !apinger
            *.*						%/var/log/slbd.log
            !racoon
            *.*						%/var/log/ipsec.log
            !openvpn
            *.*						%/var/log/openvpn.log
            !-ntpd,racoon,openvpn
            local0.*					%/var/log/filter.log
            local3.*					%/var/log/vpn.log
            local4.*					%/var/log/portalauth.log
            local7.*					%/var/log/dhcpd.log
            *.notice;kern.debug;lpr.info;mail.crit; 	%/var/log/system.log
            news.err;local0.none;local3.none;local4.none; 	%/var/log/system.log
            local7.none					%/var/log/system.log
            security.*					%/var/log/system.log
            auth.info;authpriv.info;daemon.info		%/var/log/system.log
            local1.*					%/var/log/slbd.log
            auth.info;authpriv.info 			|exec /usr/local/sbin/sshlockout_pf
            *.emerg						*
            *.*		                                @10.2.1.13
            
            

            And here it is with everything and Everything checked:

            !ntpdate,!ntpd
            *.*						%/var/log/ntpd.log
            !apinger
            *.*						%/var/log/slbd.log
            !racoon
            *.*						%/var/log/ipsec.log
            *.*						@10.2.1.13
            !openvpn
            *.*						%/var/log/openvpn.log
            *.*						@10.2.1.13
            !-ntpd,racoon,openvpn
            local0.*					%/var/log/filter.log
            local3.*					%/var/log/vpn.log
            local4.*					%/var/log/portalauth.log
            local7.*					%/var/log/dhcpd.log
            *.notice;kern.debug;lpr.info;mail.crit; 	%/var/log/system.log
            news.err;local0.none;local3.none;local4.none; 	%/var/log/system.log
            local7.none					%/var/log/system.log
            security.*					%/var/log/system.log
            auth.info;authpriv.info;daemon.info		%/var/log/system.log
            local1.*					%/var/log/slbd.log
            auth.info;authpriv.info 			|exec /usr/local/sbin/sshlockout_pf
            *.emerg						*
            local0.*					@10.2.1.13
            local3.*					@10.2.1.13
            local4.*					@10.2.1.13
            local7.*					@10.2.1.13
            *.notice;kern.debug;lpr.info;mail.crit;		@10.2.1.13
            news.err;local0.none;local3.none;local7.none	@10.2.1.13
            security.*					@10.2.1.13
            auth.info;authpriv.info;daemon.info		@10.2.1.13
            *.emerg						@10.2.1.13
            *.*		                                @10.2.1.13
            
            
            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              That's a new option to catch logs that the other options don't catch, which it does, but as far as truly catching everything it looks like I put that in the wrong place, I'll fix it when I get back from EuroBSDCon.
              http://redmine.pfsense.org/issues/show/91

              1 Reply Last reply Reply Quote 0
              • C
                cmb
                last edited by

                This is fixed now.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.