[sr-dev] source addr param to pike_check_req()

Daniel-Constantin Mierla miconda at gmail.com
Tue Oct 13 15:40:59 CEST 2020


On 13.10.20 10:54, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> I am fine to add it. So far I preferred to discard unwanted traffic at
>> the brorder of the core platform, so I didn't need such feature.
> I agree, better to do blocking at the edge.

The changes were not complex, so I just pushed the code implementing
this feature. It can be useful to trigger alerts using Via or Contact
headers, even at the edge proxy. More over, can be used to write logs
when forwarding too much traffic to a specific ip address, although in
this case pipelimit can provide more flexibility.

I also extended to be allowed to be used in on/reply_route. Now thinking
about it, probably makes sense to allow it inside onsend_route as well.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla




More information about the sr-dev mailing list