Send a UDP Syslog packet with Source Port set to 514
Hi,
I am trying to generate a UDP syslog packet from my C application. But I am facing a problem with a Cisco Router ACE that does not like the Source Port being '0' and thus drops the packet.
How can I specify the Source Port in the UDP header to '514' as stated in RFC3164 (Section 2: Transport Layer Protocol)?
"It is RECOMMENDED that the source port also be 514 to
indicate that the message is from the syslog process of the sender"
|