libiptc ... and matches , seg fault
Francesco Ciocchetti
primero at fastwebnet.it
Fri Jul 15 12:29:43 CEST 2005
Patrick Schaaf wrote:
>>in libipt_tcp.c ... what i'm wondering now is why my "me->version" could
>>be or is NULL or maybe program_version could be NULL too.
>>
>>
>
>Why are you wondering about these two alternatives, instead of testing it
>(by inserting suitable printing before the problem point, and/or using
>a debugger)?
>
>
just done it ... and had not time to say "Thanks to all that ansered me
i found the problem and solved" before u post.
>Please note that this mailing list is not meant as an educational
>forum for beginning C programmers... And the iptables userlevel
>libraries are not targeted to be standalone libraries for easy
>use by casual programmers...
>
it does not seems that i asked for a "fast tutorial on C programming"
but i asked for a problem related to libiptc libs ... there is a "more
suitable" mailing list for such a question ? sorry if , once found the
problem, i asked for something as "why i'm getting this problem with
strcmp?" but u know, not everyone has borned expert C programmer as u
did ... and, AFAIK asking is the only way to get there .
I really don't understand this kind of "witch hunting" against little OT
in ML and Forums ... i know that years ago this was not the "common way
to act" maybe today it is , but this is really really sad.
Sharing , Asking and Answering is what lead us here where we are .... i
hope we are not loosing this for an "expert C programmers closed shrine".
>So it is to be expected that you
>must be a C expert if you want to use those libraries... And be
>prepared that they may change radically with the next release
>of iptables...
>
>
>
no problem with that, i was born "ready" ....
Btw thanks to all that helped me solving the problem.
Sincerly yours
Francesco, casual programmer ;)
>The official interfaces for manipulating iptables rules, are the
>iptables and iptables-restore PROGRAMS.
>
>best regards
> Patrick
>
>
More information about the netfilter-devel
mailing list