Package: etherpuppet
Version: 0.3-2
Severity: important

Terminates with error:

,----[ master (amd64) ]
| $ etherpuppet -m -s1234 -dddd
| MODE=2 iface=(null)
| Waiting for connection on port 1234...
| Protocol version ok. local=13370103 (1.3) remote=13370103 (1.3)
| I am 1.2.3.48:1234
| Peer is 1.2.3.232:56477
| Remote linktype is 1 (Ethernet)
| Allocated interface is [puppet0]
| Communication established!
| >Received a 1 command
| Configure request [8924] applied
| >Received a 26672 byte packet
| WARNING: truncated packet (26672 > 1600) .  This should not happen
| Protocol = 0000
| >Received a 24110 command
| ERROR: unknown command
`----

,----[ slave (mips) ]
| # etherpuppet -c1.2.3.48:1234 -ieth0 -dddd
| MODE=1 iface=eth0
| Connecting to 1.2.3.48:1234...
| I am 1.2.3.232:56477
| Peer is 1.2.3.48:1234
| BPF filters out 1.2.3.232:56477 <-> 1.2.3.48:1234
| Sending remote linktype: 1
| Communication established!
| <Sending 156 bytes:
| <Sending 84 bytes:
| <Sending 140 bytes:
| <Sending 84 bytes:
| <Sending 140 bytes:
| <Sending 84 bytes:
| <Sending 140 bytes:
| <Sending 84 bytes:
| <Sending 140 bytes:
| <Sending 84 bytes:
| <Sending 140 bytes:
| <Sending 84 bytes:
| <Sending 140 bytes:
| <Sending 84 bytes:
| <Sending 140 bytes:
| <Sending 84 bytes:
| <Sending 140 bytes:
| <Sending 84 bytes:
| <Sending 140 bytes:
| <Sending 84 bytes:
| >read length: Connection reset by peer
| Catched error
| Gracefull exit
`----

Skipping the debug level option may or may not make it useful.

Built from source, produces these warnings (which may or may not affect
functionality.

etherpuppet.c:180:6: warning: function declaration isn't a prototype 
[-Wstrict-prototypes]
etherpuppet.c:197:6: warning: function declaration isn't a prototype 
[-Wstrict-prototypes]
etherpuppet.c: In function 'sa_term':
etherpuppet.c:211:18: warning: unused parameter 'sig' [-Wunused-parameter]
etherpuppet.c:211:34: warning: unused parameter 'si' [-Wunused-parameter]
etherpuppet.c:211:44: warning: unused parameter 'ctx' [-Wunused-parameter]
etherpuppet.c: In function 'main':
etherpuppet.c:405:20: warning: declaration of 'ip' shadows a previous local 
[-Wshadow]
etherpuppet.c:230:15: warning: shadowed declaration is here [-Wshadow]
etherpuppet.c:406:11: warning: declaration of 'p' shadows a previous local 
[-Wshadow]
etherpuppet.c:230:11: warning: shadowed declaration is here [-Wshadow]
etherpuppet.c:435:20: warning: declaration of 'ip' shadows a previous local 
[-Wshadow]
etherpuppet.c:230:15: warning: shadowed declaration is here [-Wshadow]
etherpuppet.c:436:11: warning: declaration of 'p' shadows a previous local 
[-Wshadow]
etherpuppet.c:230:11: warning: shadowed declaration is here [-Wshadow]
etherpuppet.c:509:23: warning: comparison between signed and unsigned integer 
expressions [-Wsign-compare]
etherpuppet.c:536:12: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
etherpuppet.c:597:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
etherpuppet.c:577:23: warning: 'ifidx' may be used uninitialized in this 
function [-Wuninitialized]
etherpuppet.c:459:4: warning: 'manual_bpf_arg' may be used uninitialized in 
this function [-Wuninitialized]
etherpuppet.c:311:17: warning: 'PORT' may be used uninitialized in this 
function [-Wuninitialized]
etherpuppet.c:222:7: warning: variable 's' might be clobbered by 'longjmp' or 
'vfork' [-Wclobbered]
etherpuppet.c:232:8: warning: variable 'iface' might be clobbered by 'longjmp' 
or 'vfork' [-Wclobbered]
etherpuppet.c:240:6: warning: variable 'MASTER' might be clobbered by 'longjmp' 
or 'vfork' [-Wclobbered]
etherpuppet.c:240:18: warning: variable 'CONFIG' might be clobbered by 
'longjmp' or 'vfork' [-Wclobbered]
etherpuppet.c:241:23: warning: variable 'DEBUG' might be clobbered by 'longjmp' 
or 'vfork' [-Wclobbered]


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (99, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages etherpuppet depends on:
ii  libc6  2.13-27

etherpuppet recommends no packages.

etherpuppet suggests no packages.

-- no debconf information


Cheers,

-- 
Cristian



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to