Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-02-18 | llmnr-query: Add option to send query over different interface | Tobias Klauser | 1 | -11/+44 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-18 | llmnrd: Fix usage | Tobias Klauser | 1 | -5/+5 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-18 | socket: Don't unnecessarily disable IP_MULTICAST_LOOP | Tobias Klauser | 1 | -6/+0 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-18 | llmnrd: Support daemonization | Tobias Klauser | 1 | -1/+5 | |
No logging to syslog or dropping of privileges etc yet. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-18 | socket: Use inet_pton instead of inet_addr | Tobias Klauser | 1 | -1/+1 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-18 | build: Check if called from git repo when generating GIT_VERSION | Tobias Klauser | 3 | -5/+10 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-18 | llmnrd, llmnr-query: Add git id to version output | Tobias Klauser | 3 | -5/+8 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-18 | llmnr-query: Support sending queries using IPv6 | Tobias Klauser | 1 | -13/+35 | |
Partially resolves #5 (IPv6 support) Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | all: Add version information | Tobias Klauser | 3 | -9/+37 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | llmnrd: Implement message compression for name | Tobias Klauser | 1 | -7/+8 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | llmnr-query: Skip length byte when getting previous name in compressed name ↵ | Tobias Klauser | 1 | -1/+1 | |
extraction Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | llmnrd: Rename main.c to llmnrd.c | Tobias Klauser | 2 | -2/+2 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | llmnr-query: Add simple LLMNR query program | Tobias Klauser | 4 | -12/+279 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | compiler: Protect against redefinition of offsetof() | Tobias Klauser | 1 | -4/+6 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | main: Add options to usage message | Tobias Klauser | 1 | -2/+9 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | Add .travis.yml | Tobias Klauser | 1 | -0/+6 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | Add .gitignore | Tobias Klauser | 1 | -0/+2 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | README: Add some more description and references | Tobias Klauser | 1 | -0/+16 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | README: Add author section | Tobias Klauser | 1 | -0/+5 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | README: Add section about cross-compilation | Tobias Klauser | 1 | -4/+18 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | build: Add and document install target | Tobias Klauser | 2 | -4/+34 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | README: Add some basic information | Tobias Klauser | 1 | -0/+14 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | all: Remove unnecessary log messages | Tobias Klauser | 2 | -45/+15 | |
These could be used to DoS llmnrd, just silently discard invalid packets. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-17 | llmnr: Report proper address type in response for qtype ANY | Tobias Klauser | 1 | -1/+4 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | llmnr: Remove some unnecessary log messages | Tobias Klauser | 1 | -5/+0 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | llmnr: Fix response packet byte order and name size | Tobias Klauser | 1 | -5/+5 | |
We need to return type, class, ttl and rdlength in network byte order. Also we need to pkt_put() 2 bytes in addition to the hostname length (length and NULL byte). Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | llmnr: Unindent llmnr_respond() | Tobias Klauser | 1 | -87/+89 | |
Exit out early if the query class is not LLMNR_QCLASS_IN. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | pkt: Add pkt_reset() | Tobias Klauser | 1 | -0/+7 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | pkt: Use macro to generate pkt_put_u{8,16,32} | Tobias Klauser | 1 | -9/+8 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | plt: Fix packet length check in pkt_put() | Tobias Klauser | 1 | -1/+1 | |
pkt_len() return the amount of bytes the packet currently holds. Together with the newly added bytes it mustn't exceed p->size. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | pkt: Initialize size member properly | Tobias Klauser | 1 | -0/+1 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | pkt: Implement growing of packet on pkt_put | Tobias Klauser | 2 | -9/+19 | |
Also get rid of the unnecessary head member of struct pkt. For now we only append data at the end of a packet. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | log: Add log_dbg() to facilitate debugging | Tobias Klauser | 2 | -0/+9 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-16 | all: Remove trailing whitespaces | Tobias Klauser | 3 | -7/+7 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-06 | pkt: Fix variable typo | Tobias Klauser | 1 | -1/+1 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-06 | pkt: Fix tail pointer initialization error | Tobias Klauser | 1 | -4/+1 | |
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> | |||||
2015-02-06 | Initial import, still work in progress | Tobias Klauser | 17 | -0/+1514 | |