In article < >
(Masud Reza) writes:
>"Didier" <> wrote in message news:<40048807$>...
>> Found it!
>> Thx a lot guys for the help!!
>> For those who want to know:
>>
>> Here is the answer:
>> snip from freebsd mailing list:
>> You have to specify a 'service' of * on the syslogd commandline (with
>> the -a option). By default syslogd only accepts packets coming from
>> the sysog port on the remote host. Cisco uses a dynamicly allocated
>> port for sending the logging.
>> end snip
>>
>> So your rc.conf has to look like (my router is 10.0.0.1/255.255.255.240)
>> syslogd_flags="-a 10.0.0.1/28:*"
>> That solved the problem
>
>This problem might be specific to the freebsd syslogd.
Probably (or at least *BSD).
> The default
>syslog port is 514 and daemon running on this port uses udp transport.
>It does not make any sense on the freebsd syslog daemon part to accept
>data from port 514 only!
I guess it makes about as much sense as restricting the source address -
makes it a little bit harder (but certainly not much) to flood the
server.
>Any machine sending a syslog message is bound to use a port other than
>514 (usually a 'normal' port > 1023).
Not really - on a machine that has a local syslog daemon (e.g. your
typical *nix), programs syslog to the local daemon, which may be
configured to forward messages to a central log server or somesuch.
Such forwarded messages will have source port 514 on all syslogd
implementations I've seen - the daemon sends these on the same socket
that it uses to listen for incoming messages (assuming it does listen -
otherwise it will typically have an open socket bound to that port
anyway, at least if it's expected to forward any messages).
Machines that don't have a syslog daemon can certainly send syslog
messages with source port 514 too - and according to RFC 3164 they
should.
--Per Hedeland