
Marcus Rueckert wrote:
On 2015-05-20 13:04:23 +0200, Per Jessen wrote:
Yeah, we do too - it's more for logging and storage purposes (and then reusing those data). For instance, we would like to log addresses in one single format such that any subsequent processing does not need to work out if it's ipv4 or ipv6. vsftpd already does this, that's where I spotted this issue - failed logins are logged like this:
vsftpd[18638]: [testuser123] FAIL LOGIN: Client "::ffff:192.168.77.77" vsftpd[9695]: [admin_com] FAIL LOGIN: Client "2001:db8:bdfe::706f:bdfe"
wrong approach imho. dont try to force everything into that ugly mapped format.
What would you do instead? Always having to do "if ipv4 then else ipv6" quickly becomes tiresome, doesn't matter if it's bash, php or c-code. Anyway, with vsftpd I guess we have little choice :-) -- Per Jessen, Zürich (10.7°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org