Hping3 vs. Nmap 15
An anonymous reader writes "ONLamp.com Security section has published an interesting interview with Salvatore Sanfilippo, the author of hping. Among other things, it talks about nmap, idle-scan, and low level network analisys with simple Tcl scripts."
Nice comment on Tcl (Score:3, Interesting)
> low-level things or speed.
I feel the same way about Ruby [ruby-lang.org]. It's just not worth the hassle of plowing thru 20 lines of try catch blocks in Java when I can do something like with Ruby. Good times!
Re:Nice comment on Tcl (Score:2)
Isn't it obvious? (Score:1, Offtopic)
A fascinating read (Score:4, Interesting)
Ok, maybe one other thought. TCL is a cool language - though it has a history of incompatiable changes, which I don't like, and it has never been as thread-friendly as other languages. It's not essential, for a networking problem, but it's very handy.
I've not used Ruby, but the example another poster gave was enough to convince me that it's a language worth learning. I like clean solutions to clean problems. I honestly think the maintainer for HPing3 might do well to support additional languages, including Ruby.
Actually, if HPing3 is going to be split into two products - the front interface and the libraries - then it should be possible to split off the API for the Tcl stuff, and provide plugs so that others could supply interfaces to other languages.
Re:A fascinating read (Score:2)
It handles threads just fine, and has for several years better than languages like Python.
Incompatible changes? Some of the C API has changed over time, but it's still possible to compile older extensions - and updating them usually is pretty easy. As far as the language itself, it hasn't changed that much and none of the changes that come to mind are backwards compatible.
Re:A fascinating read (Score:2)
Some things, though, I'm pretty sure on. Many multicasting tools use Tcl/Tk for the interface. NV uses the 3.x series, IIRC. University College of London (UCL)'s "MICE" program used a speciall
Re:A fascinating read (Score:2)
And you're correct - you use one interpreter per thread. This has some big upsides in terms of robustness and allowing the threads to actually work as they oug
Re:A fascinating read (Score:2)
While I'm not involved in the Scripting Wars, I think it's worth pointing out that TCL's stance on threading is motivated by the fact that its creator thinks that threads are a bad idea [pacbell.net].
why not Perl? (Score:3, Interesting)
(I'm not making any argument as to the relative merits of Perl or Tcl as languages--as languages, I would prefer something else anwyay. But Perl's extensive collection of libraries often makes it the path of least resistance.)
Re:why not Perl? (Score:3, Funny)
Eureka! (Score:2)
Wow! They have discovered the power of dynamic extension languages! Tomorrow they will want to write the whole thing in the extension language, and next thing you know they're building a Lisp machine!
Seriously, we need more of this.
Salvatore Sanfilipo (Score:2)