This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tutorials:security:kamailio-security [2019/04/04 10:34] pepelux |
tutorials:security:kamailio-security [2019/05/03 19:39] henningw add user agent header example |
||
---|---|---|---|
Line 96: | Line 96: | ||
</ | </ | ||
- | ==== Change the server header ==== | + | ==== Change the server |
When Kamailio sends you a packet back, it will be friendly enough to tell you which version of Kamailio is running. This informs the attacker which types of attacks might make sense. | When Kamailio sends you a packet back, it will be friendly enough to tell you which version of Kamailio is running. This informs the attacker which types of attacks might make sense. | ||
Line 117: | Line 117: | ||
sip_warning=0 | sip_warning=0 | ||
</ | </ | ||
+ | |||
+ | To change the user agent header (e.g. used from the dispatcher module to send out OPTIONS requests) use this parameter: | ||
+ | |||
+ | < | ||
+ | user_agent_header=" | ||
+ | </ | ||
+ | |||
===== Anti-Flood ===== | ===== Anti-Flood ===== | ||