00:00:09  * ircretaryjoined
00:00:12  * importantshockquit (Remote host closed the connection)
00:00:46  * importantshockjoined
00:04:22  * importan_joined
00:04:27  * importantshockquit (Read error: Connection reset by peer)
00:15:58  * saapasquit (Ping timeout: 252 seconds)
00:17:35  * saapasjoined
00:24:07  * cjihrigquit (Ping timeout: 240 seconds)
00:24:12  * importan_quit (Remote host closed the connection)
00:24:28  * cjihrigjoined
00:24:41  * cjihrigpart
00:25:18  * bturkerquit (Ping timeout: 265 seconds)
00:59:26  * bturkerjoined
01:36:47  * importantshockjoined
01:37:55  * jgiquit (Quit: jgi)
01:38:46  * bturkerquit (Ping timeout: 265 seconds)
01:50:11  * Ralithquit (Ping timeout: 240 seconds)
02:03:20  * Fishrock123joined
02:17:18  * Ralithjoined
02:30:54  * bturkerjoined
02:44:11  * Fishrock123quit (Remote host closed the connection)
02:44:25  * zju3joined
02:44:50  * zju1quit (Read error: Connection reset by peer)
03:05:28  * zju1joined
03:06:17  * zju3quit (Ping timeout: 250 seconds)
03:07:00  * zju4quit (Ping timeout: 240 seconds)
03:11:04  * Fishrock123joined
03:34:16  * rmg_quit (Remote host closed the connection)
03:34:37  * rmgjoined
03:50:50  * dap_joined
03:52:39  * toothrotquit (Ping timeout: 250 seconds)
03:56:49  * jgijoined
04:36:21  * importantshockquit (Remote host closed the connection)
04:36:53  * importantshockjoined
04:41:11  * importantshockquit (Ping timeout: 240 seconds)
04:45:38  * importantshockjoined
04:45:50  * dap_quit (Quit: Leaving.)
04:56:32  * importantshockquit (Remote host closed the connection)
04:58:29  * avalanche123joined
05:06:15  * seishunjoined
05:13:35  * avalanche123quit (Remote host closed the connection)
05:17:36  * avalanche123joined
05:18:45  * importantshockjoined
05:18:48  * importantshockquit (Remote host closed the connection)
05:22:28  * importantshockjoined
05:25:02  * Fishrock123quit (Quit: Leaving...)
05:26:54  * importantshockquit (Ping timeout: 265 seconds)
06:18:14  * avalanch_joined
06:21:16  * avalanche123quit (Ping timeout: 255 seconds)
06:26:16  * qardquit (Quit: My Mac has gone to sleep. ZZZzzz…)
06:32:07  * seishunquit (Ping timeout: 250 seconds)
06:45:27  * rendarjoined
06:51:58  * bturkerquit (Ping timeout: 265 seconds)
07:08:04  * jgiquit (Ping timeout: 252 seconds)
07:09:32  <saghul>indutny: sorry, didn't stay up that late, will reply on GH
07:15:44  * roxlujoined
07:28:52  * avalanche123joined
07:32:08  * avalanch_quit (Ping timeout: 256 seconds)
07:33:38  * avalanche123quit (Remote host closed the connection)
07:36:03  * rmgquit (Ping timeout: 260 seconds)
07:40:58  * etnbrdjoined
07:41:26  * Domenicquit (K-Lined)
07:41:26  * MLMquit (K-Lined)
07:41:26  * iarnaquit (K-Lined)
07:41:28  * othiym23quit (K-Lined)
07:41:28  * parshapquit (K-Lined)
07:41:28  * brycebarilquit (K-Lined)
07:41:28  * coderkevinquit (K-Lined)
07:41:28  * iamstefquit (K-Lined)
07:41:28  * tomgcoquit (K-Lined)
07:41:28  * mikolalysenkoquit (K-Lined)
07:41:28  * zarroc__quit (K-Lined)
07:41:29  * benoitcquit (K-Lined)
07:41:29  * thefourtheyequit (K-Lined)
07:41:29  * Raynosquit (K-Lined)
07:41:29  * zkatquit (K-Lined)
07:41:29  * ckross01quit (K-Lined)
07:41:29  * cndquit (K-Lined)
07:41:30  * wilkapquit (K-Lined)
07:41:30  * kellabytequit (K-Lined)
07:41:31  * tolmaskyquit (K-Lined)
07:41:31  * indexzeroquit (K-Lined)
07:41:31  * savardcquit (K-Lined)
07:41:31  * eugenewarequit (K-Lined)
07:41:33  * soarezquit (K-Lined)
07:41:33  * petka__quit (K-Lined)
07:41:35  * groundwaterquit (K-Lined)
07:41:35  * jcrugzzquit (K-Lined)
07:41:35  * bretquit (K-Lined)
07:43:17  * groundwaterjoined
07:43:17  * zkatjoined
07:43:22  * petka__joined
07:45:44  * bretjoined
07:55:43  * zarroc__joined
07:56:43  * zjujoined
08:11:39  * SergeiRNDjoined
08:18:53  * dignifiedquirejoined
08:19:41  * etnbrdquit (Quit: etnbrd)
08:56:24  * niskaquit (Ping timeout: 240 seconds)
08:58:45  * bturkerjoined
09:01:30  * niskajoined
09:02:14  * SergeiRNDquit (Quit: Leaving.)
09:02:29  * SergeiRNDjoined
09:03:26  * bturkerquit (Ping timeout: 265 seconds)
09:08:24  * avalanche123joined
09:12:44  * avalanche123quit (Ping timeout: 246 seconds)
09:18:05  * rmgjoined
09:23:23  * rmgquit (Ping timeout: 272 seconds)
09:47:23  * bturkerjoined
09:49:14  * wilkapjoined
09:50:44  * indexzerojoined
09:51:13  * cndjoined
09:51:32  * tolmaskyjoined
09:51:40  * mikolalysenkojoined
09:51:48  * dignifiedquirequit (Read error: Connection reset by peer)
09:52:15  * bturkerquit (Ping timeout: 265 seconds)
09:52:18  * dignifiedquirejoined
09:52:25  * Domenicjoined
09:52:51  * benoitcjoined
09:52:52  * Raynosjoined
09:52:56  * eugenewarejoined
09:53:07  * kellabytejoined
09:53:12  * savardcjoined
09:53:36  * iamstefjoined
09:54:04  * coderkevinjoined
09:54:04  * parshapjoined
09:54:41  * othiym23joined
09:55:07  * iarnajoined
09:55:35  * jcrugzzjoined
09:55:40  * soarezjoined
09:56:41  * thefourtheyejoined
09:56:42  * ckross01joined
10:02:11  * tomgcojoined
10:02:35  * avalanche123joined
10:03:02  * brycebariljoined
10:07:12  * MLMjoined
10:07:14  * avalanche123quit (Ping timeout: 265 seconds)
10:10:50  * SergeiRND1joined
10:13:17  * SergeiRNDquit (Ping timeout: 246 seconds)
10:21:45  * tarrudaquit (Quit: WeeChat 1.2)
10:23:39  * tarrudajoined
10:57:13  * avalanche123joined
11:01:20  * avalanche123quit (Ping timeout: 240 seconds)
11:10:50  * stagasjoined
11:25:12  * SergeiRND1quit (Quit: Leaving.)
11:39:20  * stagasquit (Ping timeout: 240 seconds)
11:51:24  * avalanche123joined
11:55:50  * avalanche123quit (Ping timeout: 246 seconds)
11:56:59  * SergeiRNDjoined
11:57:50  * toothrotjoined
11:58:48  * bturkerjoined
12:03:43  * bturkerquit (Ping timeout: 265 seconds)
12:12:59  * cjihrigjoined
12:14:28  * bturkerjoined
12:19:11  * bturkerquit (Ping timeout: 265 seconds)
12:23:33  * roxluquit (Quit: My Mac has gone to sleep. ZZZzzz…)
12:47:03  * avalanche123joined
12:53:01  * avalanche123quit (Ping timeout: 265 seconds)
12:55:09  * dawsonmquit (Read error: Connection reset by peer)
12:57:19  * roxlujoined
12:57:54  * roxluquit (Max SendQ exceeded)
13:04:16  * importantshockjoined
13:13:32  * toothrotquit (Ping timeout: 246 seconds)
13:22:46  * SergeiRNDquit (Quit: Leaving.)
13:23:06  * SergeiRNDjoined
13:35:32  * dignifiedquirequit (Quit: dignifiedquire)
13:35:59  * dignifiedquirejoined
13:40:00  * avalanche123joined
13:45:00  * avalanche123quit (Ping timeout: 256 seconds)
14:26:14  * bturkerjoined
14:31:08  * bturkerquit (Ping timeout: 265 seconds)
14:34:10  * avalanche123joined
14:38:22  * alexforsterjoined
14:39:58  * avalanche123quit (Ping timeout: 256 seconds)
14:41:38  * bturkerjoined
14:49:11  * evanlucasjoined
14:58:06  * seishunjoined
15:02:23  * seishunquit (Read error: Connection reset by peer)
15:07:02  * SergeiRNDquit (Quit: Leaving.)
15:11:19  * seishunjoined
15:12:06  <indutny>saghul: np
15:12:09  <indutny>saghul: timezones :)
15:15:36  * bturkerquit (Ping timeout: 265 seconds)
15:45:15  * dignifiedquirequit (Quit: dignifiedquire)
15:45:21  * bturkerjoined
15:48:45  * evanlucasquit (Ping timeout: 246 seconds)
15:49:16  * importantshockquit (Remote host closed the connection)
15:49:50  * importantshockjoined
15:50:30  * rmgjoined
15:51:04  * avalanche123joined
15:52:29  <creationix>indutny: do you know how to send ICMP pings using libuv?
15:52:36  <indutny>creationix: heya
15:52:39  <indutny>creationix: never did it, sorry
15:53:09  <creationix>indutny: btw, what are you up to these days?
15:54:01  * importantshockquit (Ping timeout: 240 seconds)
15:54:10  <indutny>creationix: just some random stuff :)
15:54:12  <indutny>creationix: as usual
15:54:14  <indutny>creationix: what about you?
15:54:15  <alexforster>creationix: create a raw socket: uv_os_sock_t sock = socket( AF_INET, SOCK_RAW, IPPROTO_ICMP );
15:54:48  <alexforster>then uv_udp_open it
15:55:04  <creationix>alexforster: really, UDP?
15:55:09  <alexforster>going to have to do the ICMP headers part yourself I believe
15:55:14  <creationix>indutny: I work full-time on luvit for rackspace
15:55:23  <indutny>creationix: that's super cool!
15:55:45  <creationix>this week I need to add remote ping checks to the agent (descendent of pquerna’s cloudkick project)
15:55:49  <alexforster>it's called "udp" but it can operate on any stateless IP proto
15:56:09  <creationix>alexforster: good to know. I wonder if adding windows support would be hard
15:56:10  <alexforster>you might want to use OS facilities to do it, but if you need to stay within libuv iirc that's the only way
15:56:37  <creationix>alexforster: ideally I use only libuv’s public APIs and things luajit’s FFI can call (so any C api on the system)
15:57:34  <creationix>as with node, C based libraries are a pain work with in luvit, but at least we have a great FFI built in
15:58:06  <creationix>I just worry I’m digging down to less portable stuff like IOCTL
15:58:17  <alexforster>yeah, you are, even with my suggested way
15:58:25  <creationix>in ffi I can’t compile against system headers like C can
15:58:33  <alexforster>the part where you open the raw socket is completely nonportable across win/mac/linux/bsd
15:59:10  <creationix>would it be consistent within an OS at least? I don’t mind having 4 branches, we support win/mac/linux/freebsd
15:59:20  <alexforster>should be
16:00:04  <creationix>and for this particular feature 99% of the deployments will be linux.
16:00:12  <creationix>I wonder why libuv never added raw sockets
16:00:20  <creationix>not enough demand?
16:00:57  <creationix>saghul: do you know why libuv doesn’t have raw sockets?
16:01:27  <rendar>creationix: i guess because they not needed
16:01:48  <creationix>makes sense, other than ping, I’ve never needed them for anything
16:02:04  <creationix>most everything nowadays is UDP or TCP
16:02:08  * importantshockjoined
16:03:52  <creationix>(though I did once have a project using DTLS over SCTP for ORTC type stuff)
16:04:18  <rendar>creationix: well, pretty esotic things i guess
16:04:18  <rendar>:)
16:04:25  <rendar>creationix: what was that project about?
16:05:02  <creationix>that was for openpeer.org, P2P stuff
16:05:12  <creationix>WebRTC and ORTC
16:05:22  <creationix>signaling and whatnot
16:05:36  <creationix>my job was to implement the protocols in pure JavaScript whenever possible
16:06:08  <rendar>i see
16:06:27  <rendar>so, SCTP is used sometimes, i thought it wasn't at all
16:07:17  * importantshockquit (Remote host closed the connection)
16:08:59  * importantshockjoined
16:13:36  * bturkerquit (Ping timeout: 265 seconds)
16:14:49  * jgijoined
16:15:06  * davijoined
16:17:17  * bturkerjoined
16:21:51  * importantshockquit (Remote host closed the connection)
16:22:23  * importantshockjoined
16:25:40  * daviquit (Remote host closed the connection)
16:26:55  * importantshockquit (Ping timeout: 268 seconds)
16:28:23  * importantshockjoined
16:38:43  * davijoined
16:38:43  * daviquit (Changing host)
16:38:43  * davijoined
16:40:11  * importantshockquit (Remote host closed the connection)
16:40:20  * reqsharkjoined
16:40:22  * reqsharkquit (Remote host closed the connection)
16:40:43  * importantshockjoined
16:42:33  * reqsharkjoined
16:42:33  * reqsharkquit (Remote host closed the connection)
16:44:49  * importantshockquit (Ping timeout: 240 seconds)
16:50:44  * qardjoined
16:51:08  * importantshockjoined
17:01:33  * jgiquit (Quit: jgi)
17:11:59  * jgijoined
17:30:51  <creationix>alexforster: so let me confirm. If I pass a raw socket to libuv’s udp, it won’t add the udp header or set the IP type to udp? I’ll need to IP and ICMP headers myself?
17:42:51  * alexforsterquit (Ping timeout: 240 seconds)
18:00:59  * jhamhaderjoined
18:05:01  * avalanche123quit (Remote host closed the connection)
18:38:51  * daviquit (Ping timeout: 246 seconds)
18:44:53  * bturkerquit (Ping timeout: 265 seconds)
18:47:36  * rendarquit (Ping timeout: 246 seconds)
18:54:19  * rendarjoined
18:58:46  * Jacob8432joined
19:02:18  * Jacob843quit (Ping timeout: 246 seconds)
19:21:41  * bturkerjoined
19:23:34  * qardquit (Quit: My Mac has gone to sleep. ZZZzzz…)
19:26:56  * bturkerquit (Ping timeout: 265 seconds)
19:34:43  * alexforsterjoined
19:35:34  <alexforster>creationix: sorry, it won't touch the packet – I believe the linux kernel will pass you IP and ICMP raw contents and expect the same from you
19:35:40  <alexforster>you won't get layer 2
19:35:51  <alexforster>at least, that's how it works with IPPROTO_GRE
19:36:08  <alexforster>as far as other platforms, not sure what happens
19:37:00  <creationix>thanks
19:37:38  * qardjoined
19:40:43  * bturkerjoined
19:46:58  * davijoined
19:47:52  * evanlucasjoined
19:48:34  * daviquit (Remote host closed the connection)
19:52:00  * davijoined
19:56:31  <saghul>creationix: I guess nobody bothered to implement it :-)
19:56:42  <saghul>also, I'm not sure how cross-platform they are
19:56:58  <saghul>and you need to be root or have certain capability to use them, IIRC
19:56:58  <creationix>would you be willing to add it if someone did the work?
19:57:15  <creationix>yes, you do need root, but you also need root to bind to port 80, people do that with libuv all the time
19:57:31  <saghul>first I'd like to see a design proposal :-)
19:57:44  <saghul>sure
19:57:47  <creationix>heh, the leps
19:58:35  * daviquit (Remote host closed the connection)
20:01:52  * davijoined
20:07:30  * daviquit (Remote host closed the connection)
20:12:19  * davijoined
20:19:39  * daviquit (Ping timeout: 246 seconds)
20:22:50  <creationix>saghul: something like https://github.com/creationix/leps/blob/master/004-raw-sockets.md?
20:23:03  <creationix>I’m afraid I don’t know enough yet to propose a concrete API
20:28:03  * seishunquit (Ping timeout: 246 seconds)
20:28:41  * SergeiRNDjoined
20:30:42  * jgiquit (Quit: jgi)
20:33:33  * evanlucasquit (Quit: Textual IRC Client: www.textualapp.com)
20:33:46  <creationix>saghul: would your uv_udp_init flags allow me to create a raw socket with the right flags?
20:34:43  <creationix>hmm, there is a whitelist in the allowed domain flags
20:43:53  * SergeiRNDquit (Quit: Leaving.)
21:13:23  * Jacob8432quit (Quit: Leaving)
21:13:59  * Jacob843joined
21:48:21  * jgijoined
21:58:31  * alexforsterquit
21:59:46  * avalanche123joined
22:02:03  * jhamhaderquit (Ping timeout: 250 seconds)
22:04:30  * toothrotjoined
22:04:30  * jhamhaderjoined
22:08:12  * WakiMikoquit (Max SendQ exceeded)
22:09:54  * WakiMikojoined
22:10:24  * avalanche123quit (Remote host closed the connection)
22:10:39  * avalanche123joined
22:15:35  * normanmquit (Excess Flood)
22:16:32  * normanmjoined
22:18:48  * normanmquit (Changing host)
22:18:48  * normanmjoined
22:18:52  * Damn3dquit (Ping timeout: 252 seconds)
22:19:15  * Damn3djoined
22:25:51  * orangemochaquit (Ping timeout: 252 seconds)
22:26:44  <saghul>creationix: we have uv_udp_init_ex, which can be extended further
22:27:03  <saghul>creationix: I'll take a look in the morning, thanks!
22:27:08  <creationix>thank you
22:27:20  <creationix>C networking APIs are all new to me
22:27:20  * normanmquit (Ping timeout: 252 seconds)
22:27:30  * normanmjoined
22:28:04  * orangemochajoined
22:29:21  * jgiquit (Quit: jgi)
22:29:48  * jgijoined
22:30:46  * avalanche123quit (Remote host closed the connection)
22:31:12  * avalanche123joined
22:50:19  * steelbrainjoined
23:01:24  <rendar>saghul: what is that function for?
23:21:33  * rendarquit
23:21:43  * avalanche123quit (Remote host closed the connection)
23:23:07  * avalanche123joined
23:27:40  * steelbrainquit (Quit: Leaving)
23:49:08  * avalanche123quit (Remote host closed the connection)
23:59:32  * bturkerquit (Ping timeout: 265 seconds)