summaryrefslogtreecommitdiff
path: root/src/libexec/peerip.c
Commit message (Collapse)AuthorAgeFilesLines
* ident.sh got a format string vuln fix.epochqwert2015-02-061-1/+2
| | | | | | | ident_service.sh will ident a service given its remote IP and port. (only run if ident is running on that remote computer) argc is just because I always forget what argc is for however many args. peereid is for unix sockets' ids peerip and sockip got the same upgrade. can now use the optional argv[1] to set the number of the file descriptor to use.
* all those .c changes were mostly fixes of warnings for the change in ↵Epoch Qwert2014-12-301-9/+3
| | | | | | | | rebuild.sh being changed to use -Wall. gethostbyname was almost completely rewritten to work better with ipv6 for gopherd.sh gopherd.sh was rewritten to use gethostbyname instead of dig and to cut out any link-local interface indicators from the output of hop0 and to ignore an error if ipA -> hostname -> ipB causes ipA to be not the same as ipB. Don't remember if there's anything else.
* added IPv6 support to hop0, peerip, and gopherd.shEpoch Qwert2014-12-241-4/+8
| | | | | gopherd.sh got lots of other updates too. speed is for measuring how many lines per second your pipes can do.
* ident.sh to make ident queries easier to use in scripts.Epoch Qwert2014-12-091-3/+7
| | | | | | | gopherd.sh changed to use new output of peerip. peerip changes to output peer's port on second line. httpd changed... I dunno what. AOEU and aoeu to help with playing with dvorak.
* fixed gopherd's LFI and added excuting files.Epoch Qwert2014-10-231-0/+13
httpd had flushing issues. realpath is new! does what it says. gives absolute path of a file. deddos, peerip, peerip.pl, were laying around elsewhere. gethostbyname got a new trick. can do decimal addresses among other things. hop0 is a shell script that gets what IP will be put on the source address of outgoing packets sent to $1. rtfs.