Re: [Qt-creator] Qt Creator for Linux Kernel Development

2016-11-22 Thread Orgad Shaneh
On Wed, Nov 23, 2016 at 7:51 AM, Jason A. Donenfeld wrote: > (A) Qt Creator doesn't seem to parse the C correctly. Things like > designated initializers and a few other C features here and there just > don't get parsed correctly, and the IDE stops being useful. I suspect > this is because things

Re: [Qt-creator] Qt Creator for Linux Kernel Development

2016-11-22 Thread Konstantin Tokarev
23.11.2016, 08:51, "Jason A. Donenfeld" : > Hello Eike & Qt Creator mailing list, > > I'm insane and decided to try using an IDE for Linux kernel > development. Much to my delight, it actually works well. (Everybody on > the mailing list to which this message is cross-posted just vomited a > litt

Qt Creator for Linux Kernel Development

2016-11-22 Thread Jason A. Donenfeld
Hello Eike & Qt Creator mailing list, I'm insane and decided to try using an IDE for Linux kernel development. Much to my delight, it actually works well. (Everybody on the mailing list to which this message is cross-posted just vomited a little bit in their mouth and swallowed, but fear not: I'm

Re: [WireGuard] Pull-based peer configuration

2016-11-22 Thread Jason A. Donenfeld
Hey, I've thought about the same sort of thing, too. Indeed this would be different from an IKE daemon, because it would just be a datastructure provider, rather than a crypto protocol situation. I envision two uses of a pull model: "please compute this ECDH multiplication using some daemon-contr

Re: [WireGuard] Is nf_conntrack really needed?

2016-11-22 Thread Jason A. Donenfeld
Hey, In fact, it's not needed if it's not needed. How to explain this apparent tautology? If conntracking is compiled into the kernel, then for ICMP, I need to ask conntracking if it's possibly mangled the src IP of the packet before giving it to the wireguard device. If conntracking isn't compil

[WireGuard] Pull-based peer configuration

2016-11-22 Thread Baptiste Jonglez
Hi, Right now, the only method for configuring peers is "push-based", i.e. using `wg` to push the public key and AllowedIPs for each peer to the running wireguard instance. I'm toying with the idea of a pull-based model, for instance storing peer configuration in a Radius or SQL database. But it

[WireGuard] Is nf_conntrack really needed?

2016-11-22 Thread Baptiste Jonglez
Hi, I stumbled upon a build error on LEDE, which was caused by a missing dependency to nf-conntrack (and possibly nf-conntrack6). I see that NF_CONNTRACK is used only at one place in device.c, and it is inconditionally required since 3106d632de ("build system: revamp building and configuration").