#arpnetworks 2015-07-21,Tue

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***Guest15855 has joined #arpnetworks [00:46]
mike-burnsThere's been a font vuln every three weeks for the past, I dunno, four months.
mnathani_: There's not a lot of C _to_ learn. It's a dumb, simple language. I'd start by reading the code and looking up what you don't know.
[00:47]
.......... (idle for 46mn)
kellytkmnathani_: While C wasn't my first language, I got myself to a functional point in a few weeks [01:34]
mercutiothe problem is that knowing how to do a few programs in C isn't the same as working on existing code bases. [01:35]
kellytkThe gotcha is it "wears well", in that the curve to mastery is slightly elongated
mercutio: I agree with that
I wouldn't characterize it as a problem necessarily however
[01:35]
mercutioand generally those that don't already know c are going to be a way off
at least in this day of ages
-s
[01:35]
mike-burnshttps://www.securecoding.cert.org/confluence/display/c/SEI+CERT+C+Coding+Standard - here's a lot of reading on how to write better C. [01:36]
mercutio20 years ago not knowing c people used to generally have assembler knowledge.
but now days people tend to use higher level languages, with more distance from the system, so system coding is more foreign.
also things have got more complicated.
[01:36]
kellytkmike-burns: Thank you for the link. It looks very interesting [01:38]
mercutioi suppose you could in theory do some stuff without knowing much C. [01:38]
kellytkmercutio: My plan has been to learn both low and high level languages to glean what each experience had to offer [01:38]
mercutioi learnt C when i was a teenger
teenager
it didn't take long.
i used the ANSI C book.
but i still get confused looking at things like network drivers.
[01:39]
kellytkLots of moving parts :-) [01:40]
mercutioand like i was checking out tcp source code on openbsd and linux
and the linux stuff is so hard to follow compared to the openbsd stuff.
it's more modular
well lots of stuff is only kind of documented.
[01:41]
probably if you look around you can find more documentation. [01:47]
..... (idle for 24mn)
mike-burnsOpenBSD is super easy to read. It's a great introduction. [02:11]
kellytkPreferences between URLs of the style: 1) /books and /books/$book 2) /books /book/$book 3) Other? [02:14]
mike-burnsI prefer whatever Rails does by default. [02:15]
........................................................... (idle for 4h54mn)
brycecbrycec <3's OpenBSD source, very clean, very easy to read
Though in my opinion, my preferred style that I find even more readable puts curly braces on the next line, so they obviously line up with the closing curly brace
[07:09]
............. (idle for 1h3mn)
***tellnes has quit IRC (*.net *.split)
meingtsla has quit IRC (*.net *.split)
meingtsla has joined #arpnetworks
[08:12]
Guest15855 has quit IRC (Quit: WeeChat 1.0.1) [08:25]
...................... (idle for 1h46mn)
m0undskind of neat: https://share.sandia.gov/news/resources/news_releases/tamper_detection/#.VaTr1LAU_UM [10:11]
............... (idle for 1h13mn)
***tellnes has joined #arpnetworks [11:24]
.................... (idle for 1h35mn)
kellytkbrycec: I also put braces on their own line [12:59]
.................... (idle for 1h36mn)
***sorressean has quit IRC (Read error: Connection reset by peer)
sorressean has joined #arpnetworks
[14:35]
.... (idle for 18mn)
mercutioi put braces on new line for functions, not for normal code
so many variations are around
[14:54]
................................. (idle for 2h42mn)
grodyok USBIP rocks
makes things so much easier to add around the place w/o too much cabling
slowly adding USB ports around the place and decided to back the powered hubs into a data source too
devices plugged in anywhere could technically be attached to any computer on the network
(OS dependent ofc)
[17:36]
.............................. (idle for 2h27mn)
***m0unds has quit IRC (Quit: brb)
m0unds has joined #arpnetworks
[20:08]
m0undshttps://www.freebsd.org/security/advisories/FreeBSD-SA-15:13.tcp.asc in case anyone missed it [20:12]
.... (idle for 15mn)
mercutionetstat -nxp tcp | [20:27] <mercutio> awk '{ if (int($NF) > 100) print "tcpdrop " $4 " " $5 }'
running that in cron is the recommended solution
oh the source has been fixed too
i didn't even know there was a tcpdrop command in freebsd
oh it's in openbsd too
but not linux
[20:27]
m0undsyea
i did the binary update right after i received the notification
[20:34]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)