5 ms·
capture packet's and see what kind of traffic it receives most commonly The modern solution would be to capture the incoming packets as a training set then app
by goatinaboat 7y ago
capture packet's and see what kind of traffic it receives most commonly
The modern solution would be to capture the incoming packets as a training set then apply machine learning to create a model that can perfectly recreate the outgoing packets.
It’s still an inexplicable black box of course, that is the nature of ML, but at least you can run it in the cloud now.
- exdsq 7y agoIs this seriously done? I just completed a small literature review for neural program synthesis which uses inputs as training data to generate a program using neural networks that can generate the right outputs but it's a huge search problem and I assume for anything non-trivial this is out of our reach? As an example, Deepmind achieved binary multiplication using this technique in 2018 and this was notable.
- goatinaboat 7y agoI’ve never done it but it should be feasible. An IP packet is 1518x8 == 12144 bits which is not especially big for a one-hot style encoding these days. You would just need to be sure to capture representative traffic e.g. accounting for monthly jobs.
- jerome-jh 7y agoIn my understanding, ML works by mapping a huge input space to a tiny output space, and most of the input space remains unexplored. In this case the input space is small and you want a quite dense mapping from input to output. I do not think ML applies.
- gdxhyrd 7y agoNo, ML works fine with large output spaces too. The problem is that the solution space grows super exponentially, and if you need to find an exact one, then the number of samples too.
- lonelappde 7y agoMost IO is larger than one packet.
- crusso 7y agoIs this seriously done? No. Not even close for any general purpose I/O.
- rusk 7y agoapply machine learning to create a model that can perfectly recreate the outgoing packets. This reminds me of Team America [1] ... or maybe idiocracy [2] :-p [1] https://www.youtube.com/watch?v=DIlG9aSMCpg https://www.youtube.com/watch?v=DIlG9aSMCpg [2] https://www.youtube.com/watch?v=kIZ9YuPm_Ls https://www.youtube.com/watch?v=kIZ9YuPm_Ls
- viraptor 7y agoThis is not a reasonable approach at this point. You'd need to know the whole state required for processing. That includes precise time, any local storage, any remote dependencies, randomness seeds, etc. Even then, we're not even close to full synthesis from examples. This is not a modern solution. This is made up, beyond toy examples.
- jerome-jh 7y agoYou end up in the same state you started from: running a blackbox.
- goatinaboat 7y agoTrue but now you are independent of the original hardware.
- quickthrower2 7y agoHa ha. If it’s that easy why developer software at all. Just run a NN on packers and you can create anything without coding!
- exdsq 7y agoThis problem is being worked on but it is by no means solved! This paper [0] is a pretty decent survey on the field and [1] is an excellent article on the topic at a high level, written by a team currently working in the space (synthesising smart contracts). [0] https://arxiv.org/pdf/1802.02353.pdf https://arxiv.org/pdf/1802.02353.pdf [1] https://medium.com/@vidiborskiy/software-writes-software-program-synthesis-101-294a9a35177 https://medium.com/@vidiborskiy/software-writes-software-pro...
- deleted 7y ago[deleted]
- martin_a 7y agoSorry that nobody else got it, but I like that joke. Do you think we can put some crypto in there, too?
- goatinaboat 7y agoDefinitely a use case for blockchain ;-) Too subtle for HN but I don’t mind.
- exdsq 7y agoAh apologies for not realising this was /s, I see people who genuinely advocate this sort of stuff on HN so it went way over my head!
- martin_a 7y agoThat's the scary part! You can't anymore see whether it's a joke or some cutting-edge consultant speech... ;-)
- martin_a 7y agoNice! Was looking for that on my bingo card. :-)
- hoorayimhelping 7y ago>Sorry that nobody else got it, but I like that joke. No, plenty of us got it. It's just not funny right now. A person is trying to find a real solution to a real problem they have. Every comment in this thread represents a potential hope that someone knows how to fix it. When someone comes in to a serious thread that is spitballing ideas and tries to make it about them by cracking jokes and being fun and clever, it's annoying. I know this because for about 8 years I was the guy trying to crack jokes in these threads. This is not the time to make some kind of point about the state of modern software engineering - do that in a thread where people are bullshitting, not trying to work a problem. It's not ever really funny. It's noise. It doesn't help anything. It's not too subtle, it's just obnoxious.
- dang 7y agoWe detached this subthread from https://news.ycombinator.com/item?id=22062790 https://news.ycombinator.com/item?id=22062790.