mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #604] AC: Separate libpcap flags from main flags #275
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#275
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @magnumripper on GitHub (May 26, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/604
Current autoconf script will result in john being dynamically linked with pcap (if found), even though pcap is only used with vncpcap2john and SIPdump. This is not the end of the world but it would be nicer to enumerate a separate LDFLAGS_PCAP that are only used (added) for these two targets.
OTOH we could now (at least once we ditch support for the legacy Makefile) make vncpcap2john and SIPdump symlinks to john, like most other converters. Not that I like that much.
@jfoug commented on GitHub (May 26, 2014):
I thought I had mentioned the ln -s already. We did not b4 due to having no good way to tell at compile time. Now we do.
@magnumripper commented on GitHub (May 26, 2014):
We also have uaf2john, tgtsnarf, raw2dyna, mkvcalcproba, genmkvpwd, calc_stat and luks2john as candidates for symlinking (cprepair can't be, it changes unicode.c behavior through a -Dmacro). Although I really don't get why everything should be linked to john. I like separate little binaries.
@jfoug commented on GitHub (May 27, 2014):
Since WE know that pcap is only used for 2 ancillrary helper files ,we certainly could keep it away from jtr CFLAGS/LDFLAGS, and add it to those 2 helper targets.
As for stand alone, I much prefer that myself, but solar appears to be under the kitchen sink model, where there is one ginormous exe file, that uses is runtime name as a argument. I personally think it is a silly concept, since there ARE dynamic libs on almost all systems now. This was pre-dyna days, when having 3 20mb disks was all you had (and that was a big system). Some have maintained that mentality, even though it really does not make sense any more. It makes for a much fatter exe file, longer load times, and makes it harder to debug.
@magnumripper commented on GitHub (May 27, 2014):
So we could revert it a little, to just inlining the core tools unshadow, unafs & unique and have all Jumbo helpers separate binaries. After all, this is technically a fork of Jumbo. I think we should.
@magnumripper commented on GitHub (May 27, 2014):
Another benefit of that is that if a helper tool has build problems, you'd still end up with a perfectly working john. We just have to ensure the helpers are listed last.