Summary: | net-analyzer/netcat-110-r8 listen mode doesn't work with multiple senders | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Clock <clock> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Clock
2005-12-01 04:31:54 UTC
wouldnt matter if you e-mailed upstream because there is no 'upstream' anymore ;) (In reply to comment #1) > wouldnt matter if you e-mailed upstream because there is no 'upstream' anymore ;) Welcome to the top 10 oldest untouched open bugs! Is there still a downstream? (In reply to comment #2) unless you have something useful to contribute, don't bother commenting this bug is in the original netcat: int dolisten (rad, rp, lad, lp) ... if (rad) /* xxx: fix to go down the *list* if we have one? */ if (memcmp (rad, whozis->iaddrs, sizeof (SA))) x = 1; actually i think this bug is invalid. the hostname you specify to the listen mode is the only one netcat accepts. it only checks one hostname -- if you specify any more, they're silently ignored. so your command: $ nc -l -u -p 1777 192.168.2.67 means listen on port 1777 in UDP mode, and only allow 192.168.2.67 to access. when you connect from 192.168.2.55, it rejects it. netcat doesn't support restricting to more than one address like: $ nc -l -u -p 1777 192.168.2.67 192.168.2.55 |