code logs -> 2018 -> Thu, 29 Mar 2018< code.20180328.log - code.20180330.log >
--- Log opened Thu Mar 29 00:00:27 2018
00:04 Jessikat` [Jessikat@Nightstar-b82.tcr.132.82.IP] has joined #code
00:06 Jessikat [Jessikat@Nightstar-val89s.dab.02.net] has quit [Ping timeout: 121 seconds]
00:42 Kindamoody is now known as Kindamoody[zZz]
00:54 celticminstrel [celticminst@Nightstar-m1ak9t.dsl.bell.ca] has joined #code
00:54 mode/#code [+o celticminstrel] by ChanServ
01:19 VirusJTG_ [VirusJTG@Nightstar-q9r0g8.clt.hostedsolutions.com] has joined #code
01:22 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
01:29 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Connection closed]
01:58 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
01:58 mode/#code [+qo Vornicus Vornicus] by ChanServ
02:04 Jessikat` is now known as Jessikat
02:13 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
02:13 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
02:15 Vornlicious [Vorn@Nightstar-s9prct.sub-174-211-12.myvzw.com] has joined #code
02:15 VirusJTG_ [VirusJTG@Nightstar-q9r0g8.clt.hostedsolutions.com] has quit [Connection closed]
02:16 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
02:43 Degi [Degi@Nightstar-ibr0nm.dyn.telefonica.de] has quit [Connection closed]
04:02 bowlich [bowlich@Nightstar-su4ao3.kynda.net] has joined #code
04:39 Reiv [NSkiwiirc@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
05:00 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
05:02 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
05:05 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
05:06 Derakon is now known as Derakon[AFK]
05:19 Vornlicious [Vorn@Nightstar-s9prct.sub-174-211-12.myvzw.com] has quit [[NS] Quit: Bye]
05:19 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
05:25 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
05:30 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
05:30 mode/#code [+qo Vornicus Vornicus] by ChanServ
05:31
< McMartin>
jerith: the lack of compile_string/1 makes getting asm out of Erlang in some sense easier
05:32
< McMartin>
You have to put the source to compile in a module anyway, and once you have that, `compile:file("foo.erl", 'S').` will create foo.S for you.
05:34 celticminstrel [celticminst@Nightstar-m1ak9t.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:58 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
05:58 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
06:34 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [[NS] Quit: leaving]
06:34 Jessikat` [Jessikat@Nightstar-4lsa94.dab.02.net] has joined #code
06:36 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
06:36 mode/#code [+ao McMartin McMartin] by ChanServ
06:36 Jessikat [Jessikat@Nightstar-b82.tcr.132.82.IP] has quit [Ping timeout: 121 seconds]
06:44 Vornlicious [Vorn@Nightstar-s9prct.sub-174-211-12.myvzw.com] has joined #code
06:48 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
07:38 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
07:41 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
07:41 mode/#code [+o Alek] by ChanServ
08:03 Kindamoody[zZz] is now known as Kindamoody
08:19 macdjord [macdjord@Nightstar-ahbhn1.cable.rogers.com] has quit [Ping timeout: 121 seconds]
08:20 macdjord [macdjord@Nightstar-ahbhn1.cable.rogers.com] has joined #code
08:20 mode/#code [+o macdjord] by ChanServ
10:01 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
10:05 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
10:05 mode/#code [+o Alek] by ChanServ
10:05 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
10:15 Jessikat` [Jessikat@Nightstar-4lsa94.dab.02.net] has quit [[NS] Quit: Bye]
11:23 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
11:28 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
11:28 mode/#code [+o Alek] by ChanServ
11:31 Degi [Degi@Nightstar-ibr0nm.dyn.telefonica.de] has joined #code
12:31
<@Pi>
Imma giving a talk: https://www.meetup.com/ctfeds/events/245727127/
12:33
< Vornlicious>
Thought it meant Connecticut and was thus nearly disappointed in another way
12:33 Kindamoody is now known as Kindamoody|afk
14:20 Vornlicious [Vorn@Nightstar-s9prct.sub-174-211-12.myvzw.com] has quit [Ping timeout: 121 seconds]
14:35 Vorntastic [Vorn@Nightstar-t694vi.sub-174-210-1.myvzw.com] has joined #code
15:27 Vorntastic [Vorn@Nightstar-t694vi.sub-174-210-1.myvzw.com] has quit [[NS] Quit: Bye]
15:27 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
17:33
<@TheWatcher>
https://twitter.com/qrs/status/979037861055029248 snrrk
17:34
<&McMartin>
Can confirm
17:35 * McMartin also stares at the Rust 1.25 release notes, as they do a thing that is an obvious parallel to a common complaint but which has never come up in his experience.
17:35
<&McMartin>
To wit, we always complain about map literals that forbid a spurious comma at the end, because it makes them way more inconvenient to generate
17:36
<&McMartin>
But I don't think I've seen people complain about how this is illegal:
17:36
<&McMartin>
match x { | Foo::A => a() | Foo::B => b() }
17:36
<&McMartin>
(That is, opening with an "or" on the alternatives list)
19:11 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
19:12 Vornlicious [Vorn@Nightstar-9moufq.sub-174-210-8.myvzw.com] has joined #code
19:14 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
19:44 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
20:07 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
20:07
< Vornlicious>
When you do that in dynamically generated stuff you usually put `false` before it
20:08 * ToxicFrog | Parsing is considered a solved problem. Unfortunately, this view is naïve, rooted in the widely believed myth that programming languages exist.
20:08
<&ToxicFrog>
(from https://cacm.acm.org/magazines/2010/2/69354-a-few-billion-lines-of-code-later/fulltext )
20:10 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
20:10 mode/#code [+o Alek] by ChanServ
20:22 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
20:22 mode/#code [+qo Vornicus Vornicus] by ChanServ
20:48 Vornlicious [Vorn@Nightstar-9moufq.sub-174-210-8.myvzw.com] has quit [[NS] Quit: Bye]
20:48 Vorntastic [Vorn@Nightstar-ct1qjt.res.rr.com] has joined #code
21:13
< RchrdB>
that article is full of gold
21:14
< RchrdB>
"True story: A networking company agreed to buy the Coverity product, and one week later laid off 110 people (not because of us). Good or bad? For the fired people it clearly wasn't a happy day. However, it had a surprising result for us at a business level; when these people were hired at other companies some suggested bringing the tool in for a trial, resulting in four sales."
21:14
< RchrdB>
perverse incentives dot jay peg
21:15
< RchrdB>
come to think of it, a fairly depressing fraction of sales at $lastjob resulted only from previous customers switching jobs to go work in different local councils or govt departments
21:37
<&[R]>
while read server; do if ssh -no StrictHostKeyChecking=No -o PasswordAuthentication=no ${server} echo -n 2>/dev/null; then printf 'PASS\t%s\n' ${server}; else printf 'FAIL\t%s\n' ${server}; fi; done < servers # someone might find this useful
21:38
< Degi>
Does it check if servers have ssh password authentication?
21:42
<&[R]>
Nope
21:42
<&[R]>
Checks to see if you can log-in to the servers without a password (IE via pub-key)
21:43
< [>
why w/ host key check disabled?
21:44
<&[R]>
`echo -n` should be replaced with `true` actually
21:44
<&[R]>
Because if the host isn't in known_hosts ssh asks questions
21:44
<&[R]>
You don't want it asking questions
21:47
<&[R]>
Note: servers can also contain user@host if you want
21:52
< RchrdB>
Something to check for safety: that doesn't enforce that hosts are in ~/.ssh/known_hosts with known keys before you connect to them, but *does it add them there*?
21:53
< RchrdB>
I think that will happily log into ssh honeypots. Just because the server accepted your pubkey doesn't mean you necessarily want to log in. ;)
21:54
< RchrdB>
useful though
21:54
< RchrdB>
at $lastjob we ended up with a think in ansible that set up ssh authorized_keys for every server.
21:54 Kindamoody|afk is now known as Kindamoody
21:56
< [>
yeah i was thinking i'd rather it fail for unknown hosts rather than log in and potentially save the host key
21:56
<&[R]>
No
21:58
<&[R]>
$ mv ~/.ssh/known_hosts{,2}; touch ~/.ssh/known_hosts; while read server; do if ssh -no StrictHostKeyChecking=No -o PasswordAuthentication=no ${server} echo -n 2>/dev/null; then printf 'PASS\t%s\n' ${server}; else printf 'FAIL\t%s\n' ${server}; fi; done < servers >/dev/null; cat ~/.ssh/known_hosts
21:58
<&[R]>
$
22:01
<&[R]>
Also I somewhat assume that you want to be able to log into all the hosts in servers
22:01
<&[R]>
IE: no honey-pots
22:02
<&[R]>
(Also I touch known_hosts in the example above, because in the test before that, ssh didn't make the file)
22:04
< RchrdB>
[R], nice
22:23 Vornlicious [Vorn@Nightstar-fhpqgh.sub-174-210-16.myvzw.com] has joined #code
22:25
<&[R]>
Hmm, looking at my known_hosts file because I thought it might be neat to parse it
22:26
<&[R]>
But it looks like it's in two entirely different formats?
22:27 Vorntastic [Vorn@Nightstar-ct1qjt.res.rr.com] has quit [Ping timeout: 121 seconds]
22:27
<&[R]>
Hmm, or maybe not? Just the hostname/IP part is in different formats
22:28
<&[R]>
One is just plain text, the other is |1|{BASE64}|{BASE64}
22:28
< RchrdB>
Other thing you might expect to see is that the lines for hosts where the host key is an RSA key are way longer than the ones for hosts which use an ECDSA key.
22:31 Vornlicious [Vorn@Nightstar-fhpqgh.sub-174-210-16.myvzw.com] has quit [[NS] Quit: Bye]
22:31
<&[R]>
Interesting, I didn't actually notice that
22:31 Vorntastic [Vorn@Nightstar-ct1qjt.res.rr.com] has joined #code
22:31
<&[R]>
Should I update those servers to have RSA keys?
22:31
<&[R]>
(Or at least bigger keys in general)
22:33
< RchrdB>
no, RSA takes way more bits and cycles to get the same level of security that ECDSA does
22:33
< RchrdB>
at least, as far as anyone can tell
22:33
<&[R]>
Ah
22:33
<&[R]>
Interesting
22:34
< RchrdB>
notwithstanding the fact that "is ANYTHING even slightly secure? might someone invent a working quantum computer tomorrow morning?" is a perpetually open problem in computer security
22:34
< RchrdB>
s/computer security/cryptography/
22:39
<&[R]>
Yeah
22:47
<&[R]>
https://en.wikibooks.org/wiki/OpenSSH/Client_Configuration_Files#/etc/ssh/ssh_known_hosts <-- some interesting things to play with here
22:59
<&[R]>
TIL you don't need the // after http:
23:00
<&[R]>
Or at least FF will add it for you
23:04
<@Tamber>
<unrelated> ...420 lines of 'code' (typedefs, struct declarations, and a couple of data tables), 40 lines of comment, 83 blank lines. ...this is an abomination. </unrelated>
23:17 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
23:24
<@TheWatcher>
Tamber: eww
23:42 Vornlicious [Vorn@Nightstar-0l8qv9.sub-174-210-21.myvzw.com] has joined #code
23:43 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:44 Vorntastic [Vorn@Nightstar-ct1qjt.res.rr.com] has quit [Ping timeout: 121 seconds]
--- Log closed Fri Mar 30 00:00:28 2018
code logs -> 2018 -> Thu, 29 Mar 2018< code.20180328.log - code.20180330.log >

[ Latest log file ]