News for hackers. Stuff that matters.

dronemallone

Re:Ross Anderson on Wednesday April 03, 2024 @12:47PM (#39919718)
Could you elaborate on the “tricks” you refer to? I feel it’ll be very useful.
n-gate.com is a nice change from hn.
Re:A bug story: data alignment in C on x86 (2016) on Tuesday September 04, 2018 @09:40PM (#17914458)
That's true, pretty easy to do once you look in the "net" or "inet" or "netinet" folders and then look for ipv4.
Re:A bug story: data alignment in C on x86 (2016) on Tuesday September 04, 2018 @09:39PM (#17914455)
Thanks. Not really, I just look at the IPv4 implementation, it's easily to search for csum or chksum or checksum in codebases.
Re:Traveling the World on a Third World Passport on Thursday August 16, 2018 @04:51PM (#17778304)
Not to mention standing in long queues OUTSIDE the consulate, sometimes for several hours.

https://www.thehindu.com/news/national/tamil-nadu/new-queue-...

Agreed. Those topics are very specific instances of general principles that are usually taught in a security course.

What did OP mean by "secure client/server architecture" though? What are the basic/fundamental principles behind it, that are NOT covered in cybersec education?

welcome to hacker news!
>> there are plenty of countries in the world

citation please? Do they take it down because you don't have a license to transmit in that spectrum band?

Re:Uber is officially a cab firm, says European court on Wednesday December 20, 2017 @04:51AM (#15968321)
By this logic, all stock traders should be considered employees of the stock exchange they use. Uber is just like a stock exchange - a match making service.

* Traders/riders on a transaction/ride pay the exchange/Uber for this service.

* Traders/riders are free to trade/ride as much they want to, at any hour of the day, provided there's enough liquidity in the market (surge pricing etc.)

* If a trader doesn't cut a profit on a trade, it's the trader's problem not the exchange's

* If an Uber driver doesn't drive enough to earn a living wage, it's the driver's problem not Uber's.

Re:Cybersecurity Humble Book Bundle on Monday July 17, 2017 @09:39PM (#14793741)
Security Engineering is free on the author's website :) http://www.cl.cam.ac.uk/~rja14/book.html
What's the guarantee that someone else didn't send the texts from her phone?
Re:Network Protocols on Thursday June 08, 2017 @11:48PM (#14519052)
BGP is a policy-based routing protocol, whereas OSPF/RIP are performance based. BGP is not "the" routing protocol, just that it's widely used because of its simplicity.

You should consider reading Kurose/Ross: http://eclass.uth.gr/eclass/modules/document/file.php/INFS13...

Re:Network Protocols on Thursday June 08, 2017 @11:41PM (#14519028)
This article is missing quite a few things that's of interest to programmers:

1. IPv4 fragmentation & reassembly

2. Centralized (Dijkstra/OSPF) vs. Distributed routing (distance vector/RIP) - stuff you see in Algorithms class

3. TCP mechanisms: congestion control mechanisms that the user can configure (Cubic/westwood/new reno), flow control, retransmission timer calculation (exponential weighted moving average)

4. explicit congestion notification and other add-ons, which can be enabled in the OS by the user

5. Active Queue Management and enabling QoS on your system: stochastic fair queueing for example

6. the recently introduced TCP Fast Open mechanism

7. TCP auto tuning: http://kb.pert.geant.net/PERTKB/TCPBufferAutoTuning

8. Ethernet physical layer: you've left out modulation, and only discussed encoding

9. Multicast and spanning tree protocols

That "facility" is the Curry-Howard correspondence!
Re:Rust 1.17 on Thursday April 27, 2017 @11:51PM (#14216756)
I did not mention compilers in my comment. Do you mean that if I use LLVM compile a C program then I get the same assurances as when I compile a Rust program?
Re:Rust 1.17 on Thursday April 27, 2017 @11:49PM (#14216751)
Let's say you are using LLVM to compile a Rust program, and an "equivalent" C program. You can compile both of them down to IR, and then enforce type safety at the IR level. Doesn't that ensure that you can prove properties about the program at compile time?
Re:Rust 1.17 on Thursday April 27, 2017 @11:44PM (#14216746)
You could use LLVM to compile any language to LLVM IR, and then to machine code using a backend. Does that mean every language has the same properties as Rust?

If Node/Java/Go use GC (or VMs), then aren't they more safe than Rust?

Re:Rust 1.17 on Thursday April 27, 2017 @11:36PM (#14216723)
So why does C, for example, lack Rust's memory safety semantics? Is it something to do with the design of the language itself? Can Rust predict user input, whereas C cannot?
Re:Rust 1.17 on Thursday April 27, 2017 @11:30PM (#14216695)
So isn't the memory model more to do with the compiler or operating system rather than the programming language? Do think it's possible to write a C compiler that checks for use after free, double free, buffer overflows, index out-of-bound issues, etc.?

Surely if one programming language can do it, another can?

Re:Rust 1.17 on Thursday April 27, 2017 @11:28PM (#14216687)
Could you please explain why and how the Rust compiler is better than compilers for other languages? After all, every language compiles down to machine code/assembly. So, the reason that one language is "better" than the other has to do with the fact that the compiler for one language is "better" than another.
Re:Rust 1.17 on Thursday April 27, 2017 @11:25PM (#14216680)
Is there a reason why all the above software cannot perform as "fast" or "safe" as Rust when written in other programming languages? After all, every program compiles down to machine code/assembly.
What do TCP/IP headers (SEQ/ACK/RecvWindow/src port/dst port/packet length/checksum/morefrags flag etc.) have to do with HTTP headers??????
Re:Erich Bloch, Who Helped Develop IBM Mainframe, Has Died on Saturday December 03, 2016 @11:05PM (#13098737)
fuck 2016.
Re:DDoS Letter to Chairman Wheeler on Friday October 28, 2016 @09:30PM (#12822127)
You can do it (by that I mean NOW) with DHCP-PD (prefix delegation). Router asks for a range of addresses from the ISP which it then assigns to the IoT devices on the inside.
Re:Dyn Statement on 10/21/2016 DDoS Attack on Sunday October 23, 2016 @03:18AM (#12772422)
Does anyone here know the actual technical details of the attack? How exactly did the DDoS occur? Just a ton of bots making DNS requests over UDP??

Links to articles with tech details would be greatly appreciated.

Re:The Best Way to Not Get Tenure on Sunday October 23, 2016 @02:51AM (#12772350)
it's such a letdown when one realizes that universities are not this ideal utopia where everyone's a straight talker, where there is zero politics, where the people care about research and not the money it brings etc.

Must have been depressing for this guy to realize that universities nowadays are just massive hedge funds that sponsor football programs that are bigger than computer science departments.

Re:The Best Way to Not Get Tenure on Sunday October 23, 2016 @02:17AM (#12772261)
multiple NSF grants and multiple papers in top conferences - his research IS good, innovative and interesting. Also, a majority of the external letter writers had positive things to say.
Re:What's new in CS Research? on Thursday October 13, 2016 @11:34PM (#12705977)
Something I've never understood: what's the deal with all these newfangled programming languages? Are they somehow better at being translated to assembly? Every program eventually becomes a bunch of instructions anyway...

Older »