pakon-heavy-guts merge requestshttps://gitlab.nic.cz/turris/pakon-heavy-guts/-/merge_requests2020-11-12T02:23:40+01:00https://gitlab.nic.cz/turris/pakon-heavy-guts/-/merge_requests/35Handle one more EPIPE2020-11-12T02:23:40+01:00Ghost UserHandle one more EPIPEWe can get epipe during sending the initial version. Don't crash on that.We can get epipe during sending the initial version. Don't crash on that.https://gitlab.nic.cz/turris/pakon-heavy-guts/-/merge_requests/34It seems it is possible to have no name in question section2020-11-12T02:23:39+01:00Ghost UserIt seems it is possible to have no name in question sectionNo idea what that means, but we don't want to crash on that.
Fixes #18.No idea what that means, but we don't want to crash on that.
Fixes #18.https://gitlab.nic.cz/turris/pakon-heavy-guts/-/merge_requests/19Make errors from nfq_handle_packet nonfatal2020-11-12T02:23:39+01:00Ghost UserMake errors from nfq_handle_packet nonfatalWe don't want to kill the whole thread, we want to just log it and try
to figure out what might go wrong.
This is a partial solution/step to the solution of #2.We don't want to kill the whole thread, we want to just log it and try
to figure out what might go wrong.
This is a partial solution/step to the solution of #2.https://gitlab.nic.cz/turris/pakon-heavy-guts/-/merge_requests/17Lua-convert: ensure large enough stack2020-11-12T02:23:39+01:00Ghost UserLua-convert: ensure large enough stackMake sure the stack is large enough when pushing multiple values to the
lua stack. Not that it would crash now, but as the code is generic,
there might be problems, in theory.
This is for #6.Make sure the stack is large enough when pushing multiple values to the
lua stack. Not that it would crash now, but as the code is generic,
there might be problems, in theory.
This is for #6.https://gitlab.nic.cz/turris/pakon-heavy-guts/-/merge_requests/9Make sure packets of 4096 bytes fit2016-11-01T16:24:36+01:00Ghost UserMake sure packets of 4096 bytes fithttps://gitlab.nic.cz/turris/pakon-heavy-guts/-/merge_requests/8Fix truncated packets2016-11-01T16:22:57+01:00Ghost UserFix truncated packetsWhen the packet is truncated, allocate a large-enough buffer and add
enough zeroes.
When we truncated the packet, the nf queue library refused to handle it. This way it doesn't complain (it previously complained and killed the thread).When the packet is truncated, allocate a large-enough buffer and add
enough zeroes.
When we truncated the packet, the nf queue library refused to handle it. This way it doesn't complain (it previously complained and killed the thread).https://gitlab.nic.cz/turris/pakon-heavy-guts/-/merge_requests/7Fix handling multiple connected clients2016-11-02T13:02:34+01:00Ghost UserFix handling multiple connected clientsIt kicked clients when there were more than 1, because the vector reallocated and the pointer changed ‒ so the active was set in the old position (which was unallocated memory by that time).It kicked clients when there were more than 1, because the vector reallocated and the pointer changed ‒ so the active was set in the old position (which was unallocated memory by that time).