gpt followup
Mar. 21st, 2023 01:21 pmПока что место, в котором gpt восхитителен (>80% точность), это контекстый пересказ манов.
... когда я был совсем молодым, мне говорили про "чтение манов с выражением". И вот, это время настало. Могучая айтишная система, способная с выражением ответить на вопросы по манам.
> what is action=6 in output of pyroute2 get_rules?
(bla-bla-bla)
In the context of routing rules, action=6 corresponds to the RTN_THROW action, which indicates that packets matching this rule should be discarded and an error message should be returned to the sender.
When a packet matches a rule with action=6, it is immediately dropped, and the kernel sends an error message back to the sender with the appropriate error code (e.g., "Destination Host Unreachable" or "No Route to Host", depending on the circumstances). This action can be useful for enforcing network security policies or implementing complex routing configurations.
Идеально, просто идеально.
... когда я был совсем молодым, мне говорили про "чтение манов с выражением". И вот, это время настало. Могучая айтишная система, способная с выражением ответить на вопросы по манам.
> what is action=6 in output of pyroute2 get_rules?
(bla-bla-bla)
In the context of routing rules, action=6 corresponds to the RTN_THROW action, which indicates that packets matching this rule should be discarded and an error message should be returned to the sender.
When a packet matches a rule with action=6, it is immediately dropped, and the kernel sends an error message back to the sender with the appropriate error code (e.g., "Destination Host Unreachable" or "No Route to Host", depending on the circumstances). This action can be useful for enforcing network security policies or implementing complex routing configurations.
Идеально, просто идеально.